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