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