How to create a hyperlink to install programs via APT the Linux package manager ?

ยท 199 words ยท 1 minute read

This is a really elegant way to link to program packages to be installed on Ubuntu directly from software center. It works on all Linux distributions that use APT as their package manager such as Debian, Ubuntu, Linux Mint, Elementary OS, and Kali Linux.

The normal hyper link in HTML is

<a href='https://abanoubhanna.com'>the tech blog</a>

So the “click to install” link is

<a href='apt:audacity'>Install Audacity for Ubuntu</a>

Just write apt:package-name so you can click it to install the package-name directly from Ubuntu software center. It is a GREAT way to simplify installation on Ubuntu Linux distro and its flavors and derivatives.

If you hava a website that talks people into using Linux, use this way of linking to applications to simplify installing apps on Linux for beginners.

I hope you enjoyed reading this post as much as I enjoyed writing it. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , and GitHub .

Share: