Build a Signal Desktop AppImage from source
While Signal provides packages for Debian-based Linux distributions, there are no official binaries for other distributions available, such as Gentoo or Fedora.
Sure, there are enough of third-party binaries around, but if you are like me and you would like to avoid running binaries provided by random strangers on the internet, the best strategy is always to build from source.
And Signal Desktop is easy to build! You can even create an AppImage that contains everything you need to run Signal on your favorite flavor of Linux.
git clone https://github.com/signalapp/Signal-Desktop && cd Signal-Desktop
- Checkout the release you want to build, e.g.,
git checkout v6.1.0
- Edit
package.json
and add--linux AppImage
to the end of thebuild:electron
target - Run
git lfs install
- Make sure you have the correct nodejs version (requires
nvm
to be installed):nvm use
- Make sure you have yarn:
npm install --global yarn
yarn install --frozen-lockfile
yarn generate
yarn build
- Copy the executable
./release/Signal-x.y.z.AppImage
to wherever you want - Start with
--use-tray-icon
to have a nice tray indicator
Make sure to regularly check for new releases and rebuild your AppImage to stay up to date and secure.