From 385ac4d4847d6aaf1efa6ea01b358cc11195decd Mon Sep 17 00:00:00 2001 From: ImmortalPC Date: Fri, 13 Sep 2013 00:34:09 +0200 Subject: [PATCH] Add apt-get --- cheatsheets/apt-get | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 cheatsheets/apt-get diff --git a/cheatsheets/apt-get b/cheatsheets/apt-get new file mode 100644 index 0000000..0f4bcd6 --- /dev/null +++ b/cheatsheets/apt-get @@ -0,0 +1,13 @@ +# Desc: Allows to update the operating system + +# To fetch package list +apt-get update + +# To download and install updates without installing new package. +apt-get update + +# To download and install the updates AND install new necessary packages +apt-get dist-upgrade + +# Full command: +apt-get update && apt-get dist-upgrade