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