mirror of
https://github.com/cheat/cheat.git
synced 2024-11-29 17:26:53 +01:00
24 lines
452 B
Plaintext
24 lines
452 B
Plaintext
# 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)
|