mirror of
https://github.com/Erreur32/cheat.git
synced 2025-01-08 22:02:00 +01:00
Add apt-get
This commit is contained in:
parent
2c86db1aac
commit
385ac4d484
1 changed files with 13 additions and 0 deletions
13
cheatsheets/apt-get
Normal file
13
cheatsheets/apt-get
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Desc: Allows to update the operating system
|
||||
|
||||
# To fetch package list
|
||||
apt-get update
|
||||
|
||||
# To download and install updates without installing new package.
|
||||
apt-get update
|
||||
|
||||
# To download and install the updates AND install new necessary packages
|
||||
apt-get dist-upgrade
|
||||
|
||||
# Full command:
|
||||
apt-get update && apt-get dist-upgrade
|
Loading…
Reference in a new issue