summaryrefslogtreecommitdiff
path: root/pages/docs/distros/opensuse-start.md.txt
diff options
context:
space:
mode:
authorAndrew Williams <andy@andywilliams.me>2018-01-05 07:54:38 -0800
committerapache <apache@e5-web1.enlightenment.org>2018-01-05 07:54:38 -0800
commit1875029eb0a9502329245d8bba03355a8046e083 (patch)
tree8e94ac7948a3edd3b3d341690cc9809c67e66666 /pages/docs/distros/opensuse-start.md.txt
parente82262fccf801561b0c2b30d2abd867d825d3596 (diff)
Wiki page opensuse-start.md changed with summary [created] by Andrew Williams
Diffstat (limited to '')
-rw-r--r--pages/docs/distros/opensuse-start.md.txt182
1 files changed, 182 insertions, 0 deletions
diff --git a/pages/docs/distros/opensuse-start.md.txt b/pages/docs/distros/opensuse-start.md.txt
new file mode 100644
index 000000000..2c0815192
--- /dev/null
+++ b/pages/docs/distros/opensuse-start.md.txt
@@ -0,0 +1,182 @@
1---
2~~Title: Installing EFL on openSUSE ~~
3---
4
5# Installing EFL on openSUSE #
6
7[The *Enlightenment Foundation Libraries (EFL)*](/about-efl.md) power millions of systems from mobile phones to set-top boxes, desktops, laptops, game systems and more. You'll need EFL if you want to develop apps for Enlightenment and for any of the devices that use Enlightenment for its visual interface.
8
9This tutorial describes several ways to install EFL on your system. You will only need to use one of these. Select your chosen method using the index on the right.
10
11Many distributions offer EFL as an installable package from their default repositories. In this case you only need to use your distribution's software management system to install. However most versions of EFL in default repositories are out of date and will not compile more recent Enlightenment applications. If this is not an issue for you, read through the ["From Distribution Repositories"](#From_Distribution_Repositories) section below.
12
13Distributions often provide a special repository maintained by users or a method of integrating a bleeding edge version of EFL with your software management system. This means that once installed you can keep EFL current just by running system updates. If your distribution offers this, take a look at the section ["Installing from a Special Repository"](#Installing_from_a_Special_Repository).
14
15The Enlightenment developers provide a pre-packaged source of EFL. Although not bleeding edge it is up to date and considered stable for production environments. You can download, compile and install it yourself by following the instructions in ["Installing from Packaged Source"](#Installing_from_Packaged_Source).
16
17You can also download the source code for the most recent version from the EFL git repositories. This will provide you with the latest code, which is updated on a nightly basis. To get started, read the section ["Installing from Git"](#Installing_from_Git).
18
19Whichever installation method you use, visit ["Compiling EFL Applications"](#Compiling_EFL_Applications) to discover how to compile your Enlightenment applications.
20
21## From Distribution Repositories ##
22
23openSUSE happens to have quite a good support for EFL and you can install all the items you need from openSUSE's official repository:
24
25```bash
26sudo zypper efl
27```
28
29This will give you a working EFL installation.
30
31However, the version in openSUSE's official repositories may lag behind the latest version of EFL and give you problems when trying to compile examples from tutorials in this documentation. If this is the case, it is advised you install a more recent version of EFL following one of the methods below.
32
33## Installing from a Special Repository ##
34
35You can also install the latest EFL using a special repository. Add it to your regular repositories with:
36
37```bash
38sudo zypper ar https://download.opensuse.org/repositories/X11:/Enlightenment:/Nightly/openSUSE_Tumbleweed/x86_64/ Enlightenment_Nightly
39```
40Refresh your repositories:
41
42```bash
43sudo zypper ref
44```
45
46And then install EFL and its development libraries:
47
48```bash
49sudo zypper in efl efl-devel
50```
51Note that the version in the Nightly repositories may lag behind the official Nightly by about 24 hours. This shouldn't be a big deal in most circumstances.
52
53## Installing from Packaged Source ##
54
55There are two versions available form the Enlightenment website. One is a packaged and available from the [EFL's download site](https://download.enlightenment.org/rel/libs/efl/). The other is the nightly bleeding edge version which you can [download using git](#Installing_from_Git). This section deals with installing with the packaged version available from the [EFL's download site](https://download.enlightenment.org/rel/libs/efl/).
56
57### Step 1: Downloading Stable Version ###
58
59[Download the latest version of EFL](https://download.enlightenment.org/rel/libs/efl/) and check it against its SHA256 hash:
60
61```bash
62wget https://download.enlightenment.org/rel/libs/efl/efl-X.XX.X.tar.xz
63wget https://download.enlightenment.org/rel/libs/efl/efl-X.XX.X.tar.xz.sha256
64cat efl-X.XX.X.tar.xz.sha256; sha256sum efl-X.XX.X.tar.xz
65```
66
67Note that you will have to change ``X.XX.X`` for the actual version of EFL.
68
69### Step 2: Unpacking ###
70
71Once you have the archive file containing EFL in your hard disk, unpack it with:
72
73```bash
74tar xvf efl-X.XX.X.tar.xz
75```
76
77This will produce a folder called *efl-X.XX.X*.
78
79### Step 3: Installing Dependencies ###
80
81Before you can compile and install EFL, you will have to install some software packages EFL needs:
82
83```bash
84sudo zypper in gcc gcc-c++ doxygen libopenssl-devel systemd-devel libjpeg62-devel glib2-devel gstreamer-devel lua51-luajit-devel freetype2-devel fontconfig-devel fribidi-devel xorg-x11-devel giflib-devel libpng16-compat-devel libtiff-devel libpoppler-devel libspectre-devel libraw-devel librsvg-devel libudev-devel libmount-devel dbus-1-devel libpulse-devel libsndfile-devel libbullet-devel gstreamer-plugins-base-devel check-devel
85```
86
87### Step 4: Building and Installing ###
88
89Once you have installed all the packages EFL needs, ``cd`` into the *efl-X.XX.X* folder and run
90
91```bash
92./configure
93make
94sudo make install
95```
96
97This will configure the files needed for compiling, actually compile the software, and then install it.
98
99### Step 5: Carrying out Post Installation Tasks ###
100
101As you are not installing to */usr* but to */usr/local*, you will have to ensure that some files are visible to *dbus*:
102
103```bash
104sudo ln -s /usr/local/share/dbus-1/services/org.enlightenment.Ethumb.service /usr/share/dbus-1/services/org.enlightenment.Ethumb.service
105```
106
107You may also need to refresh your library path to make sure your apps can find the EFL libraries:
108
109```bash
110sudo ldconfig
111```
112
113## Installing from Git ##
114
115You can also get the bleeding edge version of EFL by cloning it from the git repository.
116
117### Step 1: Installing git and Cloning ###
118
119By default, *git* is not installed in openSUSE, so the first step is to install it:
120
121```bash
122sudo zypper install git
123```
124
125Next clone EFL's source code:
126
127```bash
128git clone https://git.enlightenment.org/core/efl.git
129```
130
131This will create a a directory called *efl/*.
132
133### Step 2: Installing Dependencies ###
134
135You will need to install some tools to build the configuration file:
136
137```bash
138sudo zypper in autoconf libtool gettext-tools
139```
140
141As well as the dependencies specific for EFL:
142
143```bash
144sudo zypper in gcc gcc-c++ doxygen libopenssl-devel systemd-devel libjpeg62-devel glib2-devel gstreamer-devel lua51-luajit-devel freetype2-devel fontconfig-devel fribidi-devel xorg-x11-devel giflib-devel libpng16-compat-devel libtiff-devel libpoppler-devel libspectre-devel libraw-devel librsvg-devel libudev-devel libmount-devel dbus-1-devel libpulse-devel libsndfile-devel libbullet-devel gstreamer-plugins-base-devel check-devel
145```
146
147### Step 3: Configuring the Software ###
148
149Now you can ``cd`` into the *efl\* directory and run the *autoreconf* script to create and configure the software ready for compilation:
150
151```bash
152./autogen.sh
153```
154
155Once configured, you can compile the software with:
156
157```bash
158make
159sudo make install
160```
161
162### Step 4: Carrying out Post Installation Tasks ###
163
164As you are not installing to */usr* but to */usr/local*, you will have to ensure that some files are visible to *dbus*:
165
166```bash
167sudo ln -s /usr/local/share/dbus-1/services/org.enlightenment.Ethumb.service /usr/share/dbus-1/services/org.enlightenment.Ethumb.service
168```
169
170You may also need to refresh your library path to make sure your apps can find the EFL libraries:
171
172```bash
173sudo ldconfig
174```
175
176## Troubleshooting ##
177
178If you are having problems compiling and installing EFL, you can come and seek advice on any of [our IRC channels](https://www.enlightenment.org/contact) or [post a ticket to our Phabricator](https://phab.enlightenment.org).
179
180## Installing on Other Operating Systems ##
181
182If you would like to install EFL on a different operating system visit the [Setting up a C Development Environment page](start.md). \ No newline at end of file