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