0

This question already has an answer here:

I need to know how I can install skype-4.3.0.37.tar.bz2 in Ubuntu 14.04.

marked as duplicate by David Foerster, muru, Eric Carvalho, Ravan, hg8 Dec 28 '15 at 8:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • The filename indicates that you're dealing with an archive. In a terminal type tar xvfj skype-4.3.0.37.tar.bz2 to unpack the archive to find out what it contains. Possibly it contains something you can install. – wie5Ooma Dec 27 '15 at 2:28
  • 1
    Why don't you use the Deb package like everybody else? – David Foerster Dec 27 '15 at 9:03
  • 1
    @DavidFoerster - It is absolutely not a duplicate. He doesn't want to install a *.deb, it's his choice. – Raphael Dec 27 '15 at 12:05
  • @DavidFoerster - Maybe because of unknown errors such as this - askubuntu.com/questions/710758/… – Raphael Dec 27 '15 at 12:08
  • @Raphael did you start reading minds? Perhaps OP doesn't know there are deb files or how they can be used. – muru Dec 27 '15 at 13:51
1

These are the detailed steps as to how to install Skype from tar.gz in Ubuntu.

  1. Download the .tar.gz from the website.

  2. Now open file-manager and browse to the downloaded file.

  3. Right-click on it and select Extract Here.

    1

    2

  4. Browse to the extracted folder and open the README file:

    3

    4

  5. Next, open a terminal and type (editing the relevant parts):

    cd DRAG AND DROP THE EXTRACTED skype-4.3.0* FOLDER HERE
    

5

  1. If you are in a 64-bit machine type the following command:

    sudo dpkg --add-architecture i386
    
  2. Type the following command:

    sudo cp skype /usr/bin
    

    6

  3. Next, type the following command:

    sudo mkdir /usr/share/skype
    

    7

  4. Next, type the following commands serially:

    sudo cp -R avatars/ /usr/share/skype/
    sudo cp -R sounds/ /usr/share/skype/
    sudo cp -R lang/ /usr/share/skype/
    

    8

  5. Now, close the terminal.

  6. To launch Skype, type skype in the terminal.

  7. If there are any errors, as shown in the screenshots then type the commands that follow:

    9

    10

    sudo apt-get update && sudo apt-get install libqtdbus4:i386 libqtwebkit4:i386
    
  8. Now, try to launch Skype again by typing skype in terminal. It should launch by now.

    11


As requested by jeykeu, here are the scripts that automate the above process:

Note: Or you can download the scripts for-installation and for-uninstallation.

  • If required make it executable

    chmod +x /path/to/Skype-installation-ubuntu.sh
    
    chmod +x /path/to/Skype-uninstallation-ubuntu.sh
    

    then, double-click on it and click on Run to run the script.

For installation:

#!/bin/bash

cd ~/Downloads/tmp
sleep 5
wget -c http://download.skype.com/linux/skype-4.3.0.37.tar.bz2
sleep 5
tar -xvzf skype-4.3.0.37.tar.bz2
sleep 5
cd skype*
sleep 5
sudo dpkg --add-architecture i386
sleep 5
sudo cp skype /usr/bin
sleep 5
sudo mkdir /usr/share/skype
sleep 5
sudo cp -R avatars/ /usr/share/skype/
sleep 5
sudo cp -R sounds/ /usr/share/skype/
sleep 5
sudo cp -R lang/ /usr/share/skype/
sleep 5
sudo apt-get update && sudo apt-get install -y libqtdbus4:i386 libqtwebkit4:i386
sleep 5
rm -rf ~/Downloads/tmp

exit 0
  • Copy the above and save it as /path/to/anyname.sh also if required make it executable

    chmod +x /path/to/anyname.sh
    

    then, double-click on it and click on Run to run the script.

For uninstallation:

#!/bin/bash

sudo rm -rf /usr/bin
sleep 5
sudo rm -rf /usr/share/skype
sleep 5
sudo apt-get remove --purge -y libqtdbus4:i386 libqtwebkit4:i386

exit 0
  • Copy the above and save it as /path/to/anyname.sh also if required make it executable

    chmod +x /path/to/anyname.sh
    

    then, double-click on it and click on Run to run the script.

  • You could have created a shell script – Junaid Qadir Feb 8 '16 at 16:52
  • 1
    @JeyKeu - Added – Raphael Feb 10 '16 at 4:45
1

Open a terminal and navigate the directory where skype-4.3.0.37.tar.bz2 is and run:

tar -xvjf skype-4.3.0.37.tar.bz2

Which will untar it to the current directory.Normally (99% of the time) it will create it's own subdirectory so you don't need to worry about that.
Just so you know:
tar - Tape ARchiver
And the options:
x - extract
v - verbose output (lists all files as they are extracted)
j - deal with bzipped file
f - read from a file, rather than a tape device

tar --help will give you more options and info.
From how to extract a "tar.bz2" file?.

To install run these two commands:

sudo apt-get install dconf-tools
dconf-editor

Expand desktop->unity->panel and add the following to the systray-whitelist item: 'Skype', 'skype'
Finally logout and login again from Unity. Navigate the skype-4.3.0.37 directory (where skype-4.3.0.37.tar.bz2 initially was). Then do:

./skype

If the Skype does not appear in the Tray, a workaround can be:

sudo apt-get install sni-qt:i386

From skype-4.3.0.37 README.

1

The answer from Hossen works, but this procedure is deprecated (as in https://help.ubuntu.com/community/Skype ).

The safest way to install skype is to run these commands on a terminal:

sudo dpkg --add-architecture i386

sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"

sudo apt-get update && sudo apt-get install skype

Skype is now installed and ready to use.

Not the answer you're looking for? Browse other questions tagged or ask your own question.