Project

General

Profile

Repositories » History » Version 10

Saúl Ibarra Corretgé, 01/26/2015 06:27 PM

1 1 Tijmen de Mes
h1. AG Projects - Software Repositories
2
3 5 Adrian Georgescu
h2. Debian and Ubuntu Linux
4 1 Tijmen de Mes
5
Install AG Projects software signing key:
6
7
<pre>
8
wget http://download.ag-projects.com/agp-debian-gpg.key 
9
sudo apt-key add agp-debian-gpg.key
10
</pre>
11
12
Add the following lines to /etc/apt/sources.list
13
14 9 Saúl Ibarra Corretgé
h3. Ubuntu Trusty
15 2 Adrian Georgescu
16 8 Adrian Georgescu
<pre>
17 9 Saúl Ibarra Corretgé
deb	http://ag-projects.com/ubuntu trusty main 
18
deb-src http://ag-projects.com/ubuntu trusty main
19 8 Adrian Georgescu
</pre>
20
21 10 Saúl Ibarra Corretgé
h3. Ubuntu Utopic
22
23
<pre>
24
deb	http://ag-projects.com/ubuntu utopic main 
25
deb-src http://ag-projects.com/ubuntu utopic main
26
</pre>
27 8 Adrian Georgescu
28 7 Saúl Ibarra Corretgé
h3. Debian Stable (wheezy)
29
30
<pre>
31 1 Tijmen de Mes
deb	http://ag-projects.com/debian stable main 
32
deb-src http://ag-projects.com/debian stable main
33
</pre>
34
35
h3. Debian Unstable
36
37
<pre>
38
deb	http://ag-projects.com/debian unstable main 
39
deb-src http://ag-projects.com/debian unstable main
40
</pre>
41
42
To install or upgrade a software package:
43
44
<pre>
45
sudo apt-get update 
46
sudo apt-get install package_name
47
</pre>
48
49
Replace @package_name@ with the name of the software package.
50
51
h2. Tar Archives
52
53
Some packages are available as tar archives:
54
55
http://download.ag-projects.com/
56
57
h2. Version Control Repositories
58
59
The source code is managed using darcs version control tool. The darcs repository can be fetched with:
60
61
<pre>
62 6 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/PACKAGE_NAME
63 1 Tijmen de Mes
</pre>
64
65 6 Adrian Georgescu
Replace @PACKAGE_NAME@ with the name of the software package.
66 1 Tijmen de Mes
67
To obtain the incremental changes after the initial get run:
68
69
<pre>
70
darcs pull -a
71
</pre>
72
73
h2. Manual Installation
74
75
All python software packages can be installed system-wide using:
76
77
<pre>
78
sudo python setup.py install
79
</pre>
80
81
h2. Debian Package Building
82
83
Some of the packages are ready to be packaged for Debian like distributions by using this procedure:
84
85
Create under each repository a clean distribution file:
86
<pre>
87
python setup.py sdist
88
</pre>
89
90
Go to the ./dist directory and untar the file created at the step above.
91
92
Go to the newly created directory and type:
93
94
<pre>
95 7 Saúl Ibarra Corretgé
debuild -us -uc
96 1 Tijmen de Mes
</pre>
97
98
The .deb and related files are built in the upper directory.