CATEGORIES

TAGS

SSL

PostgreSQL

cPanel

email

Error

WHM

Linux

Bash

Debian

Ubuntu

How to install “packages” in Linux system (gdebi, apt, yum, apt, pkg)

21st February
Linux
How to install “packages” in Linux system (gdebi, apt, yum, apt, pkg)

In modern UNIX-mod systems to install some software or to upgrade them it is used “package managers” for example in Debian and Ubuntu systems the package manager is “apt” in CentOS “yum” and for Fedora it is “dnf”. Package managers works with certain type of packages. That “package files” are usual archives which includes compiled binaries, some other resources making up the software, and installation scripts.

In this table you can see what extensions have the “package files” in each operating system, package formats and tools:

OS format tools
Debian .deb apt, apt-cache, apt-get, dpkg
Ubuntu .deb apt, apt-cache, apt-get, dpkg
CentOS .rpm yum
Fedora .rpm dnf


Your package managers too need to be updated and upgraded. In the next tables are the commands to update and upgrade the package managers.

Updateing:


System Command
Debian sudo apt-get update
Ubuntu sudo apt update
CentOS yum check-update
Fedora dnf check-update


Upgradeing:


System Command
Debian / Ubuntu sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt upgrade
sudo apt full-upgrade
CentOS sudo yum update
Fedora sudo dnf upgrade



SUBSCRIBE by email and never miss a post!