Project

General

Profile

Repositories » History » Version 8

Adrian Georgescu, 12/16/2013 04:34 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
h3. Ubuntu Precise
15 2 Adrian Georgescu
16 1 Tijmen de Mes
<pre>
17
deb	http://ag-projects.com/ubuntu precise main 
18
deb-src http://ag-projects.com/ubuntu precise main
19
</pre>
20
21
h3. Ubuntu Quantal
22
23
<pre>
24 2 Adrian Georgescu
deb	http://ag-projects.com/ubuntu quantal main 
25
deb-src http://ag-projects.com/ubuntu quantal main
26
</pre>
27
28 7 Saúl Ibarra Corretgé
h3. Ubuntu Raring
29 3 Adrian Georgescu
30
<pre>
31 7 Saúl Ibarra Corretgé
deb	http://ag-projects.com/ubuntu raring main 
32
deb-src http://ag-projects.com/ubuntu raring main
33
</pre>
34
35 8 Adrian Georgescu
h3. Ubuntu Saucy
36
37
<pre>
38
deb	http://ag-projects.com/ubuntu saucy main 
39
deb-src http://ag-projects.com/ubuntu saucy main
40
</pre>
41
42
43 7 Saúl Ibarra Corretgé
h3. Debian Stable (wheezy)
44
45
<pre>
46 1 Tijmen de Mes
deb	http://ag-projects.com/debian stable main 
47
deb-src http://ag-projects.com/debian stable main
48
</pre>
49
50
h3. Debian Unstable
51
52
<pre>
53
deb	http://ag-projects.com/debian unstable main 
54
deb-src http://ag-projects.com/debian unstable main
55
</pre>
56
57
To install or upgrade a software package:
58
59
<pre>
60
sudo apt-get update 
61
sudo apt-get install package_name
62
</pre>
63
64
Replace @package_name@ with the name of the software package.
65
66
h2. Tar Archives
67
68
Some packages are available as tar archives:
69
70
http://download.ag-projects.com/
71
72
h2. Version Control Repositories
73
74
The source code is managed using darcs version control tool. The darcs repository can be fetched with:
75
76
<pre>
77 6 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/PACKAGE_NAME
78 1 Tijmen de Mes
</pre>
79
80 6 Adrian Georgescu
Replace @PACKAGE_NAME@ with the name of the software package.
81 1 Tijmen de Mes
82
To obtain the incremental changes after the initial get run:
83
84
<pre>
85
darcs pull -a
86
</pre>
87
88
h2. Manual Installation
89
90
All python software packages can be installed system-wide using:
91
92
<pre>
93
sudo python setup.py install
94
</pre>
95
96
h2. Debian Package Building
97
98
Some of the packages are ready to be packaged for Debian like distributions by using this procedure:
99
100
Create under each repository a clean distribution file:
101
<pre>
102
python setup.py sdist
103
</pre>
104
105
Go to the ./dist directory and untar the file created at the step above.
106
107
Go to the newly created directory and type:
108
109
<pre>
110 7 Saúl Ibarra Corretgé
debuild -us -uc
111 1 Tijmen de Mes
</pre>
112
113
The .deb and related files are built in the upper directory.