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