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