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

Jump to: navigation, search
m (Requirements)
(Requirements)
 
(5 intermediate revisions by 3 users not shown)
Line 9: Line 9:
  
 
= Required Packages =
 
= Required Packages =
 +
Use the following command to install the needed packages:
  
Use the following commands to install the needed packages:
 
 
<pre>
 
<pre>
zypper install alsa-devel automoc4 avahi-devel patch cups-devel kde4-filesystem \
+
zypper si -d kdelibs4
libbz2-devel avahi-compat-mDNSResponder-devel hal-devel xorg-x11-devel \
+
libQtWebKit-devel libxml2-devel kdesdk4 clucene-core-devel boost-devel \
+
libjpeg-devel liblrdf-devel libpng-devel libxslt-devel libredland-devel \
+
Mesa-devel giflib-devel subversion gcc-c++ gmp-devel xine-devel \
+
libgpgme-devel pcre-devel dbus-1-devel libqt4-devel cmake git \
+
doxygen polkit-devel docbook-xsl-stylesheets cyrus-sasl-devel libical-devel
+
 
</pre>
 
</pre>
  
Line 27: Line 21:
 
== kdesupport ==
 
== kdesupport ==
  
You can install kdesupport and its dependencies from SUSE by adding the KDE:Distro:Stable repository from
+
You can install kdesupport and its dependencies from official repository
the [http://download.opensuse.org/repositories/KDE:/Distro:/Stable/ openSUSE Build Service] to your repositories. For openSUSE 12.1 add this Repository to YaST/zypper:
+
http://download.opensuse.org/repositories/KDE:/Distro:/Stable/openSUSE_12.1/
+
  
For older versions of openSUSE do:
+
Install kdesupport from openSUSE:
su
+
zypper ar -f http://download.opensuse.org/repositories/KDE:/Distro:/Stable/[YOUR openSUSE VERSION]
+
 
+
Now install kdesupport from openSUSE:
+
 
  zypper install libqca2-devel libsoprano-devel libqimageblitz-devel strigi-devel
 
  zypper install libqca2-devel libsoprano-devel libqimageblitz-devel strigi-devel
  
Line 46: Line 34:
 
== Requirements ==
 
== Requirements ==
  
You need a supported openSUSE version, that is, at the time of writing, openSUSE 11.4 or 12.1 or openSUSE Factory (the always-on-development branch of openSUSE).
+
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 ==
 
== Installing packages from the unstable repository ==
  
You can either use the one-click-install, which can provide pre-arranged sets of packages, namely the basic system (KDE4-BASIS), games (KDE4-GAMES), or a complete development setup (KDE4-DEVEL), or add the repository manually and perform an installation from the command line.  
+
Add the repository manually and perform an installation from the command line.  
  
=== Method 1: one click install ===
 
  
Depending on the openSUSE version use, there are different one-click installs:
+
=== Addition of the repository ===
 
+
*  '''openSUSE 10.3'''
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_10.3/KDE4-BASIS.ymp Basic KDE desktop (KDE4-BASIS)]
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_10.3/KDE4-GAMES.ymp KDE games (KDE4-GAMES)]
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_10.3/KDE4-DEVEL.ymp Development (KDE4-DEVEL]
+
*  '''openSUSE 11.0'''
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_11.0/KDE4-BASIS.ymp Basic KDE desktop (KDE4-BASIS)]
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_11.0/KDE4-GAMES.ymp KDE games (KDE4-GAMES)]
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_11.0/KDE4-DEVEL.ymp Development (KDE4-DEVEL)]
+
*  '''openSUSE 11.1'''
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_11.1/KDE4-BASIS.ymp Basic KDE desktop (KDE4-BASIS)]
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_11.1/KDE4-GAMES.ymp KDE games (KDE4-GAMES)]
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_11.1/KDE4-DEVEL.ymp Development (KDE4-DEVEL)]
+
* '''openSUSE Factory'''
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_Factory/KDE4-BASIS.ymp Basic KDE desktop (KDE4-BASIS)]
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_Factory/KDE4-GAMES.ymp KDE games (KDE4-GAMES)]
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_Factory/KDE4-DEVEL.ymp Development (KDE4-DEVEL)]
+
 
+
Click on the relevant link and YaST will set up the repositories and install the required packages.
+
 
+
=== Method 2: Addition of the repository ===
+
  
 
Add the repository. To do so, enter as root
 
Add the repository. To do so, enter as root
  
  zypper ar http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/YOUR_SUSE_VERSION/
+
  zypper ar -f http://download.opensuse.org/repositories/KDE:/Unstable:/SC/YOUR_openSUSE_VERSION/ [ALIAS]
  
where YOUR_SUSE_VERSION is either openSUSE_10.3, openSUSE_11.0, openSUSE_11.1, or openSUSE_Factory depending on what you are running.
+
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, refresh the package index and update the packages to the unstable version:
+
After that upgrade the packages to the unstable version:
  
  zypper ref && zypper up
+
  zypper dup --from [ALIAS]
  
 
=== Post-installation steps ===
 
=== Post-installation steps ===
  
The Desktop repository does not include everything from KDE: for example, Amarok 2 is not present there. To add even more applications, including extragear ones, you need to use the KDE:KDE4:UNSTABLE:Extra_Apps repository.
+
You may want to add some additional repositories to have compatible non KDE SC packages available.  
 
+
* '''One click installs'''
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Extra-Apps/openSUSE_10.3/KDE4-DEFAULT.ymp openSUSE 10.3]
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Extra-Apps/openSUSE_11.0/KDE4-DEFAULT.ymp openSUSE 11.0]
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Extra-Apps/openSUSE_11.1/KDE4-DEFAULT.ymp openSUSE 11.1]
+
** [http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Extra-Apps/openSUSE_Factory/KDE4-DEFAULT.ymp openSUSE Factory]
+
 
+
Alternatively, using zypper:
+
 
+
zypper ar http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Extra-Apps/YOUR_SUSE_VERSION/
+
  
zypper ref
+
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, for example Amarok 2:
+
followed by the installation the packages you need:
  
  zypper in amarok
+
  zypper install [package]
  
 
Return to [[Getting_Started/Build|Building KDE]].
 
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,366 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