Programs installation on Linux

THIS PAGE IS UNDER DEVELOPMENT

It is always more convenient to install new programs through the native Package Management as the Package Manager will handle the location, updates, paths and launchers.

It exist different package management tools depending on the Linux distribution: From graphic or text-based interfaces to the low level tools used to install packages.

Package Management Programs on Debian

According to [https://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html] (https://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html):

dpkg uses examples

APT uses examples

Where to install programs manually?

FHS

Note that according to Filesystem Hierarchy Standart) [http://www.pathname.com/fhs/] (http://www.pathname.com/fhs/)

The Root Filesystem

Directory Description
bin Essential command binaries
boot Static files of the boot loader
dev Device files
etc Host-specific system configuration
lib Essential shared libraries and kernel modules
media Mount point for removeable media
mnt Mount point for mounting a filesystem temporarily
opt Add-on application software packages
sbin Essential system binaries
srv Data for services provided by this system
tmp Temporary files
usr Secondary hierarchy
var Variable data

As an example, a FHS-compliant system could be:

shareable unshareable
/usr /etc
/opt /boot
/var/mail /var/run
/var/spool/news /var/lock

To install a new package: TODO!!