Difference between revisions of "Projects/rekonq/Compiling rekonq"

Jump to: navigation, search
(Created page with 'Here's a guide to compiling rekonq from the Git repository')
 
(Introduction)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Here's a guide to compiling rekonq from the Git repository
+
= Introduction =
 +
 
 +
Here's a guide to compiling rekonq from the Git repository.
 +
 
 +
NOTE : rekonq 0.5 and above requires KDE 4.4.0 and above for compiling correctly.
 +
 
 +
First of all we need to install the devel packages. Run the following command in a terminal:
 +
 
 +
== On Ubuntu  ==
 +
<pre>sudo apt-get install build-essential kdelibs5-dev git-core
 +
</pre>
 +
== On openSUSE  ==
 +
<pre>sudo zypper in libkde4-devel git-core gcc gcc-c++ make cmake
 +
</pre>
 +
== On Fedora ==
 +
as superuser,
 +
 
 +
<pre>yum install kdelibs-devel git gcc-c++ make cmake
 +
</pre>
 +
 
 +
== Fetching the code  ==
 +
 
 +
We will be using git, as the most recent code is available on the git repository. The kde project page for rekonq can be found [http://projects.kde.org/projects/extragear/network/rekonq here]. Stable releases can also be downloaded [http://sourceforge.net/projects/rekonq/files/ here] in form of tarballs.
 +
 
 +
Now we need to checkout the latest code. To do so, in a terminal run:
 +
<pre>git clone git://anongit.kde.org/rekonq</pre>
 +
 
 +
== Compiling the code  ==
 +
 
 +
Ok so now we have the code and the devel packages, all we need to do is compile it with the following commands in a terminal:
 +
<pre>cd directory_where_rekonq_source_code_is
 +
mkdir build
 +
cd build
 +
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
 +
make
 +
sudo make install</pre>

Latest revision as of 18:06, 10 June 2011

Contents

[edit] Introduction

Here's a guide to compiling rekonq from the Git repository.

NOTE : rekonq 0.5 and above requires KDE 4.4.0 and above for compiling correctly.

First of all we need to install the devel packages. Run the following command in a terminal:

[edit] On Ubuntu

sudo apt-get install build-essential kdelibs5-dev git-core

[edit] On openSUSE

sudo zypper in libkde4-devel git-core gcc gcc-c++ make cmake

[edit] On Fedora

as superuser,

yum install kdelibs-devel git gcc-c++ make cmake

[edit] Fetching the code

We will be using git, as the most recent code is available on the git repository. The kde project page for rekonq can be found here. Stable releases can also be downloaded here in form of tarballs.

Now we need to checkout the latest code. To do so, in a terminal run:

git clone git://anongit.kde.org/rekonq

[edit] Compiling the code

Ok so now we have the code and the devel packages, all we need to do is compile it with the following commands in a terminal:

cd directory_where_rekonq_source_code_is
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
sudo make install

This page was last modified on 10 June 2011, at 18:06. This page has been accessed 5,259 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal