From a519ea163ee9a3b22ef9d7c1cd66248cbb5ebbe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20P=C3=B6ck?= Date: Mon, 2 Nov 2015 14:28:30 +0100 Subject: [PATCH 1/2] 20151102 - Adding a cheatsheet for at (apt vs apt-get) --- cheat/cheatsheets/apt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 cheat/cheatsheets/apt diff --git a/cheat/cheatsheets/apt b/cheat/cheatsheets/apt new file mode 100644 index 0000000..adab055 --- /dev/null +++ b/cheat/cheatsheets/apt @@ -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) \ No newline at end of file From 22eb1f2df48d4a149bed758a44e043aa103065aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20P=C3=B6ck?= Date: Mon, 2 Nov 2015 14:51:37 +0100 Subject: [PATCH 2/2] 20151102 - Added 3 more cheats into the new apt cheatsheet --- cheat/cheatsheets/apt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/cheat/cheatsheets/apt b/cheat/cheatsheets/apt index adab055..fa0df27 100644 --- a/cheat/cheatsheets/apt +++ b/cheat/cheatsheets/apt @@ -1,5 +1,11 @@ # 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 @@ -13,4 +19,7 @@ apt dist-upgrade apt update && apt dist-upgrade # To install a new package(s): -apt install package(s) \ No newline at end of file +apt install package(s) + +# To uninstall package(s) +apt remove package(s)