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

Jump to: navigation, search
(Creating distro specific installation pages.)
 
(Requirements)
 
(55 intermediate revisions by 13 users not shown)
Line 1: Line 1:
  
In openSUSE 10.2 and newer, you can install packages using [http://en.opensuse.org/Zypper Zypper]:
+
= Introduction =
<code bash>
+
sudo zypper install <package-name>
+
</code>
+
  
In older releases of SUSE, you can use YaST:
+
openSUSE has a very strong and active KDE team with a lot of information on their own wiki:
<code bash>
+
* [http://en.opensuse.org/Portal:KDE openSUSE KDE Portal]
su
+
* [http://en.opensuse.org/KDE_repositories openSUSE KDE package repositories]
yast -i <packagename>
+
* [http://en.opensuse.org/openSUSE:KDE_developers_guide openSUSE KDE Developers Guide] (Outdated)
</code>
+
* [http://en.opensuse.org/KDE openSUSE wiki KDE page]
  
'''Required Packages'''
+
= Required Packages =
 +
Use the following command to install the needed packages:
  
The packages you will need to install are:
+
<pre>
<code>
+
zypper si -d kdelibs4
xorg-x11-devel
+
</pre>
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)
+
</code>
+
  
'''Optional Packages'''
+
= Build =
  
You can skip the manual and painful installation kdesupport and its dependencies ( Qt 4.3, CMake 2.4.6, DBus, Hal, clucene-core, Strigi,
+
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).
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 do:
+
== kdesupport ==
<code>
+
sudo zypper service-add http://software.opensuse.org/download/KDE:/KDE4/openSUSE_10.2 KDE4-102
+
</code>
+
  
For older versions of SUSE Linux do:
+
You can install kdesupport and its dependencies from official repository
<code>
+
su
+
installation_sources -a http://software.opensuse.org/download/KDE:/KDE4/[YOUR SUSE LINUX VERSION]
+
</code>
+
  
Now install the following packages:
+
Install kdesupport from openSUSE:
<code>
+
zypper install libqca2-devel libsoprano-devel libqimageblitz-devel strigi-devel
cmake
+
dbus-1-devel
+
libqt4-devel
+
libqca2-devel
+
libsoprano-devel
+
libqimageblitz-devel
+
strigi
+
strigi-ui
+
</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].
+
Please remember to skip any instructions from [[Getting_Started/Build]] that refer to kdesupport. Start to compile with kdelibs.
  
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.
+
= 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.
  
Return to [[Getting_Started/Build/KDE4#kdelibs|building KDE 4]].
+
== 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.
 +
 
 +
 
 +
=== 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]
 +
 
 +
=== 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 [[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,496 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