Hardware Reference
In-Depth Information
Change into the newly expanded directory by typing the following in a terminal:
cd simplejson-3.3.7
On Linux, most software that is supplied as source code shares a similar installation process
of extract, build and install. Many Python modules follow this same pattern. Because a mali-
cious user could insert a module that would cause harm, you need to use sudo to provide
enough access privileges to install the module. Type the following to install the package:
python setup.py build
sudo python setup.py install
After the module has installed, return to the parent directory by typing the following:
cd ..
httplib2
Follow the same procedure to install the httplib2 package from http://code.google.
com/p/httplib2. In a terminal, type the following:
wget http://httplib2.googlecode.com/files/httplib2-0.8.tar.gz
tar xvf httplib2-0.8.tar.gz
cd httplib2-0.8
python setup.py build
sudo python setup.py install
cd ..
python-oauth2
python-oauth2 is hosted on GitHub at http://github.com/simplegeo/python-
oauth2 , so you obtain it through git rather than wget . In a terminal, type the following:
git clone “http://github.com/simplegeo/python-oauth2
cd python-oauth2
python setup.py build
sudo python setup.py install
cd ..
Search WWH ::




Custom Search