I followed the instructions from the book, titled Installing Arduino in Raspian. BIG FAIL. The word electronics did not show up. I have the latest download of Wheezy. Would appreciate some help on this. Thanks Jimmy
I followed the instructions from the book, titled Installing Arduino in Raspian. BIG FAIL. The word electronics did not show up. I have the latest download of Wheezy. Would appreciate some help on this. Thanks Jimmy
OK Jimmy, here is a more detailed version on how to use vi to add the site to sources.list
1) Start up the vi editor (make sure you have made a backup copy first as I described previously):
sudo vi /etc/apt/sources.list
2) Type i to put vi in the insert mode
3) Type in the line I gave you from the previous post. If you make a typing mistake the Backspace key can
be used to delete the previous characture(s).
4) After you have completed entering in the line make sure you press the Enter/Return key to seperate the line
you just entered from the line that was already in the file.
5) Exit the insert mode by pressing the Esc key
6) To write the file back to disk and exit the vi editor type in :wq (the : tells vi that you are about to enter a
command, wq tells it to write the file and quit.
If you run into trouble with vi and can't figure out how to fix it press the Esc key once or twice then press :q!
This will exit the vi editor without writing the file to disk so you can start over. In the worst case you can always
replace the file you have modified with the backup by typing:
sudo cp /etc/apt/sources.list.bak /etc/apt/sources.list
OK Jimmy, here is a more detailed version on how to use vi to add the site to sources.list
1) Start up the vi editor (make sure you have made a backup copy first as I described previously):
sudo vi /etc/apt/sources.list
2) Type i to put vi in the insert mode
3) Type in the line I gave you from the previous post. If you make a typing mistake the Backspace key can
be used to delete the previous characture(s).
4) After you have completed entering in the line make sure you press the Enter/Return key to seperate the line
you just entered from the line that was already in the file.
5) Exit the insert mode by pressing the Esc key
6) To write the file back to disk and exit the vi editor type in :wq (the : tells vi that you are about to enter a
command, wq tells it to write the file and quit.
If you run into trouble with vi and can't figure out how to fix it press the Esc key once or twice then press :q!
This will exit the vi editor without writing the file to disk so you can start over. In the worst case you can always
replace the file you have modified with the backup by typing:
sudo cp /etc/apt/sources.list.bak /etc/apt/sources.list