Installing Skype on Debian 8.0 (Jessie)

I’m not really a big fan of Skype, there are other alternative services, and Microsoft has not paid much attention the Linux version since they brought the company and it now lags quite a way behind those for Windows and the Mac (you could argue that this is not a bad thing as it isn’t plagued by adverts).

Fortunately if you need to use Skype you can still download Skype for Linux and it is a multi architecture package so it can be made to work on both 32 and 64 bit systems but isn’t particularly lightweight as you will need to install all the 32 bit libraries on any 64 bit system.

Create an account

If you want to create a new skype username WITHOUT using having to use an e-mail address to login or create an associated Microsoft account register here.

Update Current Packages

Before downloading and installing anything we need to be running as root and it is a good idea to make sure that your system is up to date.

$ su
Password:

OR

$ sudo -i
Password:

# apt-get update;apt-get upgrade
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
  :
  :
  :
Fetched 284 kB in 1s (150 kB/s)                        
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  apt apt-utils base-files cron dbus dbus-x11 libapt-inst1.5 libapt-pkg4.12
  libc-bin libc-dev-bin libc6 libc6-dev libcupsfilters1 libdbus-1-3
  libdbus-1-dev libdns-export100 libegl1-mesa libexpat1 libgbm1
  libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dev libgl1-mesa-glx
  libglapi-mesa libgnutls-deb0-28 libgnutls-openssl27 libgs9 libgs9-common
  libgtk-3-0 libgtk-3-bin libgtk-3-common libgudev-1.0-0 libicu52
  libirs-export91 libisc-export95 libisccfg-export90 libmp3lame0 libnss3
  libpam-systemd libsystemd0 libudev1 libxatracker2
  linux-compiler-gcc-4.8-x86 linux-headers-3.16.0-4-amd64
  linux-headers-3.16.0-4-common linux-image-3.16.0-4-amd64 linux-libc-dev
  locales mesa-common-dev multiarch-support rsyslog screen
  systemd systemd-sysv tzdata udev xserver-xorg-video-modesetting
57 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 83.5 MB of archives.
After this operation, 728 kB disk space will be freed.
Do you want to continue? [Y/n] 
  :
  :
  :
