Site perso : Emmanuel Branlard

Subsections

4. Debian squeeze - tweaks - latest updates


4.1 Important stuff to do

%%% Gamin instead of fam does not work that well
aptitude install gamin  

%%% makefile concurrency and readahead : as root
aptitude install readahead readahead-fedora
echo CONCURRENCY=makefile >> /etc/default/rcS
aptitude install insserv
dpkg-reconfigure insserv sysv-rc

%%% new pager
aptitude install most
update-alternatives --config pager

%%% flash
aptitude install flashplugin-nonfree
%%% java
aptitude install sun-java6-jre sun-java6-plugin
update-java-alternatives --set java-6-sun

4.2 FlashPlayer - plugin for mozilla

install package flashplugin-nonfree

For upgrades: update-flashplugin-nonfree --install

See which version of flash player you have installed 
http://www.adobe.com/software/flash/about/

4.3 Chrome - Get latest java working

This HOWTO shows how to get Java Runtime running under Google Chrome

1. Download Java Runtime from http://www.java.com
2. Make and opt/ directory in home
CODE: SELECT ALL
mkdir ~/opt

3. Move the Java .bin file to ~/opt/
CODE: SELECT ALL
chmod +x jre-6u18-linux-x64.bin
./jre-6u18-linux-x64.bin
cd ~/opt/jre1.6.0_18/bin/
ControlPanel

Select the Java Tab
Click View...
Click Find...
Click Next...
Select ~/opt/jre1.6.0_18/
Click Next...
Click Finsh...
deselect the others JREs
Click OK...
Click Apply...
Click OK ...
4. As root
CODE: SELECT ALL
mkdir /opt/google/chrome/plugins
cd /opt/google/chrome/plugins
ln -s ~/opt/jre1.6.0_18/lib/amd64/libnpjp2.so

5. Run Google Chrome with plugins enabled
CODE: SELECT ALL
google-chrome --enable-plugins %U

Add option: allow-outdated-plugins if chrome insists in saying you don't have the latest version

4.4 Compiling evince 2.31 on debian squeeze

Get source:
git clone git://git.gnome.org/evince
Dependencies
install gnome-common gtk-doc-tools
libgnome-keyring-dev

libdbus-1-dev
libdbus-glib-1-dev
libpoppler-dev libpoppler-glib-dev

autogen.sh --disable-nautilus 

    Platform...........:  gnome
    GConf Support......:  yes
	GTK+ Unix Print....:  yes
	Keyring Support....:  yes
	DBUS Support.......:  yes
	SM client support..:  xsmp

	Nautilus Plugin....:  no
	Thumbnailer........:  yes
	Previewer..........:  yes
	Gtk-Doc Support....:  no
	Debug mode.........:  no
	GObj. Introspection:  no
	Tests..............:  yes

	PDF Backend........:  yes
	PostScript Backend.:  no
	TIFF Backend.......:  yes
	DJVU Backend.......:  yes
	DVI Backend........:  no
	Pixbuf Backend.....:  no
	Comics Backend.....:  yes
	Impress Backend....:  no

4.5 Compiling inkscape 0.48 for debian squeeze

install following packages: intltool libpng-dev libgc-dev libfreetype06-dev liblcms-dev libgtkmm-2.4-dev libxslt-dev libgsl0-dev libboost-dev libpopt-dev libwpg-dev libmagick++-dev

run ./configure and look at what it says. I might have mispelled some packages..
make
sudo make install

4.6 Xfce4.8 on debian squeeze

http://ahwhattheheck.wordpress.com/2011/07/06/xfce4-8squeeze/

apt-get install gcc gcc-multilib autoconf automake1.9 \
libtool flex bison gdb  gcc-4.4-multilib libmudflap0-4.4-dev \
gcc-4.4-locales libgcc1-dbg libgomp1-dbg libmudflap0-dbg \
libcloog-ppl0 libppl-c2 libppl7 automake make gnu-standards \
build-essential intltool python-gobject-dev libdbus-1-dev \
libdbus-glib-1-dev xorg-dev 
libx11-dev 
libgtk2.0-dev 
libglade2-dev \
libwnck-dev 
libgudev-1.0-dev 
libnotify-dev libgstreamer0.10-dev \
libghc6-gstreamer-dev libkeybinder-dev







Emmanuel Branlard