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