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