Hardware Reference
In-Depth Information
2.
Now you need to download the application that you want to install. In this
example, we will use the Apache2 web server. You can download Apache2
from http://apache.mirror.serversaustralia.com.au//httpd/
httpd-2.4.10.tar.bz2 .
3.
You can download the source code using a web browser. Another easy
way to download the code is to use the wget application. It automatically
downloads a file and stores it in your Raspberry Pi:
wget http://apache.mirror.serversaustralia.com.au//httpd/
httpd-2.4.10.tar.bz2
Once you source code has been downloaded on your Raspberry Pi, you need
to extract the software from the archive. An archive is just a file that contains
many other files that have been shrunk to make them easier to distribute.
4.
To extract a .tar.bz2 archive such as the Apache2 application, run the
following command:
tarxvfhttpd-2.4.10.tar.gz
The exact command will vary depending on the software that you are trying
to install, but will generally be very similar to the command you just used.
These commands will unpack all the files in the Apache2 archive and put them into
a folder that contains the entire Apache2 source.
Almost all software packages that you download contain a file inside them,
called README.md . This file generally contains instructions that you need to follow
to install and build the software.
Here is the normal process you need to follow to build a software package:
./configure
make
make install
These commands perform lot of processes. Let's start with ./configure . The ./
configure command is a script that generates the MakeFile file used by make to
compile the software. This MakeFile file is customized to suit your Raspberry Pi.
It will also let you know whether there are any other dependencies that you need
to install to be able to build the software.
 
Search WWH ::




Custom Search