Raspberry Pi A User Manual page 76

Hide thumbs Also See for Raspberry Pi A:
Table of Contents

Advertisement

60
P A R T I
C O N N E C T I N G T H E B O A R D
it affects all users of the Raspberry Pi. As a result, the commands will need to be prefaced
with
to tell the operating system that it should be run as the root user.
sudo
For example, to install the package
(a console-based randomly generated
nethack-console
role-playing game), you would simply use the
command with
as follows:
install
apt-get
sudo apt-get install nethack-console
Some packages rely on other packages in order to operate. A programming language may
depend on a compiler, a game engine on graphics files, or an audio player on codecs for play-
ing back different formats. These are known in Linux terms as dependencies.
Dependencies are one of the biggest reasons for using a package manager like
rather
apt
than installing software manually. If a package depends on other packages,
will auto-
apt
matically find them (see Figure 3-8) and prepare them for installation. If this happens, you'll
be shown a prompt asking whether you want to continue. If you do, type the letter Y and
press the Enter key.
Figure 3-8:
Apt
listing the
dependencies
for the
OpenOffice.org
package

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Raspberry Pi Raspberry Pi A

This manual is also suitable for:

Raspberry pi b

Table of Contents