Jun 19

Install Skype in Ubuntu

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

http://www.skype.com/en/download-skype/skype-for-computer/

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
skype: error while loading shared libraries: libXv.so.1: 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
    linux-gate.so.1 =>  (0xf77b4000)
    libXv.so.1 => not found
    libXss.so.1 => not found
    librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf5515000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf5510000)
    libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf53db000)
    libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf53c8000)
    libQtDBus.so.4 => not found
    libQtWebKit.so.4 => not found
    libQtXml.so.4 => not found
    libQtGui.so.4 => not found
    libQtNetwork.so.4 => not found
    libQtCore.so.4 => not found
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf53ab000)
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf52c2000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf527f000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf5262000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf50ae000)
    /lib/ld-linux.so.2 (0xf77b5000)
    libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf508c000)
    libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf5088000)
    libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (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.

run
# 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 4.3.0.37-1 (using skype-ubuntu-precise_4.3.0.37-1_i386.deb) …
Unpacking replacement skype …
Setting up skype (4.3.0.37-1) …
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…. 🙂

Leave a Reply

Your email address will not be published.