Apturl: Install Apps from Firefox - Ubuntu tip

Apturl is a protocol that's included in Ubuntu 7.10 and 8.04 by default. But if it's not installed for some reason, you'll have to open up a terminal window at least one more time and type "sudo apt-get install apturl" (without the quotes). From now on you can install any application you like from the Firefox web browser just by typing "apt:package_name" into the location bar. For example, if you want to install the AbiWord word processor, you'd type "apt:abiword" and a window will pop up asking if you'd like to install the application.
Apturl also lets users create links on web pages that will let visitors automatically download and install applications. Just create a hyperlink to "apt:abiword," or any other package, add the link to your page, and when you tell visitors about cool new Ubuntu software they might want to try out, they can install it without leaving your web site.
There's no risk of downloading malicious software, because Apturl will only install applications that are available in the repositories you've enabled for your computer. That means a team of Linux developers has looked over every single application that you could possibly download this way, unless you add an untrusted repository. So if you happen across a web site that tells you to add a repository with a name like "deb http://dangerous.software.com/risky main" before clicking on links to install applications, you might want to be careful. Otherwise, you should be safe.
[via Linux Hack3r and Digg]












Comments
3
Subscribe to commentsMarkApr 7th 2008 11:37AM
That's silly, why is it easier to open a web browser and type that into the address bar as opposed to typing apt get into a terminal window?
CurtisApr 7th 2008 1:33PM
Or you could just use the GUI tools to install software. Honestly, not so many people these days type anything at the command-line and I think DLSquad does a huge dis-service by perpetuating the myth...
The whole "oh, you need to type sudo apt-get install apturl" is a lie, how about just telling your readers "start your package manager and install apturl"?
@Mark, I can see the value in being able to form a URL for installation so people just clicking a link will get the software to install so that is a nice feature.
RicoApr 12th 2008 12:02AM
Thanks for the tip. I'm a new Ubuntu user and it certainly helped me.