Add software to Raspberry pi

From eLinux.org
Revision as of 21:34, 22 April 2012 by Brian (Talk | contribs)

Jump to: navigation, search


--Brian 21:34, 22 April 2012 (UTC)

To add software to a linux machine you can download source files of code, compile them and install the software. Compiling software can be complex due to the fact that often, software has "dependencies" such as Library software that is called to provide support to a package. If the dependencies are missing, the software will not compile.

You can also access binary files (exe files on MS Windows are binaries). These files have been compiled by someone else for users to install. Binary files still have dependencies. (In Windows these dependencies are often missing DLL (Dynamic Linked Library) files.

To use software on a pi, you must have the software compiled for the particular processor that a pi has. This is an Arm processor. A lot of binary software people download from the Internet is for Intel processors, not Arm ones. Software is often "Architecture dependent". The Architecture being the various components making up the computer and the way they are connected together.

Luckily there is an alternative to compiling your own software.

Software on most Linux platforms is maintained via a "repository". This is a library of programs that have been compiled by people who undertake to maintain a package for the community of people who look after the particular version of Linux. Often these are volunteers. Package maintainers ensure that the dependencies are taken care of as well.

To browse, install or uninstall the software, you use a "Package Manager". The default RPi comes with a package manager called "apt"