How to: Install Ubuntu packages with HTML link

Apturl allows you to install Ubuntu packages from a website using the following syntax: apt:packagename (where packagename is the name of the package you wish to install

For example, I wanted to install a new pixel ruler (link courtesy of Borntwisted) called KRuler. If I was to install this directly from my web browser I would need to write the link in my HTML like so:

  1. <a href=”apt:kruler”>Click here to install Kruler</a>

This would then give me the following link:

  1. Click here to install Kruler

If you click the link (providing you are using Ubuntu as your Operating System) you will get the follwoing:

screenshot-apturl.png

Once you click ok, and type in your admin password you will get the download screen as it downloads the package ready for installation

screenshot-downloading-package-files.png

And then the obligatory install screen will be shown:

screenshot-applying-changes.png

This is a perfect tool for bloggers, how to’ers and manual writers writing for Ubuntu installs etc. I know I will be using it in all my future blogs and how to’s in the future.

Go ahead, give it a shot

2 thoughts on “How to: Install Ubuntu packages with HTML link”

  1. Hello would you mind letting me know which webhost you’re working with?
    I’ve loaded your blog in 3 different browsers and I must say this blog loads a lot quicker then most.
    Can you suggest a good internet hosting provider at a honest price?
    Many thanks, I appreciate it!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>