Back to Home

Apturl in Ubuntu: one-click program installation

ubuntu · apt

Apturl in Ubuntu: one-click program installation

Original author: Matt
  • Transfer
Imagine once again you are reading an overview of Ubuntu programs. One of the programs attracted your attention, and there was a desire to install and try it. And instead of opening a package manager or terminal, you simply click on the link. A window appears asking if you want to install this program, and after that - asking for a password. It took less time to install than you would have spent just searching for a program in the package manager list! Now, with Apturl, it's all possible.

First you need to install Apturl. To do this, simply type in the terminal: After Apturl is installed, you need to restart the browser. Now, to test Apturl, you need a link to install, right? As an example, here is a link to install the “Gnome-Main-Menu” program: install Gnome-Main-Menu .
sudo apt-get install apturl



Hope it works! And before everyone starts talking about the “insecurity” of Apturl, I’ll say this. Apturl just tells apt-get which program to install. So the “attacker blogger” cannot install the “malicious” program, because it is not in the apt-get repositories of your system. Apturl only works with programs from your repositories. If apt-get cannot install the program, then Apturl cannot! You can also not execute arbitrary commands with Apturl, so do not worry that someone will format your disk.

But what if you want to use this system on your site? It is very simple. For example, for the above link to the Gnome-Main-Menu installation, I just created a hyperlink pointing to

apt:gnome-main-menu

This translation is also published on ubuntu-blog.ru

Read Next