Howtos - Hack on Linux » History » Version 4
Greg Burri, 04/18/2011 06:13 PM
1 | 1 | Greg Burri | h1. Howtos - Hack on Linux |
---|---|---|---|
2 | |||
3 | h2. ArchLinux |
||
4 | |||
5 | You need to : |
||
6 | |||
7 | # Install required programs |
||
8 | ## Git : pacman -S git |
||
9 | ## protobuf : pacman -S protobuf |
||
10 | ## Qt creator : pacman -S qtcreator |
||
11 | # Git clone the repository |
||
12 | 2 | Greg Burri | ## _git://dev.d-lan.net/d-lan.git_ if you just want clone the repository. |
13 | ## _ssh://git@dev.d-lan.net/d-lan.git_ if you have a full access (read+write). |
||
14 | 1 | Greg Burri | |
15 | h2. Ubuntu |
||
16 | |||
17 | # Add @ppa:kubuntu-ppa/backports@ to Software Sources |
||
18 | 4 | Greg Burri | # Get required tools<pre>sudo apt-get install g++ git qt4-qmake qt4-dev-tools qtcreator |
19 | 3 | Greg Burri | sudo apt-get update |
20 | sudo apt-get upgrade |
||
21 | sudo apt-get dist-upgrade # to force the use of latests Qt libs |
||
22 | 1 | Greg Burri | cd /tmp |
23 | wget http://protobuf.googlecode.com/files/protobuf-2.3.0.tar.bz2 |
||
24 | tar -jxvf ./protobuf-2.3.0.tar.bz2 |
||
25 | cd protobuf-2.3.0 |
||
26 | ./configure --prefix=/usr |
||
27 | make |
||
28 | make check |
||
29 | sudo make install |
||
30 | </pre> |
||
31 | # Get source code<pre> |
||
32 | 2 | Greg Burri | git clone git://dev.d-lan.net/d-lan.git d-lan |
33 | cd d-lan/application |
||
34 | 1 | Greg Burri | ./0.regen_all.sh |
35 | </pre> |