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