How to easy install skype on Debian Squeeze AMD64
On the net, we can found several howto about skype installation on Debian Squeeze AMD64. Here I proposes a solution that allow to install skype without installing the i386 packaged version by forcing it via dpkg:
I. Getting static skype version:
1. Go to the /opt directory as root:
2. Go to the skype site home page, create new account or connect you with your current skype login credentials, and then, download the static version of skype like this:
Code:
# wget http://www.skype.com/go/getskype-linux-beta-static
3. Extracting skype archive:
Code:
# tar xjfv skype_static-2.1.0.81.tar.bz2
# mv skype_static-2.1.0.81 skype
# cd skype
II. Installing dependencies:
1. Install all libraries required to emulate 32bit environment:
Code:
# aptitude install ia32-libs ia32-libs-gtk lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 linux32
# Todo libasound2-plugins / bluez-utils
2. Fixing dependencies problems (
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543448 )
a. Getting and installing libwrap0 library (i386 version):
1. Get pool URI for libwrap0:
Code:
# apt-cache policy libwrap0
Result is like: http://ftp2.fr.debian.org
2. Getting libwrap0 library path in pool:
Code:
# apt-cache show libwrap0 |grep Filename:
Result is like: Filename: pool/main/t/tcp-wrappers/libwrap0_7.6.q-19_amd64.deb
3. Get i386 version of the libwrap0 library:
Code:
# wget http://ftp2.fr.debian.org/debian/pool/main/t/tcp-wrappers/libwrap0_7.6.q-19_i386.deb
Note: The pattern is like this: {POOL_URI}/debian/{LIBRARY_PATH}
4. Extracting the libwrap0 library in /opt/skype:
Code:
dpkg-deb -X libwrap0_7.6.q-19_i386.deb /opt/skype
a. Getting and installation of the libgdbm3 library (i386 version):
Just repeat the same steps as for the libwrap0 library.
III Configuration for shared libraries
1. Creating a new file named skype.conf in /etc/ld.so.conf.d with the following content in it:
Code:
/opt/skype/lib
/opt/skype/usr/lib
2. updating links:
After, this, you can already run skype by executing the following command (as normal user) :
Note: You can easily add a menu (On gnome, right click on Applications menu and select edit menu...)