mirror of https://github.com/cheat/cheat.git
20151102 - Adding a cheatsheet for at (apt vs apt-get)
This commit is contained in:
parent
6a2eda80d4
commit
a519ea163e
|
@ -0,0 +1,16 @@
|
||||||
|
# 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)
|
Loading…
Reference in New Issue