How to Install Skype for Linux in Ubuntu 16.04 Via Console only? [duplicate]

I use Ubuntu 16.04

I want to install Skype for Linux through the console.

Is it possible?

If I try to install via Software Installer, it closes automatically.


Skype for Linux

You can download Skype on official website. They have two versions: DEB and RPM. Link to download - Skype for Linux

Install Skype for Linux on Debian/Ubuntu via console

  1. Install apt-transport-https:

    sudo apt install apt-transport-https
    
  2. Download key GPG key:

    curl https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -
    
  3. Add Skype to the list of Apt repositories:

    echo "deb https://repo.skype.com/deb stable main" | sudo tee /etc/apt/sources.list.d/skypeforlinux.list
    
  4. Install Skype for Linux:

    sudo apt update
    sudo apt install skypeforlinux