https://elinux.org/index.php?title=RPi_Install_software&feed=atom&action=historyRPi Install software - Revision history2024-03-29T06:59:34ZRevision history for this page on the wikiMediaWiki 1.31.0https://elinux.org/index.php?title=RPi_Install_software&diff=164504&oldid=prevBredman: Added sudo apt-get update2012-08-27T13:04:56Z<p>Added sudo apt-get update</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 13:04, 27 August 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l39" >Line 39:</td>
<td colspan="2" class="diff-lineno">Line 39:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If you get an error message instead, or a report of 100% packet loss, you have a problem with your internet connection. You must ask somebody to help fix this problem before you can proceed.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If you get an error message instead, or a report of 100% packet loss, you have a problem with your internet connection. You must ask somebody to help fix this problem before you can proceed.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Enter the following command and press enter at the end.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> '''sudo apt-get update'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">This command will fetch the latest software lists. The command may take a couple of minutes to complete, you can ignore any warnings that you see.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Enter the following command and press enter at the end.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Enter the following command and press enter at the end.</div></td></tr>
<!-- diff cache key elinux:diff::1.12:old-134096:rev-164504 -->
</table>Bredmanhttps://elinux.org/index.php?title=RPi_Install_software&diff=134096&oldid=prevBredman: New page2012-05-29T10:11:06Z<p>New page</p>
<p><b>New page</b></p><div>[[Category:RaspberryPi]]<br />
Back to [[RPi Guides]].<br />
<br />
<br />
'''Installing a software package on a Raspberry Pi'''<br />
<br />
=What does it do?=<br />
<br />
This guide shows you how to install a software package on a Raspberry Pi.<br />
<br />
These instructions will show you how to install software from the command line. This is a very important skill if you wish to progress further with Linux.<br />
<br />
=What do you need?=<br />
<br />
*A Raspberry Pi, model B.<br />
*A Debian SD card for the Raspberry Pi, size should be 2GB or larger.<br />
*A network connection (Ethernet or WiFi).<br />
<br />
=What skill level is required?=<br />
<br />
Suitable for absolute beginners. No Linux knowledge is needed.<br />
<br />
It is assumed that you have used a computer before, for example a Windows PC.<br />
<br />
=Installing the software=<br />
Unplug the power cable from the Raspberry Pi.<br />
<br />
Insert a Debian SD card in the Raspberry Pi.<br />
<br />
Connect the Ethernet cable from your Raspberry Pi to a modem or other internet service. You may also use a WiFi device, but you may need help to get this working.<br />
<br />
Connect the power cable. Log in with your username and password.<br />
<br />
To check if your internet connection is working, enter the following command and press enter at the end.<br />
'''ping -c 1 www.raspberrypi.org'''<br />
<br />
If your internet connection is working, you should see a statistics report which contains the following<br />
'''1 packets transmitted, 1 received, 0% packet loss'''<br />
<br />
If you get an error message instead, or a report of 100% packet loss, you have a problem with your internet connection. You must ask somebody to help fix this problem before you can proceed.<br />
<br />
Enter the following command and press enter at the end.<br />
'''sudo apt-get install xxxx'''<br />
where xxxx is the name of the software package that you wish to install.<br />
<br />
For example, to install the software package chromium-browser, you should use the command<br />
'''sudo apt-get install chromium-browser'''<br />
<br />
You may be asked for your password. Enter your password and press enter. Note that you will not be able to see your password.<br />
<br />
[[File:RPiInstallChromium1.jpg]]<br />
<br />
You may be asked for permission (yes/no) to install new software.<br />
<br />
[[File:RPiInstallChromium2.jpg]]<br />
<br />
Press the 'y' key and enter to continue.<br />
<br />
Wait for the installation to complete.<br />
<br />
[[File:RPiInstallChromium3.jpg]]<br />
<br />
The software installation is now finished.<br />
<br />
=Removing the software=<br />
''Use these instructions if you wish to remove a software package.''<br />
<br />
Follow the instructions above to install the software, but use this command instead.<br />
'''sudo apt-get remove xxxx'''<br />
where xxxx is the name of the software package that you wish to remove.</div>Bredman