APT is the package manager used to install, remove, and update packages on Debian and Ubuntu operating systems. This guide is prepared to explain the usage of APT.
Installing a package:
Package installation with APT package manager is done using sudo apt install command.
Example usage: sudo apt install steam
Updating repositories:
Updating repositories with APT package manager is done using sudo apt update command.
Updating packages:
Updating all packages with APT package manager is done using sudo apt upgrade command.
Searching for packages:
Searching for a package name with APT package manager is done using sudo apt search command.
Example usage: sudo apt search steam
Package information:
Getting information about a specific package with APT package manager is done using sudo apt show command.
Example usage: sudo apt show steam
Removing a package:
Removing packages with APT package manager is done using sudo apt remove command.
Example usage: sudo apt remove steam
To remove a package along with its dependencies, the command sudo apt purge is used.
Example usage: sudo apt purge steam
Cleaning up residuals:
Unused and cached packages can be removed with APT package manager using sudo apt autoremove command.
I hope this guide will be helpful for new users. Have a good evening.
Installing a package:
Package installation with APT package manager is done using sudo apt install command.
Example usage: sudo apt install steam
Updating repositories:
Updating repositories with APT package manager is done using sudo apt update command.
Updating packages:
Updating all packages with APT package manager is done using sudo apt upgrade command.
Searching for packages:
Searching for a package name with APT package manager is done using sudo apt search command.
Example usage: sudo apt search steam
Package information:
Getting information about a specific package with APT package manager is done using sudo apt show command.
Example usage: sudo apt show steam
Removing a package:
Removing packages with APT package manager is done using sudo apt remove command.
Example usage: sudo apt remove steam
To remove a package along with its dependencies, the command sudo apt purge is used.
Example usage: sudo apt purge steam
Cleaning up residuals:
Unused and cached packages can be removed with APT package manager using sudo apt autoremove command.
I hope this guide will be helpful for new users. Have a good evening.