sources/tech/20210116 Install Privacy-friendly WhatsApp Alternative Signal on Linux Desktop.md
7.0 KiB
Install Privacy-friendly WhatsApp Alternative Signal on Linux Desktop
It’s been more than a year since we covered Signal as an ideal choice for instant messaging. While privacy-aware and tech-savvy people were already aware of the existence of this awesome application, Signal got the much deserved fame after the latest WhatsApp privacy policy updates.
Whatever maybe the reason if you are new to Signal and you are wondering if you can use Signal on desktop, the answer is yes. You can install Signal on Linux, Windows and macOS systems along with your smartphone.
I am not going to highlight the features Signal offers because you might already be aware of them. I am going to show you different methods of installing Signal application Linux desktop:
- Install Signal on Linux using Snap (snap applications take longer to load but get automatic update and hassle-free installation)
- Install Signal on Debian and Ubuntu-based distributions using apt (additional efforts in adding the repository but installed apps get automatic updates)
- Install Signal on Arch and Manjaro Linux using AUR
- Install Signal on Fedora and other Linux using Flatpak package
You can choose one of the methods based on your distribution and preference:
Method 1: Installing Signal on Ubuntu and other Linux using Snap
If you are using Ubuntu, you can find Signal desktop app in Snap package format in the Software Center.
Alternatively, you can use the Snap command to install Signal on any Linux distribution that has Snap support enabled.
sudo snap install signal-desktop
You can remove it using snap remove
or from the Software Center.
Some people do not like Snap packages because they take too long to start. The good news is that you can use apt command to install Signal. The next section discusses that.
Method 2: Install Signal on Debian and Ubuntu-based distributions via APT (using official Signal repository)
Here are the steps you have to follow to install Signal from its official repository on Debian, Debian, Linux Mint, elementary OS and other distributions based on Debian/Ubuntu. You can copy the commands and paste it in the terminal.
First thing is to get the GPG key for the official Signal repository and add it to the trusted keys of your APT package manager.
wget -O- https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add -
With the key added, you can safely add the repository to your system. Don’t get alarmed with the use of xenial in the repository name. It will work with Ubuntu 18.04, 20.04 and newer version as well as Debian, Mint etc.
echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" | sudo tee -a /etc/apt/sources.list.d/signal-xenial.list
Thanks to the tee command in Linux, you’ll have a new file signal-xenial.list
in the sources.list directory /etc/apt/sources.list.d
. This new file will have the Signal repository information i.e. deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
.
Now that you have added the repository, update the cache and install Signal desktop application:
sudo apt update && sudo apt install signal-desktop
Once installed, look for Signal in application menu and start it.
Since you have added the repository, your installed Signal application will be automatically updated with the regular system updates.
Enjoy encrypted messaging with Signal on your Linux desktop.
Removing Signal
The tutorial won’t be complete if I don’t share the removal steps with you. Let’s go through it.
First, remove the application:
sudo apt remove signal-desktop
You may leave it as it is, or you may remove the Signal repository from your system. It’s optional and up to you. With the repository still in the system, you can install Signal again, easily. If you remove the repository, you’ll have to add it again following the steps in the previous section.
If you want to remove the Signal repository as well, you can opt for the graphical method by going to Software and Updated tool and deleting it from there.
Alternatively, you can remove the file with rm command:
rm -i /etc/apt/sources.list.d/signal-xenial.list
Method 3: Installing Signal on Arch and Manjaro from AUR
Signal is available to install on Arch-based Linux distributions via AUR. If you are using Pamac on Manjaro and have enabled AUR, you should find Signal in the package manager.
Otherwise, you can always use an AUR helper.
sudo yay -Ss <package-name>
I believe you can delete Signal in the similar function.
Method 4: Installing Signal on Fedora and other Linux using Flatpak
There is no .rpm file for Signal. However, a Flatpak package is available, and you may use that to get Signal on Fedora.
flatpak install flathub org.signal.Signal
Once installed, you can run it from the menu or use the following command in the terminal:
flatpak run org.signal.Signal
Signal and Telegram are two mainstream and viable options to ditch WhatsApp. Both provide native Linux desktop applications. If you use Telegram, you can join the official It’s FOSS channel. I use Signal in individual capacity because it doesn’t have the ‘channel’ feature yet.
via: https://itsfoss.com/install-signal-ubuntu/
作者:Abhishek Prakash 选题:lujun9972 译者:译者ID 校对:校对者ID