Project

General

Profile

Repositories » History » Version 29

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