mirror of https://github.com/cheat/cheat.git
16 lines
356 B
Plaintext
16 lines
356 B
Plaintext
|
# Desc: Allows to update the operating system
|
||
|
|
||
|
# 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)
|