Difference between revisions of "Getting Started/Build/Distributions/openSUSE"

Jump to: navigation, search
m (Required Packages)
(Requirements)
 
(41 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Template:I18n/Language Navigation Bar|Getting_Started/Build/KDE4/openSUSE}}
+
 
 +
= Introduction =
 +
 
 +
openSUSE has a very strong and active KDE team with a lot of information on their own wiki:
 +
* [http://en.opensuse.org/Portal:KDE openSUSE KDE Portal]
 +
* [http://en.opensuse.org/KDE_repositories openSUSE KDE package repositories]
 +
* [http://en.opensuse.org/openSUSE:KDE_developers_guide openSUSE KDE Developers Guide] (Outdated)
 +
* [http://en.opensuse.org/KDE openSUSE wiki KDE page]
  
 
= Required Packages =
 
= Required Packages =
 +
Use the following command to install the needed packages:
 +
 +
<pre>
 +
zypper si -d kdelibs4
 +
</pre>
 +
 +
= Build =
 +
 +
This section describes how you can get kde to compile so that you can log in graphically (using kdm, the KDE display manager) and call konqueror (contained in KDEBASE, KDE's base package).
 +
 +
== kdesupport ==
 +
 +
You can install kdesupport and its dependencies from official repository
 +
 +
Install kdesupport from openSUSE:
 +
zypper install libqca2-devel libsoprano-devel libqimageblitz-devel strigi-devel
 +
 +
Please remember to skip any instructions from [[Getting_Started/Build]] that refer to kdesupport. Start to compile with kdelibs.
 +
 +
= Using openSUSE Unstable Repositories =
 +
 +
openSUSE, via its Build Service, provides a so-called unstable repository which contains weekly snapshots from KDE SVN trunk. These allow you to run a system install of unstable, but does not allow you to keep a stable system install while testing unstable in parallel.
 +
 +
== Requirements ==
 +
 +
You need a supported openSUSE version, that is, at the time of writing, openSUSE 12.3 or 13.1 or openSUSE Factory (the always-on-development branch of openSUSE).
 +
 +
== Installing packages from the unstable repository ==
 +
 +
Add the repository manually and perform an installation from the command line.
  
In openSUSE 10.2 and newer, you can install packages using [http://en.opensuse.org/Zypper Zypper]:
 
<code bash>
 
sudo zypper install <package-name>
 
</code>
 
  
In older releases of SUSE, you can use YaSt
+
=== Addition of the repository ===
su
+
yast -i <packagename>
+
  
The packages you will need to install are:
+
Add the repository. To do so, enter as root
<code>
+
alsa-devel
+
automoc4
+
avahi-devel
+
patch (needed to build qt-copy)
+
cups-devel
+
kde4-filesystem
+
libbz2-devel
+
avahi-compat-mDNSResponder-devel
+
hal-devel
+
xorg-x11-devel
+
libQtWebKit-devel
+
libxml2-devel
+
kdesdk3
+
clucene-core-devel
+
boost-devel
+
libjpeg-devel
+
liblrdf-devel
+
libpng-devel
+
libxslt-devel
+
libredland-devel
+
Mesa-devel
+
giflib-devel
+
subversion
+
gcc
+
gcc-c++
+
gmp-devel (needed to build kdesupport)
+
xine-devel
+
libgpgme-devel (needed to build kdepimlibs)
+
pcre-devel
+
</code>
+
  
= Optional Packages =
+
zypper ar -f http://download.opensuse.org/repositories/KDE:/Unstable:/SC/YOUR_openSUSE_VERSION/ [ALIAS]
  
You can skip the manual and painful installation kdesupport and its dependencies ( Qt 4.3, CMake 2.4.6, DBus, Hal, clucene-core, Strigi,
+
where YOUR_openSUSE_VERSION is either openSUSE_12.3 or openSUSE_Factory depending on what you are running. And ALIAS is whatever name you want to assign to the repository.
Soprano and other Nepomuk dependencies) by adding the KDE:KDE4 repository from
+
the [http://download.opensuse.org/repositories/KDE:/KDE4/ openSUSE Build Service] to your installation sources.  
+
  
For openSUSE 10.2 and newer add this Repository to your Install Source (Yast)
+
After that upgrade the packages to the unstable version:
<code>
+
http://download.opensuse.org/repositories/KDE:/KDE4:/STABLE:/Desktop/openSUSE_10.2/
+
</code>
+
  
For older versions of SUSE Linux do:
+
zypper dup --from [ALIAS]
<code>
+
su
+
installation_sources -a http://software.opensuse.org/download/KDE:/KDE4:/[YOUR SUSE LINUX VERSION]
+
</code>
+
  
= Build it =
+
=== Post-installation steps ===
== cmake ==
+
Now install cmake, in this example 2.6.2:
+
cd
+
wget http://www.cmake.org/files/v2.6/cmake-2.6.2.tar.gz
+
tar xvzf cmake-2.6.2.tar.gz
+
cd cmake-2.6.2
+
./bootstrap
+
make && make install
+
  
== distro packages ==
+
You may want to add some additional repositories to have compatible non KDE SC packages available.
Now install the following packages:
+
<code>
+
dbus-1-devel
+
libqt4-devel
+
libqca2-devel
+
libsoprano-devel
+
libqimageblitz-devel
+
strigi
+
strigi-devel
+
</code>
+
  
CMake binary packages for openSUSE are available from the KDE:KDE4 repository as well as from the [http://software.opensuse.org/download/devel:/tools:/building/ openSUSE build service].
+
zypper ar -f http://download.opensuse.org/repositories/KDE:/Extra/YOUR_openSUSE_VERSION/_KDE_Unstable_SC/ [ALIAS]
  
There are a lot more packages that are needed to satisfy the config-check, such as libusb-devel, bison etc., so look out for the config notifications and install accordingly. Please remember to skip any instructions that refer to kdesupport below. Start to compile with kdelibs.
+
followed by the installation the packages you need:
  
 +
zypper install [package]
  
Return to [[Getting_Started/Build/KDE4#kdelibs|building KDE 4]].
+
Return to [[Getting_Started/Build|Building KDE]].

Latest revision as of 03:20, 11 November 2013

Contents

[edit] Introduction

openSUSE has a very strong and active KDE team with a lot of information on their own wiki:

[edit] Required Packages

Use the following command to install the needed packages:

zypper si -d kdelibs4

[edit] Build

This section describes how you can get kde to compile so that you can log in graphically (using kdm, the KDE display manager) and call konqueror (contained in KDEBASE, KDE's base package).

[edit] kdesupport

You can install kdesupport and its dependencies from official repository

Install kdesupport from openSUSE:

zypper install libqca2-devel libsoprano-devel libqimageblitz-devel strigi-devel

Please remember to skip any instructions from Getting_Started/Build that refer to kdesupport. Start to compile with kdelibs.

[edit] Using openSUSE Unstable Repositories

openSUSE, via its Build Service, provides a so-called unstable repository which contains weekly snapshots from KDE SVN trunk. These allow you to run a system install of unstable, but does not allow you to keep a stable system install while testing unstable in parallel.

[edit] Requirements

You need a supported openSUSE version, that is, at the time of writing, openSUSE 12.3 or 13.1 or openSUSE Factory (the always-on-development branch of openSUSE).

[edit] Installing packages from the unstable repository

Add the repository manually and perform an installation from the command line.


[edit] Addition of the repository

Add the repository. To do so, enter as root

zypper ar -f http://download.opensuse.org/repositories/KDE:/Unstable:/SC/YOUR_openSUSE_VERSION/ [ALIAS]

where YOUR_openSUSE_VERSION is either openSUSE_12.3 or openSUSE_Factory depending on what you are running. And ALIAS is whatever name you want to assign to the repository.

After that upgrade the packages to the unstable version:

zypper dup --from [ALIAS]

[edit] Post-installation steps

You may want to add some additional repositories to have compatible non KDE SC packages available.

zypper ar -f http://download.opensuse.org/repositories/KDE:/Extra/YOUR_openSUSE_VERSION/_KDE_Unstable_SC/ [ALIAS]

followed by the installation the packages you need:

zypper install [package]

Return to Building KDE.


This page was last modified on 11 November 2013, at 03:20. This page has been accessed 20,391 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