Saturday, December 29, 2012

Software Installation

So we have our RasPi up and running but we need to do a few housekeeping tasks first and install some of the software we need to make everything work.

First of all lets make sure all our software is up to date

Make sure you are logged in and connected to the network. From the command prompt enter the following two commands
sudo apt-get update
sudo apt-get upgrade

The first line update your package repository so it knows about the latest versions of all the packages, the second will the upgrade the packages you have installed.

Now lets secure the system and change the default password.
passwd
Then enter you existing password 'raspberry' and then enter a new password, twice. That's now changed the password for the pi logon

Now lets install the software we need
sudo apt-get install gpsd gpsd-clients
sudo apt-get install python-pygame 
 Next lets check our GPS is working. Take a look at the previous post on setting up GPSD 

You don't need to re-do the install bit again but might need to kill gpsd and restart it to get cgps to work.

Now if we want to shut everything down to power it off
sudo shutdown -h now
Unplug the power from the USB hub and we are shutdown cleanly.

or if we want to down a re-boot
sudo shutdown -r now

No comments:

Post a Comment