mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 10:45:05 +01:00
Add apt-get
This commit is contained in:
parent
2c86db1aac
commit
385ac4d484
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 New Issue
Block a user