Difference between revisions of "Linux installing updates"
From rdkwiki
m |
|||
Line 8: | Line 8: | ||
== Install package-updates on ubuntu 16.04 == | == Install package-updates on ubuntu 16.04 == | ||
* '''sudo apt-get update''' --> update the package-lists with latest information | * '''sudo apt-get update''' --> update the package-lists with latest information | ||
− | * '''sudo apt-get upgrade''' --> install | + | * '''sudo apt-get upgrade''' --> install packages without adding or removing packages |
− | * '''sudo apt-get dist-upgrade''' --> install | + | * '''sudo apt-get dist-upgrade''' --> install packages and adds or removes neccessary packages |
Revision as of 18:14, 30 October 2016
Intro
The steps below describe how to install the latest package-updates.
Install package-updates on CentOS 7
- sudo yum update all --> install all available updates
- sudo yum clean all --> clean up files
Install package-updates on ubuntu 16.04
- sudo apt-get update --> update the package-lists with latest information
- sudo apt-get upgrade --> install packages without adding or removing packages
- sudo apt-get dist-upgrade --> install packages and adds or removes neccessary packages