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

Jump to: navigation, search
(yum-builddep does not seem to support multiple packages)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Template:I18n/Language Navigation Bar|Getting_Started/Build/KDE4/Fedora}}
+
 
  
 
{{TutorialBrowser|
 
{{TutorialBrowser|
Line 7: Line 7:
 
name=Building KDE4 From Source (Fedora Linux requirements)|
 
name=Building KDE4 From Source (Fedora Linux requirements)|
  
pre=[[Getting_Started/Build/KDE4|Build KDE 4]]|
+
pre=[[Getting_Started/Build|Build KDE]]|
  
next=[[Getting_Started/Build/KDE4|Build KDE 4]]|
+
next=[[Getting_Started/Build|Build KDE]]|
  
reading=[[Getting_Started/Build/kdesvn-build|kdesvn-build: The KDE From Subversion Build Tool]]<br>[[Getting_Started/Increased_Productivity_in_KDE4_with_Scripts|Increased Productivity in KDE4 with Scripts]]<br>[[Development/Tutorials/CMake |Introduction to CMake]]|
+
reading=[[Getting_Started/Build/kdesvn-build|kdesvn-build: The KDE From Subversion Build Tool]]<br>[[Getting_Started/Build/Environment|KDE Build Environment including useful scripts]]<br>[[Development/Tutorials/CMake |Introduction to CMake]]|
 
}}
 
}}
  
Line 19: Line 19:
 
Install basic toolchain:
 
Install basic toolchain:
  
<code bash>
+
<syntaxhighlight lang="bash">
 
yum groupinstall 'Development Tools'
 
yum groupinstall 'Development Tools'
</code>
+
</syntaxhighlight>
  
<code bash>
+
<syntaxhighlight lang="bash">
 
yum install subversion cmake
 
yum install subversion cmake
</code>
+
</syntaxhighlight>
  
 
Install the yum-utils package to get yum-builddep:
 
Install the yum-utils package to get yum-builddep:
<code bash>
+
<syntaxhighlight lang="bash">
 
yum install yum-utils
 
yum install yum-utils
</code>
+
</syntaxhighlight>
 +
 
 +
On Fedora 16 [[../../kdesrc-build|kdesrc-build]] will complain about qmake being missing. It is located at /usr/bin/qmake-qt4. Simply create a symbolic for qmake:
 +
 
 +
<syntaxhighlight lang="bash">
 +
ln -s qmake-qt4 /usr/bin/qmake
 +
</syntaxhighlight>
  
 
== Basic functional desktop ==
 
== Basic functional desktop ==
<code bash>
+
<syntaxhighlight lang="bash">
yum-builddep kdelibs kdebase akonadi
+
for pkg in kdelibs kde-baseapps kde-workspace \
</code>
+
    kde-runtime akonadi soprano polkit-qt strigi; \
 +
    do yum-builddep $pkg; done
 +
</syntaxhighlight>
  
 
== Full-optionals desktop ==
 
== Full-optionals desktop ==
<code bash>
+
<syntaxhighlight lang="bash">
yum-builddep kdeaccessibility kdeadmin kdeartwork \
+
for pkg in kdeaccessibility kdeadmin kdeartwork \
     kdebase kdebindings kdeedu kdegames kdegraphics \
+
     kde-baseapps kde-workspace kde-runtime \
 +
    kdebindings kdeedu kdegames kdegraphics \
 
     kdelibs kdemultimedia kdenetwork kdepim \
 
     kdelibs kdemultimedia kdenetwork kdepim \
 
     kdepimlibs kdeplasma-addons kdesdk kdetoys \
 
     kdepimlibs kdeplasma-addons kdesdk kdetoys \
     kdeutils akonadi
+
     kdeutils akonadi soprano polkit-qt strigi; \
</code>
+
    do yum-builddep $pkg; done
 +
</syntaxhighlight>
  
 
== KOffice ==
 
== KOffice ==
Line 51: Line 61:
 
yum-builddep will install dependencies for the KDE 3 version.}}
 
yum-builddep will install dependencies for the KDE 3 version.}}
  
<code bash>
+
<syntaxhighlight lang="bash">
 
yum-builddep koffice-suite
 
yum-builddep koffice-suite
</code>
+
</syntaxhighlight>
  
 
== Documentation ==
 
== Documentation ==
 
It generally requires the following tools installed:
 
It generally requires the following tools installed:
<code bash>
+
<syntaxhighlight lang="bash">
 
yum install doxygen graphviz qt-doc
 
yum install doxygen graphviz qt-doc
</code>
+
</syntaxhighlight>
  
 
== Module prerequisites ==
 
== Module prerequisites ==
 
To install prerequisites just run
 
To install prerequisites just run
<code bash>
+
<syntaxhighlight lang="bash">
 
yum-builddep module-name
 
yum-builddep module-name
</code>
+
</syntaxhighlight>
  
 
Where "module-name" is the name of the module you want to install
 
Where "module-name" is the name of the module you want to install
 
 
Return to [[Getting_Started/Build/KDE4#HAL|building KDE 4]].
 

Latest revision as of 00:10, 11 January 2013


Building KDE4 From Source (Fedora Linux requirements)
Tutorial Series   Getting Started
Previous   Build KDE
What's Next   Build KDE
Further Reading   kdesvn-build: The KDE From Subversion Build Tool
KDE Build Environment including useful scripts
Introduction to CMake


Contents

[edit] Toolchain

Install basic toolchain:

yum groupinstall 'Development Tools'
yum install subversion cmake

Install the yum-utils package to get yum-builddep:

yum install yum-utils

On Fedora 16 kdesrc-build will complain about qmake being missing. It is located at /usr/bin/qmake-qt4. Simply create a symbolic for qmake:

ln -s qmake-qt4 /usr/bin/qmake

[edit] Basic functional desktop

for pkg in kdelibs kde-baseapps kde-workspace \
    kde-runtime akonadi soprano polkit-qt strigi; \
    do yum-builddep $pkg; done

[edit] Full-optionals desktop

for pkg in kdeaccessibility kdeadmin kdeartwork \
    kde-baseapps kde-workspace kde-runtime \
    kdebindings kdeedu kdegames kdegraphics \
    kdelibs kdemultimedia kdenetwork kdepim \
    kdepimlibs kdeplasma-addons kdesdk kdetoys \
    kdeutils akonadi soprano polkit-qt strigi; \
    do yum-builddep $pkg; done

[edit] KOffice

noframe
 
Warning
Fedora 12 (and less) still ship with KOffice 1.6.

yum-builddep will install dependencies for the KDE 3 version.


yum-builddep koffice-suite

[edit] Documentation

It generally requires the following tools installed:

yum install doxygen graphviz qt-doc

[edit] Module prerequisites

To install prerequisites just run

yum-builddep module-name

Where "module-name" is the name of the module you want to install


This page was last modified on 11 January 2013, at 00:10. This page has been accessed 26,676 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