2013-09-13 00:34:09 +02:00
|
|
|
# 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
|
2013-12-03 21:20:11 +01:00
|
|
|
|
|
|
|
# To install a new package(s)
|
|
|
|
apt-get install package(s)
|