Awesome Open Source
Awesome Open Source

Element: decentralized, encrypted chat & collaboration

. . . packaged for Fedora and OpenSUSE

IMPORTANT REPOSITORY NOTICE

This repository will no longer host RPMs or SRPMs. Due to github quotas, I am ending storage of the .src.rpm convenience files in all (or most) of my build repositories. You can duplicate my builds with files provided within this repository and with upstream source .tar.gz files. If you can read an RPM spec file, you should be good to go.

For the rest of you who simply want to use the application, follow the instructions for installation of the binary package and enjoy.

What is Element? Decentralized, encrypted chat & collaboration powered by [matrix].

What is Matrix? An open network for secure, decentralized communication.

In short, Element is an open-source, decentralized, end-to-end encrypted, team collaboration platform who's often compared to IRC, Rocket Chat, Mattermost, Slack, and Discord.

Element was once branded Riot. The name changed as of version 1.7.0 (July, 2020).

More fully, Element is a desktop application implementing the client-side of the matrix protocol enabling decentralized, secure messaging for collaborative groups. This repository enables Element to be easily installed and maintained on the Fedora, Red Hat(IBM), and OpenSUSE family of Linux operating systems and tracks the source surrounding those builds. This GitHub repository maintains source RPM packages and spec files so you can rebuild Element if you are so inclined, though prebuilt binaries have been conveniently built for you. See below for how to install and run Element on your Linux desktop.

All *.src.rpm packages provided in this GitHub repository are signed with my GPG key
All binary RPMs are signed with the Fedora Project's COPR GPG signing key

Please note that packages also exist for Android, Apple products, and Microsoft Windows. Element for the web (Chromebook and anyone) is available here: https://app.element.io/ — slick!

More about . . .

tl;dr . . .

I just want to install Element!

It's easy to install, run, and maintain Element. Current builds are provided for these platforms (x86_64 only) . . .
Note: I will stop building for any version of an OS that is itself no longer supported

Successful builds:

  • CentOS: versions 8 and Stream (as of Element 1.7.16)
  • Fedora: versions 31+
  • OpenSUSE: Tumbleweed and Leap 15.2 as of Element 1.7.1

Alternative builds:

  • Flatpak: Leap 15.1 and EL8(RHEL/CentOS) folks can use the Element-team supplied Flatpak: https://flathub.org/apps/details/im.riot.Riot Ideally, we'd have native builds available for Leap 15.1 and RHEL/CentOS, alas. Using a Flatpak (or, for that matter, a Snap or an AppImage) is a brute-force solution, but it is a solution.

Unsuccessful and Struggling builds:

  • CentOS (and RHEL):
    • A missing sqlcipher RPM is a major issue for CentOS builds. See also GitHub issues #31 and #33. Until now (see next bullet) one had to rely on the element flatpak for support. No longer! Or no longer at least for now. :)
    • I was finally, as of 2021-01-03, able to work around it by building my own sqlcipher RPM for the CentOS repos. CentOS8 is essentially Fedora 28. I rebuilt the sqlcipher RPM found here (specifically here). Please note that some of the links on that first page have changed. Read this.
  • OpenSUSE:
    • Leap 15.1: Riot 1.5 and older only. See also GitHub issue #32. Install "Flatpak" instead—see above—or upgrade to a newer OpenSUSE.

[Fedora and CentOS]

Prep . . .

sudo dnf install -y dnf-plugins-core distribution-gpg-keys
sudo dnf copr enable taw/element

Install . . .

sudo dnf install -y element --refresh

[OpenSUSE]

Prep (Leap 15.2) . . .

# Install GPG keys
sudo rpm --import https://keybase.io/toddwarner/key.asc
sudo rpm --import https://download.copr.fedorainfracloud.org/results/taw/element/pubkey.gpg
# Configure and enable the Element repository
sudo zypper install https://download.copr.fedorainfracloud.org/results/taw/element/opensuse-leap-15.2-x86_64/01571621-toddpkgs-element-repo/toddpkgs-element-repo-1.7-5.suse.lp152.taw.noarch.rpm
sudo zypper modifyrepo -er "element-stable"
sudo zypper refresh

Prep (Tumbleweed) . . .

# Install GPG keys
sudo rpm --import https://keybase.io/toddwarner/key.asc
sudo rpm --import https://download.copr.fedorainfracloud.org/results/taw/element/pubkey.gpg
# Configure and enable the Element repository
sudo zypper install https://download.copr.fedorainfracloud.org/results/taw/element/opensuse-tumbleweed-x86_64/01571621-toddpkgs-element-repo/toddpkgs-element-repo-1.7-5.suse.tw.taw.noarch.rpm
sudo zypper modifyrepo -er "element-stable"
sudo zypper refresh

Install . . .

sudo zypper install element

I installed it, now I want to run Element!

Search for and select "Element" from your desktop environment. Done!

Note: If none of this made sense or you couldn't get it to work, Element can also be run as directly from your browser at https://app.element.io/

I installed it, now I want to ensure I get future updates!

Please Note

If within your Element settings > Preferences, you have enabled "Show tray icon and minimize window to it on close" when you exit Element, it minimizes and does not truly exit and upgrades will not be evident until the next reboot.

If you disable that setting, when you exit Element, it truly exits.

Once you have followed the repository and installation instructions above, you should be notified of any future updates enabling you to update the software automatically. And you can always force a check with . . .

# Fedora . . .
sudo dnf upgrade
# OpenSUSE . . .
sudo zypper update

I do this as a hobby, but I will try to be timely with my updates.

Disclaimer

I built these for my own use. I offer these builds for your own convenience (and have now for a long time). If it 'splodes your computer, I am sorry, but buyer beware. :) I am in no way affiliated with the originators of Element—New Vector Ltd/Element—but I do thank them for their wonderful application and the community appreciates their welcoming approach to contributors like myself.

Questions or comments . . .

Contact: t0dd_at_protonmail.com or find me at @t0dd:matrix.org after you have installed Element!


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
shell (9,859
chat (373
desktop (281
messaging (207
matrix (132
collaboration (107
centos (93
fedora (67
element (51
opensuse (22
riot (16

Find Open Source By Browsing 7,000 Topics Across 59 Categories