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