2015-11-02 14:51:37 +01:00
|
|
|
# To search a package:
|
|
|
|
apt search package
|
|
|
|
|
|
|
|
# To show package informations:
|
|
|
|
apt show package
|
|
|
|
|
2015-11-02 14:28:30 +01:00
|
|
|
# To fetch package list:
|
|
|
|
apt update
|
|
|
|
|
|
|
|
# To download and install updates without installing new package:
|
|
|
|
apt upgrade
|
|
|
|
|
|
|
|
# To download and install the updates AND install new necessary packages:
|
|
|
|
apt dist-upgrade
|
|
|
|
|
|
|
|
# Full command:
|
|
|
|
apt update && apt dist-upgrade
|
|
|
|
|
|
|
|
# To install a new package(s):
|
2015-11-02 14:51:37 +01:00
|
|
|
apt install package(s)
|
|
|
|
|
|
|
|
# To uninstall package(s)
|
|
|
|
apt remove package(s)
|