Using Apturl to Easily Install Gramps on Ubuntu

Hey folks. There are certainly a lot of things that can be done to improve Gramps and the Gramps website, but I’ve been seeing this slick new way of telling Ubuntu to install a program via a hyperlink in a website and I wanted to introduce it to you. This goes a long way to making the installation of software on Linux very simple.

The little script or application that makes this possible is called ‘apturl’. All it does is instruct the visitor’s local version of apt-get to install a specific package. From a security standpoint this initially sounds pretty dangerous, but the user still has to provide their system password to confirm the installation. So it’s no different than providing a downloadable install script that eventually asks for the same credentials before installing the software.

Here’s how to construct the hyperlink:

<a href="apt://gramps" title="Click to Install Gramps">Install Gramps Now</a>

Here is an example: Install Gramps Now

Of course, the only reason this looks like a ‘button’ is because of the CSS on this site, but you get the idea. I think it would be great to employ links like this on our ‘Downloads’ page whether it be on the WP site or the Wiki site. Ubuntu is a very popular distro, especially for folks new to Linux, so I think it is reasonable to offer a special feature that only applies to one Linux distribution.

What do you all think?

2 Comments

  • Bernard

    From the security standpoint, that’s the best thing to do. The apt link installs the package from the ubuntu’s (or any other apt distro) repositorys; however the installed package won’t be the most recent one – it will be the one which was packaged for the distro’s release.

  • Bill Bradley

    I have run GRAMPS and created the NAVWEB file system. However, I did not create a backup. Now I need to reinstall GRAMPS and use the file system I previously created. How do I do that?

Join the Conversation!