Package Management
Modern Linux distributions primarly use a Software Manager, a centralized system, automating installing, updating, configuring and uninstalling software.
The package manager stores the program's executable, libraries and configuration into a single archive, called a package.
Two prevelant format standards are
.deb
(for Debian distros) and.rpm
(for RedHat distros).On desktop invironments there is a GUI package management system.
Programs depend on third party libraries. Those dependencies are handled by the package manager automatically.
Debian
There are many package management tools, but two of them are primarly used.
dpkg
dpkg
- low level tool
apt
apt
- commandline package manager. It provides commands for searching, managing, querying information about packages.
Red Hat
rpm
rpm
- low level tool
yum
yum
- packaging system used by RedHat distros
Manual Installing
Some software do not have a package for the used distribution. The alternative is to download the source code of the programs and compile it.
First thing, install the tools necessary to build the software:
Install
git
manually (git download page):
checkinstall
Instead of
sudo make install
,checkinstall
tool can be used.It keeps track of all files installed by a "make install", creates rpm/deb package with those files and adds it to the installed packages database.
Last updated