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