Debian 7 "Wheezy" Minimal Installation with XFCE Desktop Version 4.10
UPDATED: 08/02/2013
I chose to download the Debian netinst CD (277 MB) to build my system, then add XFCE Version 4.10 from the "testing" Repo.
Debian has several Repo's and these need a bit of explaination, before proceeding.
Repositories: ------ http://en.wikipedia.org/wiki/Debian
stable, currently aliased wheezy
backports
testing, currently aliased jessie
unstable, permanently aliased sid
experimental
Mixing Packages from various Repo's isn't advised, since you can break your system. The best practice is to check the backports
for Debian 7 "Wheezy" to see if the updated package exists there, or build the package yourself following the information below.
http://www.howtoforge.com/howto_linux_d ... eckinstall
Build the Xfce Desktop from the SID (unstable) Repo's by using backports, to get Version 4.10
http://wiki.debian.org/DebianUnstable#C ... _stable.3F
How do I backport a sid package to testing or stable?
Install the Debian source (and the development tools, especially debhelper, devscripts, and build-essential), and then build the package.
Step by step:
Code: Select all
add a deb-src line for sid to your sources.list
apt-get update
apt-get build-dep PACKAGE_NAME
apt-get -b source PACKAGE_NAME
Aren't there already backports...?
Possibly. Check http://backports.debian.org/Packages/ first to see if someone has already done it.
I didn't build the package or locate anything in backports, but chose a different method, using Apt-Pinning.
1. Download and burn Debian 7 "Wheezy" AMD64 netinst CD.
2. Install Debian 7 "Wheezy" AMD64 standard operating system, selecting LAPTOP & STANDARD SYSTEM from the task select Install Menu.
(It is assumed that you have an Internet connection via Ethernet during the install.)
REF:
https://wiki.debian.org/tasksel
3. Edit /etc/apt/sources.list, as root, adding the repo for deb-multimedia.org to the end of the file /etc/apt/sources.list.
Code: Select all
#deb-multimedia.org
deb http://www.deb-multimedia.org wheezy main non-free
http://www.deb-multimedia.org/
Since Squeeze you can install this package with apt-get but you need to presse Y when the package ask what to do and do not press return.
A new “apt-get update” is also necessary.
Code: Select all
$ su -
# apt-get update
# apt-get install deb-multimedia-keyring
the various Debian Repo's:
http://packages.debian.org/search?suite ... ords=xfce4
As you can see, XFCE4 Version 4.10 is not in the Backports Repo, but it is available in the Testing Repo. I chose to use this package.
I decided to use Apt-Pinning to Pin the XFCE4 & XFCE4-weather-plugin to the Testing Repo. I also wanted to add user to the sudo
group, so I didn't have to log in as root. You might want to skip this portion on sudo, if you prefer to login as root.
5. Add user to sudo group.
/etc/sudoers file should contain:
Code: Select all
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
Code: Select all
$ su -
#adduser larry sudo
7. Verify the groups, user is a member of:
Code: Select all
$ groups user
larry dialout cdrom floppy sudo audio dip video plugdev netdev bluetooth scanner
REF's:
https://wiki.debian.org/SourcesList
http://debgen.simplylinux.ch/
http://www.debian.org/doc/debian-policy/ch-archive.html
Example sources.list for Debian 7 "Wheezy"
With the proper Repo's selected, I used Synaptics to update the install before proceeding with the changes for adding XFCE4.deb http://http.debian.net/debian wheezy main
deb-src http://http.debian.net/debian wheezy main
deb http://http.debian.net/debian wheezy-updates main
deb-src http://http.debian.net/debian wheezy-updates main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
When my system had finished updating I proceeded to modify the Repo's for the XFCE install from "testing".
Add the following lines to the /etc/apt/sources.list file:
Code: Select all
#XFCE 4.10 - Install from testing repo & Pin to testing repo
deb http://ftp.debian.org/debian testing main
REF's:
http://forums.debian.net/viewtopic.php?t=15612
https://wiki.debian.org/AptPreferences
http://www.argon.org/~roderick/apt-pinning.html
http://carlo17.home.xs4all.nl/howto/debian.html#errata
http://www.howtoforge.com/a-short-intro ... pt-pinning
http://jaqque.sbih.org/kplug/apt-pinning.html
Code: Select all
Package: *
Pin: release a=stable
Pin-Priority: 700
Package: xfce4
Pin: release a=testing
Pin-Priority: 710
Package: xfce4-weather-plugin
Pin: release a=testing
Pin-Priority: 710
Package: *
Pin: release a=testing
Pin-Priority: 1
Code: Select all
#apt-get update
#apt-cache show xfce4
#apt-cache policy
#apt-cache policy xfce4
Code: Select all
#sudo apt-get -t testing install xfce4 thunar-volman tumbler xfce4-terminal xfce4-power-manager xfce4-screenshooter
11. Install other software packages as needed, as root:
Code: Select all
#apt-get update
#apt-get install psi mc meld bleachbit clamav clamtk docky ddd build-essential
#apt-get install filezilla dosbox xsane gftp wine glabels gparted vlc \
k9copy openshot testdisk xpdf tesseract lshw hwinfo flashplugin-nonfree system-config-printer
Code: Select all
# cd /usr/share/applications
# gedit exo-terminal-emulator.desktop
Code: Select all
NoDisplay=true
13. Edit the Menu for Root Terminal - APPLICATIONS MENU -> ACCESSORIES -> ROOT TERMINAL
Right Click on APPLICATIONS MENU, select PROPERTIES, EDIT MENU, ACCESSORIES -> ROOT TERMINAL, select PROPERTIES,
then change the command to:
Code: Select all
gksu /usr/bin/xfce4-terminal
list of choices to repair your system, but it just displays the choices ONE at a TIME, with user responses of Y, N, Q (yes, no, quit), for each
displayed choice. In my case the first choice was to keep all current packages, so I answered N, to view the second choice. Finally, the choice
appeared that I thought would be the answer to repair my held packages. So, an answer of N will proceed to the next choice aptitude has available,
with the option of Q to quit at any time. Use man aptitude from a Terminal for more information.
2.2. Basic package management operations
2.2.1. apt-get / apt-cache vs. aptitude
http://www.debian.org/doc/manuals/debia ... de_literal
Larry