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