mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
20151102 - Adding a cheatsheet for at (apt vs apt-get)
This commit is contained in:
parent
6a2eda80d4
commit
a519ea163e
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 New Issue
Block a user