Fetched 83.5 MB in 3min 9s (442 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
  :
  :
  :
Processing triggers for libc-bin (2.19-18+deb8u1) ...
#

Oops – I should probably try to update my system more often!

Downloading Skype for Linux

You can either use this link to the Skype download page or download the client from the command line using ‘wget’.

# wget -c http://download.skype.com/linux/skype-debian_4.3.0.37-1_i386.deb
http://download.skype.com/linux/skype-debian_4.3.0.37-1_i386.deb
Resolving download.skype.com... 77.109.170.64, 77.109.170.82
Connecting to download.skype.com 77.109.170.64|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20118938 (19M) [application/octet-stream]
Saving to: ‘skype-debian_4.3.0.37-1_i386.deb’

skype-debian_4.3.0.37-1_i386.deb 100%[============>]  19.19M 841KB/s in 23s

‘skype-debian_4.3.0.37-1_i386.deb’ saved [20118938/20118938]

Installing Skype

You can install the package using ‘dpkg -i’, however unless you are on a 32-bit system it will probably fail with the following error.

# dpkg -i skype-debian_4.3.0.37-1_i386.deb
dpkg: error processing archive skype-debian_4.3.0.37-1_i386.deb (--install):
 package architecture (i386) does not match system (amd64)
Errors were encountered while processing:
 skype-debian_4.3.0.37-1_i386.deb
#

To fix this we need to configure the installer to install any required 32-bit packages, and then update the known packages again.

# dpkg --add-architecture i386
# apt-get update
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
  :
  :
  :
Fetched 18.8 MB in 1min 42s (223 kB/s)
Reading package lists... Done
# 

Then we can try to install the package again, but unless you already have all the required packages installed you can expect the installation to fail again.

# dpkg -i skype-debian_4.3.0.37-1_i386.deb
Selecting previously unselected package skype.
(Reading database ... 39715 files and directories currently installed.)
Preparing to unpack skype-debian_4.3.0.37-1_i386.deb ...
Unpacking skype (4.3.0.37-1) ...
dpkg: dependency problems prevent configuration of skype:
 skype depends on libc6 (>= 2.3.6-6~).
 skype depends on libc6 (>= 2.7).
  :
  :
  :
Errors were encountered while processing:
 skype
#

The easiest way to resolve this is to let the installer fix the dependencies by automatically installing any missing packages, and since the package ‘skype-debian_4.3.0.37-1_i386.deb’ is still marked for installation it will be installed automatically as well.

# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  gcc-4.9-base:i386 libasound2:i386 libasound2-plugins:i386 libasyncns0:i386
  libattr1:i386 libaudio2:i386 libavcodec56:i386 libavresample2:i386
  libavutil54:i386 libc6 libc6:i386 libcap2:i386 libdbus-1-3
  libdbus-1-3:i386 libdrm2:i386 libexpat1:i386 libffi6:i386 libflac8:i386
  libfontconfig1:i386
  libfreetype6:i386 libgcc1:i386 libgcrypt20:i386 libgl1-mesa-glx
  libgl1-mesa-glx:i386 libglapi-mesa libglapi-mesa:i386 libglib2.0-0:i386
  libgpg-error0:i386 libgsm1:i386 libgstreamer-plugins-base1.0-0:i386
  libgstreamer1.0-0:i386 libice6:i386 libjack-jackd2-0:i386 libjbig0:i386
  libjpeg62-turbo:i386 libjson-c2:i386 liblcms2-2:i386 liblzma5:i386
  libmng1:i386 libmp3lame0 libmp3lame0:i386 libogg0:i386 libopenjpeg5:i386
  libopus0:i386 liborc-0.4-0:i386 libpam-systemd libpcre3:i386
  libpng12-0:i386 libpulse0:i386 libqt4-dbus:i386 libqt4-network:i386
  libqt4-opengl:i386 libqt4-xml:i386 libqt4-xmlpatterns:i386 libqtcore4:i386 
  libqtdbus4:i386 libqtgui4:i386 libqtwebkit4:i386 libsamplerate0:i386
  libschroedinger-1.0-0:i386 libselinux1:i386 libsm6:i386 libsndfile1:i386
  libspeex1:i386 libspeexdsp1:i386 libsqlite3-0:i386 libssl1.0.0:i386
  libstdc++6:i386 libsystemd0 libsystemd0:i386 libtheora0:i386 libtiff5:i386
  libudev1 libudev1:i386 libuuid1:i386 libva1:i386 libvorbis0a:i386
  libvorbisenc2:i386 libvpx1:i386 libwrap0:i386 libx11-6:i386
  libx11-xcb1:i386 libx264-142:i386 libxau6:i386 libxcb-dri2-0:i386
  libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386
  libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386
  libxi6:i386 libxrender1:i386 libxshmfence1:i386 libxss1:i386 libxt6:i386
  libxtst6:i386 libxv1:i386 libxvidcore4:i386 libxxf86vm1:i386 systemd
  systemd-sysv udev zlib1g:i386
Suggested packages:
  nas:i386 glibc-doc glibc-doc:i386 locales:i386 rng-tools:i386
  libvisual-0.4-plugins:i386 gstreamer-codec-install:i386
  gnome-codec-install:i386 gstreamer1.0-tools:i386 jackd2:i386
  liblcms2-utils:i386 opus-tools:i386 libicu52:i386 libthai0:i386
  qt4-qtconfig:i386 speex:i386 systemd-ui
Recommended packages:
  libc6-i686:i386 libgl1-mesa-dri:i386 xdg-user-dirs:i386
  gstreamer1.0-plugins-base:i386 ca-certificates:i386 libcups2:i386
  uuid-runtime:i386 va-driver-all:i386 va-driver:i386 tcpd:i386
The following NEW packages will be installed:
  gcc-4.9-base:i386 libasound2:i386 libasound2-plugins:i386 libasyncns0:i386
  libattr1:i386 libaudio2:i386 libavcodec56:i386 libavresample2:i386
  libavutil54:i386 libc6:i386 libcap2:i386 libdbus-1-3:i386 libdrm2:i386
  libexpat1:i386 libffi6:i386 libflac8:i386 libfontconfig1:i386
  libfreetype6:i386 libgcc1:i386 libgcrypt20:i386 libgl1-mesa-glx:i386
  libglapi-mesa:i386 libglib2.0-0:i386 libgpg-error0:i386 libgsm1:i386
  libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libice6:i386
  libjack-jackd2-0:i386 libjbig0:i386 libjpeg62-turbo:i386 libjson-c2:i386
  liblcms2-2:i386 liblzma5:i386 libmng1:i386 libmp3lame0:i386 libogg0:i386
  libopenjpeg5:i386 libopus0:i386 liborc-0.4-0:i386 libpcre3:i386
  libpng12-0:i386 libpulse0:i386 libqt4-dbus:i386 libqt4-network:i386
  libqt4-opengl:i386 libqt4-xml:i386 libqt4-xmlpatterns:i386 libqtcore4:i386
  libqtdbus4:i386 libqtgui4:i386 libqtwebkit4:i386 libsamplerate0:i386
  libschroedinger-1.0-0:i386 libselinux1:i386 libsm6:i386 libsndfile1:i386
  libspeex1:i386 libspeexdsp1:i386 libsqlite3-0:i386 libssl1.0.0:i386
  libstdc++6:i386 libsystemd0:i386 libtheora0:i386 libtiff5:i386
  libudev1:i386 libuuid1:i386 libva1:i386 libvorbis0a:i386
  libvorbisenc2:i386 libvpx1:i386 libwrap0:i386 libx11-6:i386
  libx11-xcb1:i386 libx264-142:i386 libxau6:i386 libxcb-dri2-0:i386
  libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386
  libxcb-sync1:i386 libxcb1:i386 libxdamage1:i386 libxdmcp6:i386
  libxext6:i386 libxfixes3:i386 libxi6:i386 libxrender1:i386
  libxshmfence1:i386 libxss1:i386 libxt6:i386 libxtst6:i386 libxv1:i386
  libxvidcore4:i386 libxxf86vm1:i386 zlib1g:i386
The following packages will be upgraded:
  libc6 libdbus-1-3 libgl1-mesa-glx libglapi-mesa libmp3lame0 libpam-systemd
  libsystemd0 libudev1 systemd systemd-sysv udev
11 upgraded, 96 newly installed, 0 to remove and 34 not upgraded.
1 not fully installed or removed.
Need to get 57.4 MB of archives.
After this operation, 143 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ftp.uk.debian.org/debian/ jessie/main libc6 [4,659 kB]
  :
  :
  :
Fetched 57.4 MB in 2min 8s (445 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
  :
Setting up skype (4.3.0.37-1) ...
Processing triggers for libc-bin (2.19-18) ...
Processing triggers for dbus (1.8.18-0+deb8u1) ...
# 

That should be all you need to do apart from checking that the correct audio devices have been selected by default and checking all your preferences are correct the first time you run Skype.

Alternatives

There are a number of open source alternatives to Skype including Linphone, Jitsi, Ekiga, Blink and Firefox Hello.


The Skype name, associated trade marks and logos and the “S” logo are trade marks of Skype or related entities.

Advertisements
This entry was posted in Debian and tagged , . Bookmark the permalink.

5 Responses to Installing Skype on Debian 8.0 (Jessie)

  1. Mugo FMM says:

    Very good, thank you for that ;-)

  2. icex 64 says:

    Thanks…

  3. super. thank you =)

  4. I owe you a beer ;-)

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s