mirror of https://github.com/cheat/cheat.git
Merge branch 'master' of https://github.com/yafp/cheat into yafp-master
* 'master' of https://github.com/yafp/cheat: 20151102 - Added 3 more cheats into the new apt cheatsheet 20151102 - Adding a cheatsheet for at (apt vs apt-get)
This commit is contained in:
commit
248f5a0526
|
@ -0,0 +1,25 @@
|
|||
# Desc: Allows to update the operating system
|
||||
|
||||
# To search a package:
|
||||
apt search package
|
||||
|
||||
# To show package informations:
|
||||
apt show package
|
||||
|
||||
# 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)
|
||||
|
||||
# To uninstall package(s)
|
||||
apt remove package(s)
|
Loading…
Reference in New Issue