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