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