Rekonq/Compiling rekonq: Difference between revisions

From KDE Community Wiki
mNo edit summary
mNo edit summary
Line 4: Line 4:


== On Ubuntu  ==
== On Ubuntu  ==
<pre>sudo apt-get install build-essential kdelibs4-devel git-core
<pre>sudo apt-get install build-essential kdelibs4-devel git-core build-essential
</pre>
</pre>
== On openSUSE  ==
== On openSUSE  ==
<pre>sudo zypper in libkde4-devel git-core
 
 
<pre>sudo zypper in libkde4-devel git-core gcc gcc-c++ make cmake
</pre>
</pre>


== Fetching the code  ==
== Fetching the code  ==

Revision as of 10:29, 13 October 2009

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

First of all we need to install the devel packages,run the following in a terminal

On Ubuntu

sudo apt-get install build-essential kdelibs4-devel git-core build-essential

On openSUSE

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


Fetching the code

Now we need to checkout the latest code,we will be using git,as the most recent code is available on git.The gitorious page for rekonq can be found here.The code can also be downloaded here.

In a terminal run

git clone git://gitorious.org/rekonq/mainline.git

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