DVAP Pi Hotspot

Updating Wheezy Raspbian

This will update the operating system with the latest security updates and software patches.  Wheezy Raspbian is a Debian operating system so the apt package manager is used.

01_apt-get_update

Connect via SSH to the Pi.

Update the repository archives by entering

sudo apt-get -y update

sudo: runs the package manager as the superuser to avoid any permission issues.
apt-get: is the name of the Debian package manager executable.
-y: with this option, apt-get automatically assumes the default answer to any apt-get prompts.
update: tells the package manager to download the list of available packages from the repositories.  It does not update any software or packages.

02_apt-get_upgrade

Once complete, update the installed packages by entering

sudo apt-get -y upgrade

sudo: runs the package manager as the superuser to avoid any permission issues.
apt-get: is the name of the Debian package manager executable.
-y: with this option, apt-get automatically assumes the default answer to any apt-get prompts.
upgrade: downloads and installs any updates to packages the manger knows about by way of the repository lists downloaded earlier.

This may take some time depending on the updates that need to be applied.

03_apt-get_install_vim

I’m installing my favorite editor vim (Vi IMproved).

sudo apt-get -y install vim

sudo: runs the package manager as the superuser to avoid any permission issues.
apt-get: is the name of the Debian package manager executable.
-y: with this option, apt-get automatically assumes the default answer to any apt-get prompts.
install: downloads and installs the package if it is not already.
vim: the name of the package(s) to be installed.

04_apt-get_reboot

It’s a good idea to reboot after upgrading.

sudo reboot

A broadcast message will be displayed stating the system is rebooting.