Project

General

Profile

Repositories » History » Version 26

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