mirror of
https://github.com/Erreur32/cheat.git
synced 2025-01-12 07:42:03 +01:00
20151102 - Adding a cheatsheet for at (apt vs apt-get)
This commit is contained in:
parent
6a2eda80d4
commit
a519ea163e
1 changed files with 16 additions and 0 deletions
16
cheat/cheatsheets/apt
Normal file
16
cheat/cheatsheets/apt
Normal file
|
@ -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 a new issue