How To Install Apt-get On Debian, Ubuntu, Kali, Fedora And Raspbian?

How To Install Apt-get On Debian, Ubuntu, Kali, Fedora And Raspbian?

apt-get

Debian and Ubuntu package management utility.
Search for packages using `apt-cache`.

Maintainer: APT Development Team


Section: admin

Install apt-get

  • Debian apt-get install apt Click to copy
  • Ubuntu apt-get install apt Click to copy
  • Kali Linux apt-get install apt Click to copy
  • Fedora dnf install apt Click to copy
  • Raspbian apt-get install apt Click to copy

Debian and Ubuntu package management utility. Search for packages using `apt-cache`.

How to use apt-get?

Below are few example commands for apt-get that you can use in the terminal.

Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands):
apt-get updateClick to copy
Install a package, or update it to the latest available version:
apt-get install packageClick to copy
Remove a package:
apt-get remove packageClick to copy
Upgrade all installed packages to their newest available versions:
apt-get upgradeClick to copy
Remove all packages that are no longer needed:
apt-get autoremoveClick to copy
Upgrade installed packages (like `upgrade`), but remove obsolete packages and install additional packages to meet new dependencies:
apt-get dist-upgradeClick to copy
To install the latest version of apt-get in your favorite operating system just copy the apt-get installation command from above and paste it into terminal. It will download and install the latest version of apt-get 2026 package in your OS.