====== EDE on Slackware ======
On [[http://www.slackware.com/|Slackware]] you have three options of installing ''EDE'' on your system:
* You can use pre-built packages managed by us,
* build them yourself from the //%%SlackBuilds%%// available on [[http://slackbuilds.org/]]
* or build it manually following the generic building procedure InstallingFromSource.
===== Installing EDE ======
A few words on dependencies: ''EDE'' needs ''edelib'' which depends on ''FLTK'' (and both ''EDE'' packages use ''jam'' during the build process). EDE works with both **FLTK 1.1** and **FLTK 1.3**. 1.1 is really old now and lacks a few important features. If you don't have any special needs, just stick with 1.3. But the choice is yours of course.
:!: **EDE comes with its own version of PekWM.** If you've already installed this window manager on your system, the two will conflict.
==== Using ready to install packages ====
This is the easiest and fastest way of getting ''EDE''.
=== Architectures and distribution versions ===
* We provide **version 2.1** packages for **i486** and **x86_64** systems with ''Slackware'' **14.1**.
* We also still have **version 2.0** packages available for **i486** and **x86_64** systems with ''Slackware'' **14.0**.
=== Downloading and installing ===
- Obtain the packages **fltk13-1.3.2-$arch-1_SBo.tgz**, **edelib-2.0-$arch-1_SBo.tgz** and **ede-2.0-$arch-1_SBo.tgz** for your respective architecture from [[http://ede.elderlinux.org/repos/slackware/|here]].
- Install the packages
== Example for the lazy ==
To grab the x86_64 packages on ''Slackware'' 14.1 via wget you can just copy this command:
wget http://ede.elderlinux.org/repos/slackware/14.1/x86_64/fltk13-1.3.2-x86_64-2_SBo.tgz http://ede.elderlinux.org/repos/slackware/14.1/x86_64/edelib-2.1-x86_64-1_SBo.tgz http://ede.elderlinux.org/repos/slackware/14.1/x86_64/ede-2.1-x86_64-1_SBo.tgz
Install them with this command:
installpkg ./fltk13-1.3.2-x86_64-2_SBo.tgz ./edelib-2.1-x86_64-1_SBo.tgz ./ede-2.1-x86_64-1_SBo.tgz
==== Using SlackBuilds ====
[[http://slackbuilds.org/|SBo]] offers scripts which simplify the process of packaging programs (like ''EDE'') for ''Slackware''.
=== Distribution versions ===
The %%SlackBuilds%% needed for ''EDE'' are available for ''Slackware'' versions **14.0** and **14.1**.
=== Preparing and installing the packages ===
To build the packages yourself, first create a working directory and change to it. Then download the needed ''%%SlackBuilds%%''. You can download them with any browser or with the following console commands (substitute 14.1 with 14.0 if appropriate and download fltk.tar.gz instead if you really want FLTK 1.1):
wget http://slackbuilds.org/slackbuilds/14.1/development/ftjam.tar.gz
wget http://slackbuilds.org/slackbuilds/14.1/libraries/fltk13.tar.gz
wget http://slackbuilds.org/slackbuilds/14.1/libraries/edelib.tar.gz
wget http://slackbuilds.org/slackbuilds/14.1/desktop/ede.tar.gz
Building a package from a //%%SlackBuild%%// is as easy as decompressing the gzipped tar archive, changing to the new directory, examining //$package.info// for the source URL, downloading the source archive and executing the //$package.%%SlackBuild%%//.
To build the FTJAM package do the following:
tar xvzf ftjam.tar.gz
cd ftjam
wget `cat *.info | grep DOWNLOAD= | sed -e 's;DOWNLOAD=;;' -e 's;";;g'`
./ftjam.SlackBuild
:!: Either copy the third command or mind the **'** and **`** characters! Otherwise it won't work.
After all is done, the last line shows the path and name of the newly created package. Install it with this command (of course filling in the correct path and filename):
installpkg /path/filename
Next do the same for the //fltk13// package. This one however was written in a way so that it may co-exist with version 1.1 on the same system. For that reason it installs in a non-default directory and also renames some files. Thanks to these changes ''EDE'' won't be able to find it so we have to patch the %%SlackBuild%% to use the default values. Issue the following command before you run the //fltk13.%%SlackBuild%%// file:
sed -i -e 's;/fltk13;;g' -e 's;mv;#mv;g' -e 's;sed -i ";#sed -i ";g' fltk13.SlackBuild
./fltk13SlackBuild
Once the package has been created, install it. Then build and install ''edelib'' and finally ''EDE'' accordingly.
==== Manually building from source ====
Alternatively you can of course follow the generic building procedure, too: InstallingFromSource.
===== Starting EDE =====
You can either use a graphical login manager to bring up ''EDE'' or simply use ''Xorg'''s //startx// command. If you want to use //startx//, edit the file **.xinitrc** in your user's home directory. Remove (or comment out) whatever other DE or WM gets started and then add //exec startede// instead. That's it.