mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-13 07:31:16 +01:00
23 lines
452 B
Text
23 lines
452 B
Text
# To search a package:
|
|
apt search package
|
|
|
|
# To show package informations:
|
|
apt show package
|
|
|
|
# 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):
|
|
apt install package(s)
|
|
|
|
# To uninstall package(s)
|
|
apt remove package(s)
|