Apt Installation On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian
Install apt
-
Debian
apt-get install apt
Click to copy -
Ubuntu
apt-get install apt
Click to copy -
Arch Linux
pacman -S apt
Click to copy -
Kali Linux
apt-get install apt
Click to copy -
CentOS
yum install apt
Click to copy -
Fedora
dnf install apt
Click to copy -
Raspbian
apt-get install apt
Click to copy
Package management utility for Debian based distributions.
How to use apt?
Below are few example commands for apt that you can use in the terminal.
Update the list of available packages and versions (it's recommended to run this before other `apt` commands):sudo apt update
Click to copySearch for a given package:apt search package
Click to copyShow information for a package:apt show package
Click to copyInstall a package, or update it to the latest available version:sudo apt install package
Click to copyRemove a package (using `purge` instead also removes its configuration files):sudo apt remove package
Click to copyUpgrade all installed packages to their newest available versions:sudo apt upgrade
Click to copy
To install the latest version of apt in your favorite operating system just copy the apt installation command from above and paste it into terminal. It will download and install the latest version of apt 2024 package in your OS.