apt
apt is a command-line tool for working with debian package manager. It stands for Advanced Packaging Tool(APT).
Working with APT examples
Install new package
$ apt install nvim
Remove package
$ apt remove nvim
Adding the --purge
option to apt remove
will also removes the package configuration
files.
Update the local package index
$ apt update
Upgrade all packages in system
$ apt update
$ apt upgrade
Check apt cache size
$ du -sh /var/cache/apt/archives/partial
Clean apt cache except blocking file
$ apt-get clean
Clean apt cache, but it will remove only those packages, which can't be loaded from repositories.
$ apt-get autoclean