Hardware Reference
In-Depth Information
Don't forget that Linux is case sensitive, so the Apt-get command
won't work but apt-get will!
Linux is an inherently secure operating system. Most of the commands in this
chapter require administrator permissions. It is really easy to see whether you
need root permissions. If they are required, you will see the following:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you
root?
To run a command as the system administrator, simply add it to the beginning of
any command that you need to run:
sudo
Depending on whether you have set a password or not, you may be asked to enter
your password. Running apt-get is really simple just type apt-get and press Enter :
apt-get
The apt-get command will respond with a heap of information about the different
options that are available. The options that we are interested in are:
apt-get update
apt-get install
apt-get remove
apt-get update
The first thing that we want to do is ensure that Raspbian knows what the latest
versions of software are. The apt-get update command automatically connects
to the Raspbian repository and downloads the latest list of packages.
It is recommended that before installing any software, you run the apt-get update
command if you haven't done so recently.
 
Search WWH ::




Custom Search