Project

General

Profile

Repositories » History » Version 1

Tijmen de Mes, 05/10/2012 04:59 PM

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