Kali Linux Install Skype
Download and Install Skype for Linux
Skype for Desktop is available for Windows, Mac OS X and Linux. For Linux it is available as snap
, .rpm
, and .deb
package. Kali is Debian based so we need the .deb
package.
wget https://go.skype.com/skypeforlinux-64.deb -O ~/Downloads/skype.deb
sudo apt install ~/Downloads/skype.deb
Add Shortcut on the Desktop
cp /usr/share/applications/skypeforlinux.desktop ~/Desktop/Skype.desktop
Once the above command is executed, right click on the new icon and choice on the Allow Launching
option.
Add to Autostart Applications
You can add Skype to the list of autostart applications by executing the following command, or better you can tweak the Skype's settings as it is shown at Figure 1.
cp /usr/share/applications/skypeforlinux.desktop ~/.config/autostart/
Fix the Deprecated Keyring Warning
The issue. After the Installation when I'm using apt
the following warning message appears.
sudo apt update
...
All packages are up to date.
W: https://repo.skype.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
One way to resolve this is to export the GPG key from the deprecated keyring and store it in /usr/share/keyrings
. The source of the solution is listed within the references section, it provides the necessary explanations, here it is converted to a small script.
APP="Skype"
LIST="/etc/apt/sources.list.d/skype-stable.list"
KEY=$(sudo apt-key list 2>/dev/null | grep -i "$APP" -B1 | head -n1 | awk '{print $(NF-1)$NF}')
sudo apt-key export "$KEY" | sudo gpg --dearmour -o "/usr/share/keyrings/${APP}.gpg"
sudo sed -i.bak "s#]# signed-by=/usr/share/keyrings/${APP}.gpg]#" "$LIST"
sudo apt-key del "$KEY"
sudo apt update
sudo rm "${LIST}.bak"
References
- Download Skype: Skype for Desktop
- Ask Ubuntu: apt-key deprecation warning when updating system