Upgrading Software - Raspberry Pi User Manual

Hide thumbs Also See for Raspberry Pi:
Table of Contents

Advertisement

44

Upgrading Software

In addition to installing and uninstalling packages,
Upgrading a package through
and security patches .
Before trying to upgrade a package, make sure the
ning an update:
sudo apt-get update
When upgrading software, you have two choices: you can upgrade everything on the system
at once or upgrade individual programs . If you just want to keep your distribution updated,
the former is achieved by typing the following:
sudo apt-get upgrade
To upgrade an individual package, simply tell
thrust
sudo apt-get install thrust
If the package is already installed,
running the latest version available,
and exit .
For more information on package management with apt—in particular, how certain packages
TIP
can be "kept back" and excluded from upgrades—type man apt at the terminal.
R A S P B E R R Y P I
apt
upgrade, you would type this:
U S E R G U I D E 
can be used to keep them up to date .
apt
ensures that you've received the latest updates, bug fixes
cache is as fresh as possible by run-
apt
to install it again . For example, to install a
apt
will treat it as an in-place upgrade . If you're already
apt
will simply tell you it cannot upgrade the software
apt

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents