apt

Apt Installation On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian

Apt Installation On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian

apt

Package management utility for Debian based distributions.

Maintainer: APT Development Team


Section: admin

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 updateClick to copy
Search for a given package:
apt search packageClick to copy
Show information for a package:
apt show packageClick to copy
Install a package, or update it to the latest available version:
sudo apt install packageClick to copy
Remove a package (using `purge` instead also removes its configuration files):
sudo apt remove packageClick to copy
Upgrade all installed packages to their newest available versions:
sudo apt upgradeClick 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 2023 package in your OS.