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