Debian 8 will with XFCE 4.10 but I like the version 4.12, how I can install it in Debian 8?
Solution - Personally Recommended
This is where PPAs come in. A PPA, or Personal Package Archive, is a collection of software not included in Ubuntu by default. Typically these repositories focus on a single program, but they can include more depending on the person maintaining them. A PPA might focus on an unreleased piece of software, such as Hotot, the best Linux Twitter client out there. It also might include updates for software already in Ubuntu, such as Firefox.
Whatever the case, PPAs provide updates for your favorite software at a much quicker rate than Ubuntu itself. This is great, because you can decide which software you want to keep up to date and leave the rest to Ubuntu.
Once you install new software, updates will come to you through the Ubuntu Update Manager
For all practical purposes, readers may replace every occurrence of Ubuntu with Debian in the quote above. As such, the same command to add a repository that exists in Ubuntu exists in Debian, and that is:
With that in mind, we can add the PPA for the Ubuntu XFCE Maintainers that does contain XFCE 4.12, with:
add-apt-repository 'deb http://ppa.launchpad.net/xubuntu-dev/xfce-4.12/ubuntu' add-apt-repository 'deb-src http://ppa.launchpad.net/xubuntu-dev/xfce-4.12/ubuntu'
I agree with this approach on a binary system, as I've seen too many users first time compiles go awry, but we will go over that next...
Solution 2 - Compile Your Own
Install the tools needed for building:
sudo apt-get install build-essential fakeroot devscripts dpkg-dev
Configure Apt so that it contains at least one source repository, i.e.:
deb-src http://http.us.debian.org/debian unstable main
Create a Directory somewhere you have write permissions to store your source:
mkdir -pv ~/src/debian; cd ~/src/debian
Next, we must determine the build order. See Building Xfce for an agnostic build approach:
- libxfce4ui, garcon, libxfcegui4
- xfce4-settings, xfce4-session, xfdesktop, xfwm4, xfce-utils 2), xfce4-appfinder, …
New Per Stephen Kitt's Comment:
- Download all
of the tarballs from the XFCE Archive of the source packages into the
debian directory, using:
apt-get source <package name>, making sure to follow the build order noted above.
- The source package should contain a
debiandirectory of it's own, and when each package has been extracted, the layout should look similar to the following:
~/src/debian/ -- exo-0.10.3 -- debian -- garcon-0.4.0 -- debian -- gtk-xfce-engine-2.10.0 -- debian -- etc
You need to make sure that the above structure is the result of extracting the source tree. We stay in this tree until the build is finished.
The build tools we downloaded earlier will help us determine if we need any dependencies before building. Perform the following steps in the same order, following the build order noted above:
Example for Build Order Step 1:
cd libxfce4util-4.12.1 && sudo apt-get build-dep libxfce4util Note that the build-dep may fail, although it shouldn't because, as Stephen Kitt commented, we are now using "Official Debian Sources".
sudo apt-get build-dep did not resolve all dependencies, we must now install the missing dependencies. We do this
apt-get install <missing package> Rerun
sudo apt-get build-dep. Rinse and repeat.
To build the package, use
debuild -b -uc -us. If all goes well, you'll have a
.deb package in your source tree that you can install with
Word of Caution
When you finish this process, Apt will not maintain this package, so each time an update comes out, you must redo the build process listed above. If
apt-get build-dep ever states that any part of your toolchain needs updating
binutils etc need updating STOP BUILDING.
I tried "Compiling Xfce", and now it seems ok.
Compile Xfce v 4.12.0 in the following order:
xfce4-dev-tools; libxfce4util; xfconf; libxfce4ui, garcon; exo; xfce4-panel; thunar; xfce4-settings, xfce4-session, xfdesktop, xfwm4, xfce4-appfinder;
For each of them, run
./configure; make; make install as listed in
see also "http://linoxide.com/linux-how-to/install-mind-blowing-xfce-4-12-desktop-environment-linux-features/".