Hardware Reference
In-Depth Information
Figure 2-5:
Apt
listing the
dependencies
for the
OpenOice.org
package
Uninstalling Software
If you decide you no longer want a piece of software,
apt-get
also includes a
remove
com-
mand that cleanly uninstalls the package along with any dependencies which are no longer
required. When you're using a smaller SD card with the Pi, the ability to try out software and
quickly remove it is extremely useful.
To remove
thrust
, simply open the terminal and type the following command:
sudo apt-get remove thrust
he
remove
command has a more powerful brother in the form of the
purge
command. Like
remove
, the
purge
command gets rid of software you no longer require. Where
remove
leaves the software's coniguration iles intact, however,
purge
removes everything. If you've
got yourself into a mess customising a particular package and it no longer works,
purge
is the
command to use. For example, to purge
thrust
, you would just type this:
sudo apt-get purge thrust