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