Install Skype in Ubuntu

Download debian package for Skype from the following url, from it I chose Ubuntu multi arch version.

After downloading skype-ubuntu-precise_4.3.0.37-1_i386.deb , install it with dkpg which is the package manager for Debian version.

# dpkg -i skype-ubuntu-precise_4.3.0.37-1_i386.deb

If you get an error on it

  Errors were encountered while processing:

# skype
skype: error while loading shared libraries: cannot open shared object file: No such file or directory

Now we can check its file type

# file /usr/bin/skype
/usr/bin/skype: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0xa888f203730ac8ff33ae0261a95129dbb76e1857, stripped

so it’s shared object and dynamically linked to shared libraries, and there might be problem some of is dependancies.

You can check dependant libraries of this package by using ‘ldd’ command

# ldd /usr/bin/skype =>  (0xf77b4000) => not found => not found => /lib/i386-linux-gnu/ (0xf5515000) => /lib/i386-linux-gnu/ (0xf5510000) => /usr/lib/i386-linux-gnu/ (0xf53db000) => /usr/lib/i386-linux-gnu/ (0xf53c8000) => not found => not found => not found => not found => not found => not found => /lib/i386-linux-gnu/ (0xf53ab000) => /usr/lib/i386-linux-gnu/ (0xf52c2000) => /lib/i386-linux-gnu/ (0xf527f000) => /lib/i386-linux-gnu/ (0xf5262000) => /lib/i386-linux-gnu/ (0xf50ae000)
    /lib/ (0xf77b5000) => /usr/lib/i386-linux-gnu/ (0xf508c000) => /usr/lib/i386-linux-gnu/ (0xf5088000) => /usr/lib/i386-linux-gnu/ (0xf5081000)

Here I have got many missing dependancies libraries and offcourse broken ones.

You can install broken dependancies using ‘apt-get’ command with ‘-f’ option along with it. ‘-f’ is for correcting a system with broken dependencies.

# apt-get -f install

and continue installation.

Now install debian package of skype again.

# dpkg -i skype-ubuntu-precise_4.3.0.37-1_i386.deb
(Reading database … 192226 files and directories currently installed.)
Preparing to replace skype (using skype-ubuntu-precise_4.3.0.37-1_i386.deb) …
Unpacking replacement skype …
Setting up skype ( …
Processing triggers for hicolor-icon-theme …
Processing triggers for gnome-menus …
Processing triggers for desktop-file-utils …
Processing triggers for bamfdaemon …
Rebuilding /usr/share/applications/bamf-2.index…
Processing triggers for mime-support …

You are done…. 🙂