Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "Add software to Raspberry pi"

From eLinux.org
Jump to: navigation, search
(Created page with "To add software to a linux machine you can download source files of code, compile them and install the software. You can also access binary files (exe files on MS Windows are bin...")
 
(Update Software install page)
Line 1: Line 1:
 +
--[[User:Brian|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.
 
To add software to a linux machine you can download source files of code, compile them and install the software.
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.
+
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.
To compile software for a pi, you must compile the software 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.  
+
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.
 
Luckily there is an alternative to compiling your own software.
  
Software on most linux platforms is maintained via a "repository".
+
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"

Revision as of 21:34, 22 April 2012

--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"