Project

General

Profile

Repositories » History » Version 28

Adrian Georgescu, 12/03/2019 02:24 PM

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