Created
November 6, 2020 11:15
-
-
Save emmanuelnk/194e09314a19ef29e4e408c56f00d7a5 to your computer and use it in GitHub Desktop.
Install the latest version of Slack on Linux from the Terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fedora | |
# If you need an international version of Slack, use this URL: | |
# e.g. Korean: | |
# https://slack.com/intl/ko-kr/downloads/instructions/fedora | |
wget -q https://slack.com/downloads/instructions/fedora -O - \ | |
| tr "\t\r\n'" ' "' \ | |
| grep -i -o '<a[^>]\+href[ ]*=[ \t]*"\(ht\|f\)tps\?:[^"]\+"' \ | |
| sed -e 's/^.*"\([^"]\+\)".*$/\1/g' \ | |
| grep 'slack.*rpm' \ | |
| xargs wget -q -O slack-desktop-latest.rpm | |
sudo yum install $HOME/Downloads/slack-desktop-latest.rpm --yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ubuntu | |
# If you need an international version of Slack, use this URL: | |
# e.g. Korean: | |
# https://slack.com/intl/ko-kr/downloads/instructions/ubuntu | |
wget -q https://slack.com/downloads/instructions/ubuntu -O - \ | |
| tr "\t\r\n'" ' "' \ | |
| grep -i -o '<a[^>]\+href[ ]*=[ \t]*"\(ht\|f\)tps\?:[^"]\+"' \ | |
| sed -e 's/^.*"\([^"]\+\)".*$/\1/g' \ | |
| grep 'slack-desktop' \ | |
| xargs wget -q -O $HOME/Downloads/slack-desktop-latest.deb | |
sudo apt install $HOME/Downloads/slack-desktop-latest.deb --yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment