The upgrade command can be used to keep your Raspberry Pi and its software packages up to date. During this process you will be informed of what packages it is modifying. Enter the following command to upgrade.
$ sudo apt-get upgrade
You will be presented with a list of packages that it will upgrade.
239 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 407 MB of archives.
After this operation, 18.3 MB disk space will be freed.
Do you want to continue [Y/n]?
Enter Y to continue.
Depending on when the Raspberry Pi was last updated it may take some time. If you only want to upgrade a specific page enter the following command.
$ sudo apt-get install vsftp –only-upgrade
The –only-upgrade flag indicates that the package will be upgraded.
Previously you removed a package using apt-get remove ThePackageName. This will leave the config files in place in case you ever need to install it again. To completely remove the packages and configuration files enter the following.
$ sudo apt-get purge wget
It’s always nice to clean house and keep things tidy. The clean command is used to free up any disk space by cleaning up any left-over debris from the packages that have been installed. Enter
$ sudo apt-get clean
Apt-get clean does not return any results. It just does its job of cleaning.
Next Raspberry Pi Services – Week 5 Day 4.0 >>