Skip to content

Building Signal Desktop on Fedora

In 2020-03-29 this guide was re-written from an old method and spec file to a new one fetched from here.

Here's how I build my own RPM for Signal Desktop. This guide has been evolving since Fedora 28.


The Signal org provides no official RPM and I don't trust 3rd parties building their own so I go through this process every time I need to update Signal Desktop.

Setup rpmbuild

Pick somwhere to build your RPMs, I've picked $HOME/src/rpmbuild and hard coded that into my .rpmmacros file. So it looks like this.

%_topdir %(echo $HOME)/src/rpmbuild
%_tmppath %(echo $HOME)/src/rpmbuild/tmp

%__arch_install_post \
    [ "%{buildarch}" = "noarch" ] || QA_CHECK_RPATHS=1 ; \
    case "${QA_CHECK_RPATHS:-}" in [1yY]*) /usr/lib/rpm/check-rpaths ;; esac \
$ mkdir -p $HOME/src/rpmbuild
$ mkdir $HOME/src/rpmbuild/{SPECS,SOURCES}

Download SPEC and SOURCE for Signal

Clone the git repo with the SPEC and patch files

$ mkdir $HOME/src
$ cd $HOME/src
$ git clone
$ cp Signal-Desktop/*.spec ~/src/rpmbuild/SPECS/
$ cp Signal-Desktop/*.{patch,desktop} ~/src/rpmbuild/SOURCES/
$ cd ~/src/rpmbuild

NOTE That the last working commit I've successfully built Signal-Desktop with is this one.

Download the source release tarball into the SOURCES directory

$ curl -Lo SOURCES/Signal-Desktop-1.39.4.tar.gz

Install yarn

Some might install it using npm as a global package but I prefer using official repos. So follow those instructions on installing the yarn repo.

Install dependency packages

Signal-Desktop requires node 12 and you can install a specific release in Fedora 33 using streams.

$ sudo dnf module install nodejs:12
$ sudo dnf install rpm-build python2 openssl-devel gcc-c++ yarn '@Development Tools'


As of 2021-01-18 I need the QA_RPATHS environment variable set for rpmbuild to succeed, due to my rpmmacros file running check-rpaths so this has nothing to do with Signal or the build patches.

$ export QA_RPATHS=$(( 0x0001|0x0002|0x0008 ))
$ rpmbuild -bb SPECS/Signal-Desktop.spec


$ sudo dnf install RPMS/x86_64/Signal-Desktop-1.39.4-1.fc33.x86_64.rpm

Last update: January 18, 2021