« Previous -
Version 10/30
(diff) -
Next » -
Current version
Saúl Ibarra Corretgé, 01/26/2015 06:27 pm
AG Projects - Software Repositories¶
Debian and Ubuntu Linux¶
Install AG Projects software signing key:
wget http://download.ag-projects.com/agp-debian-gpg.key sudo apt-key add agp-debian-gpg.key
Add the following lines to /etc/apt/sources.list
Ubuntu Trusty¶
deb http://ag-projects.com/ubuntu trusty main deb-src http://ag-projects.com/ubuntu trusty main
Ubuntu Utopic¶
deb http://ag-projects.com/ubuntu utopic main deb-src http://ag-projects.com/ubuntu utopic main
Debian Stable (wheezy)¶
deb http://ag-projects.com/debian stable main deb-src http://ag-projects.com/debian stable main
Debian Unstable¶
deb http://ag-projects.com/debian unstable main deb-src http://ag-projects.com/debian unstable main
To install or upgrade a software package:
sudo apt-get update sudo apt-get install package_name
Replace package_name
with the name of the software package.
Tar Archives¶
Some packages are available as tar archives:
http://download.ag-projects.com/
Version Control Repositories¶
The source code is managed using darcs version control tool. The darcs repository can be fetched with:
darcs get http://devel.ag-projects.com/repositories/PACKAGE_NAME
Replace PACKAGE_NAME
with the name of the software package.
To obtain the incremental changes after the initial get run:
darcs pull -a
Manual Installation¶
All python software packages can be installed system-wide using:
sudo python setup.py install
Debian Package Building¶
Some of the packages are ready to be packaged for Debian like distributions by using this procedure:
Create under each repository a clean distribution file:
python setup.py sdist
Go to the ./dist directory and untar the file created at the step above.
Go to the newly created directory and type:
debuild -us -uc
The .deb and related files are built in the upper directory.