Kali Linux Install Skype: Difference between revisions
m Text replacement - "Mac OS" to "MacOS" |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
== Download and Install Skype for Linux == | == Download and Install Skype for Linux == | ||
Skype for Desktop is available for Windows, | Skype for Desktop is available for Windows, MacOS X and Linux. For Linux it is available as <code>snap</code>, <code>.rpm</code>, and <code>.deb</code> package. Kali is Debian based so we need the <code>.deb</code> package. | ||
<syntaxhighlight lang="shell" line="1"> | <syntaxhighlight lang="shell" line="1"> | ||
Line 15: | Line 15: | ||
cp /usr/share/applications/skypeforlinux.desktop ~/Desktop/Skype.desktop | cp /usr/share/applications/skypeforlinux.desktop ~/Desktop/Skype.desktop | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Once the above command is executed, right click on the new icon and choice on the <code>Allow Launching</code> option. | Once the above command is executed, right click on the new icon and choice on the <code>Allow Launching</code> option. | ||
{{media|1|Skype for Linux Settings General Tab.png| sz = 320}} | |||
Or run the following [https://stackoverflow.com/a/73455006/6543935 commands] which will do the same for you.<syntaxhighlight lang="shell" line="1" class="force-prompt"> | |||
desktop-file-install --mode=0755 --dir=$HOME/Desktop ~/Desktop/Skype.desktop | |||
dbus-launch gio set ~/Desktop/Skype.desktop "metadata::trusted" true | |||
</syntaxhighlight>{{media|1|Skype for Linux Settings General Tab.png| sz = 320}} | |||
== Add to Autostart Applications == | == Add to Autostart Applications == | ||
Line 23: | Line 27: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Fix the Deprecated Keyring == | == Fix the Deprecated Keyring Warning == | ||
'''The issue.''' After the Installation when I'm using <code>apt</code> the following warning message appears.<syntaxhighlight lang="shell" line="1"> | '''The issue.''' After the Installation when I'm using <code>apt</code> the following warning message appears.<syntaxhighlight lang="shell" line="1"> | ||
sudo apt update | sudo apt update | ||
Line 32: | Line 36: | ||
</syntaxhighlight>One way to resolve this is to export the GPG key from the deprecated keyring and store it in <code>/usr/share/keyrings</code>. The source of the solution is listed within the references section, it provides the necessary explanations, here it is converted to a small script.<syntaxhighlight lang="shell" line="1"> | </syntaxhighlight>One way to resolve this is to export the GPG key from the deprecated keyring and store it in <code>/usr/share/keyrings</code>. The source of the solution is listed within the references section, it provides the necessary explanations, here it is converted to a small script.<syntaxhighlight lang="shell" line="1"> | ||
APP="Skype" | 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}') | 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 apt-key export "$KEY" | sudo gpg --dearmour -o "/usr/share/keyrings/${APP}.gpg" | ||
sudo sed "s#]# signed-by=/usr/share/keyrings/${APP}.gpg]#" | sudo sed -i.bak "s#]# signed-by=/usr/share/keyrings/${APP}.gpg]#" "$LIST" | ||
sudo apt update | |||
sudo apt-key del "$KEY" | sudo apt-key del "$KEY" | ||
sudo | sudo rm "${LIST}.bak" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== References == | == References == | ||
* Download Skype: [https://www.skype.com/en/get-skype/ Skype for Desktop] | * Download Skype: [https://www.skype.com/en/get-skype/ Skype for Desktop] | ||
* Ask Ubuntu: [https://askubuntu.com/q/1398344/566421 apt-key deprecation warning when updating system] | * Ask Ubuntu: [https://askubuntu.com/q/1398344/566421 apt-key deprecation warning when updating system] | ||
* Ask Ubuntu: [https://askubuntu.com/a/823086/566421 Intel graphic ppa error after apt-get update] | |||
<noinclude> | <noinclude> | ||
Line 46: | Line 53: | ||
{{devStage | {{devStage | ||
| Прндл = Linux Desktop | | Прндл = Linux Desktop | ||
| Стадий = | | Стадий = 6 | ||
| Фаза = | | Фаза = Утвърждаване | ||
| Статус = | | Статус = Утвърден | ||
| ИдтПт = Spas | | ИдтПт = Spas | ||
| РзбПт = | | РзбПт = Spas | ||
| АвтПт = Spas | | АвтПт = Spas | ||
| УтвПт = | | УтвПт = {{REVISIONUSER}} | ||
| ИдтДт = 2.07.2022 | | ИдтДт = 2.07.2022 | ||
| РзбДт = | | РзбДт = 20.08.2022 | ||
| АвтДт = | | АвтДт = 20.08.2022 | ||
| УтвДт = | | УтвДт = {{Today}} | ||
| ИдтРв = [[Special:Permalink/27036|27036]] | | ИдтРв = [[Special:Permalink/27036|27036]] | ||
| РзбРв = | | РзбРв = [[Special:Permalink/30438|30438]] | ||
| АвтРв = | | АвтРв = [[Special:Permalink/30440|30440]] | ||
| РзАРв = [[Special:Permalink/30393|30393]] | | РзАРв = [[Special:Permalink/30393|30393]] | ||
| УтвРв = | | УтвРв = {{REVISIONID}} | ||
| РзУРв = [[Special:Permalink/30395|30395]] | | РзУРв = [[Special:Permalink/30395|30395]] | ||
}} | }} | ||
</div> | </div> | ||
</noinclude> | </noinclude> |
Latest revision as of 14:49, 28 October 2022
Download and Install Skype for Linux
Skype for Desktop is available for Windows, MacOS 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.
Or run the following commands which will do the same for you.
desktop-file-install --mode=0755 --dir=$HOME/Desktop ~/Desktop/Skype.desktop
dbus-launch gio set ~/Desktop/Skype.desktop "metadata::trusted" true
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 update
sudo apt-key del "$KEY"
sudo rm "${LIST}.bak"
References
- Download Skype: Skype for Desktop
- Ask Ubuntu: apt-key deprecation warning when updating system
- Ask Ubuntu: Intel graphic ppa error after apt-get update