Project

General

Profile

Repositories » History » Version 2

Adrian Georgescu, 09/07/2012 10:42 AM

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