{"id":13892980,"url":"https://github.com/taw00/element-rpm","last_synced_at":"2025-07-17T06:32:00.981Z","repository":{"id":37433464,"uuid":"77774689","full_name":"taw00/element-rpm","owner":"taw00","description":"Providing the Element messaging desktop client packaged for the Fedora, Red Hat(IBM), and OpenSUSE families of linux desktop operating systems.","archived":false,"fork":false,"pushed_at":"2022-10-06T04:24:03.000Z","size":328504,"stargazers_count":99,"open_issues_count":1,"forks_count":17,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-07T17:33:09.609Z","etag":null,"topics":["centos","chat","collaboration","desktop","e2ee","element","fedora","matrix","messaging","opensuse","riot","rpm-packages"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taw00.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-01T10:34:07.000Z","updated_at":"2024-07-23T18:16:06.000Z","dependencies_parsed_at":"2022-07-27T16:18:34.472Z","dependency_job_id":null,"html_url":"https://github.com/taw00/element-rpm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taw00%2Felement-rpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taw00%2Felement-rpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taw00%2Felement-rpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taw00%2Felement-rpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taw00","download_url":"https://codeload.github.com/taw00/element-rpm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226226515,"owners_count":17592387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["centos","chat","collaboration","desktop","e2ee","element","fedora","matrix","messaging","opensuse","riot","rpm-packages"],"created_at":"2024-08-06T17:01:21.891Z","updated_at":"2024-11-24T20:32:05.132Z","avatar_url":"https://github.com/taw00.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Element: decentralized, encrypted chat \u0026 collaboration\n\n_.\u0026nbsp;.\u0026nbsp;.\u0026nbsp;packaged for Fedora and OpenSUSE_\n\n_**What is this GitHub Repository?**_\n\nThe purpose of this repository is to store all the bits and pieces needed to build and package the Element application for various RPM flavors of Linux: CentOS, Fedora, and OpenSUSE. The binary (installable and runnable) packages \u003cs\u003eare\u003c/s\u003e were then built on the \u003cs\u003e[Fedora Project's COPR build system](https://copr.fedorainfracloud.org/coprs/taw/element/)\u003c/s\u003e.\n\n---\n\n---\n\n**SHUT DOWN NOTICE**\n\n**I am closing down this project for two reasons:**\n\n1. a core upstream component of Element (the Electron platform) embeds non-free software (a couple codecs in libffmpeg.so) and I have been asked (told) to stop using my preferred build system (COPR)\n2. builds for OpenSUSE are *again* super-challenging\n\nAs such, today—March 1, 2022, version 1.10.6—after almost four years of working on this project, I am ending my maintenance of Element builds for CentOS, Fedora, and OpenSUSE. Any change after this are for my own amusement and for no others. I may continue to experiment. Or maybe not. But, my builds for others are done. This makes me sad, but I am tired of fighting library versions, tired of fighting NodeJS and electron, and the build system I use no longer will permit me to build Element there. So, that's that.\n\nI am a fan of the project and think they are clearly a superior solution in the groups-chat space, but I am tired of fighting all the technical debt baggage and complexity associated to NodeJS and Electron. At some point I will stop checking in changes and that will be that. If someone wants to use my spec files and start a new RPM build project, please do so. Just let me know so I can link to it here.\n\n**THERE IS AN ALTERNATIVE TO MY RPM BUILDS!**\n\nThere is an alternative build out there that should work for everyone: a Flatpak! I am not a huge fan of the bloat and non-native-ness of Flatpak/Snap/AppData builds (they are a kludge), but like all kludges, they are often *good enough*. So ... instead of the RPM, just go ahead and [install the Flatpak](https://flathub.org/apps/details/im.riot.Riot).\n\nA big *thank you* goes out to all the good folks who supported and encouraged me over these four year. Cheers! -todd\n\n---\n\n---\n\n\u003c!--\n\u003e IMPORTANT REPOSITORY NOTICE  \n\u003e   \n\u003e This repository will no longer host RPMs or SRPMs. Due to github quotas, I am\n\u003e ending storage of the `.src.rpm` convenience files in all (or most) of my\n\u003e build repositories. You can duplicate my builds with files provided within\n\u003e this repository and with upstream source `.tar.gz` files. If you can read an\n\u003e RPM spec file, you should be good to go.  \n\u003e   \n\u003e For the rest of you who simply want to use the application, follow the\n\u003e instructions for installation of the binary package and enjoy.\n--\u003e\n\u003c!--\n\u003e IMPORTANT!!!\n\u003e * If you encounter a problem that looks like this: `Curl error (6): Couldn't resolve host name for https://download.copr.fedoraproject.org/...` when you run dnf or zypper.\n\u003e * There is a solution: Follow the \"Prep\" step below for your distribution and you will be functional again.\n\u003e * Why does this happen: Because I screwed up and pushed out a repo configuration with the wrong URL. A deeply embarassing mistake.\n\u003e My apologies -todd\n--\u003e\n\n_**What is Element?**_ Decentralized, encrypted chat \u0026 collaboration powered by [matrix].\n\n_**What is Matrix?**_ An open network for secure, decentralized communication.\n\nIn 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.\n\n\u003c!--\n\u003e Element was once branded Riot. The name changed as of version 1.7.0 (July, 2020).\n--\u003e\n\nMore 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.\n\n\u003c!--\nAny `*.rpm` packages provided in this GitHub repository are signed with [my GPG key](https://keybase.io/toddwarner/key.asc)\u003cbr /\u003eAll binary RPMs distrubuted via the COPR build system are signed with the [Fedora Project's](https://fedoraproject.org/) [COPR GPG signing key](https://download.copr.fedorainfracloud.org/results/taw/element/pubkey.gpg)\n--\u003e\n\n#### More about\u0026nbsp;.\u0026nbsp;.\u0026nbsp;.\n\n* Element: \u003chttps://element.io/\u003e and the source repositories, [element-desktop](https://github.com/vector-im/element-desktop) and [element-web](https://github.com/vector-im/element-web)\n* Matrix: \u003chttps://matrix.org/\u003e and \u003chttps://en.wikipedia.org/wiki/Matrix_(communication_protocol)\u003e\n* A couple reviews from [some dude](http://www.1500wordmtu.com/2016/slack-no-more-why-you-should-use-riotim-and-matrixorg), [TechCrunch](https://techcrunch.com/2016/09/19/riot-wants-to-be-like-slack-but-with-the-flexibility-of-an-underlying-open-source-platform/), and the [Slant community](https://www.slant.co/options/12764/~matrix-review)\u003cbr /\u003e_Unsurprisingly, I personally think Element is superior to Slack and Rocket Chat._\n* Element for Microsoft, Apple, and Android products can be found at \u003chttps://element.io\u003e and the Apple and Android Play Stores. Element for the web (Chromebook and anyone) is available here: \u003chttps://app.element.io/\u003e.\n\n\n\u003c!-- \n=========================================================================================================\n# tl;dr\u0026nbsp;.\u0026nbsp;.\u0026nbsp;.\n\n## I just want to install Element!\n\nIt's easy to install, run, and maintain Element. Current builds are provided for these platforms (x86\\_64 only)\u0026nbsp;.\u0026nbsp;.\u0026nbsp;.  \n_Note: I will stop building for any version of an OS that is itself no longer supported_\n\nSuccessful builds:\n* **CentOS:** versions 8 and Stream (as of Element 1.7.16)\n  - Note, EL8 for RHEL and CentOS proper is a bear to build for and may be dropped. CentOS Stream is currently staying current with the builds.\n* **Fedora:** versions 34+\n* **OpenSUSE:** Tumbleweed and Leap 15.3 and Leap 15.2 as of Element 1.7.1\n  - Note, Leap is a bear to build for and may be behind in versions.\n\nAlternative builds:\n* **Flatpak:** OpenSUSE Leap and EL8(RHEL/CentOS) folks can use the Element-team supplied Flatpak: \u003chttps://flathub.org/apps/details/im.riot.Riot\u003e Ideally, we'd have reasonably current native builds available for Leap and RHEL/CentOS, but alas. Using a Flatpak (or, for that matter, a Snap or an AppImage) is a brute-force solution, but it is a solution.\n\n\u003c! - -\nUnsuccessful and Struggling builds:\n* **CentOS (and RHEL):**\n  - A missing sqlcipher RPM is a major issue for CentOS builds. See also GitHub\n    issues [#31](https://github.com/taw00/element-rpm/issues/31) and\n[#33](https://github.com/taw00/element-rpm/issues/33). Until now (see next\nbullet) one had to rely on the element flatpak for support. No longer! Or no\nlonger at least for now. :)\n  - I was finally, as of 2021-01-03, able to work around it by building my own\n    sqlcipher RPM for the CentOS repos. CentOS8 is essentially Fedora 28. I\nrebuilt the sqlcipher RPM found\n[here](https://rpms.remirepo.net/rpmphp/zoom.php?rpm=sqlcipher) (specifically\n[here](https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/28/Everything/source/tree/Packages/s/sqlcipher-3.4.1-2.fc28.src.rpm)).\nPlease note that some of the links on that first page have changed. Read\n[this](https://dl.fedoraproject.org/pub/fedora/linux/releases/28/README).\n* **OpenSUSE:**\n  - Leap 15.1: Riot 1.5 and older only. See also GitHub issue [#32](https://github.com/taw00/element-rpm/issues/32). Install \"Flatpak\" instead—see above—or upgrade to a newer OpenSUSE.\n- - \u003e\n\n### [Fedora and CentOS]\n\n**Prep\u0026nbsp;.\u0026nbsp;.\u0026nbsp;.**\n```bash\nsudo dnf install -y dnf-plugins-core distribution-gpg-keys\nsudo dnf copr enable taw/element\n```\n\n\u003c ! - -\n.\u0026nbsp;.\u0026nbsp;.\u0026nbsp;alternative\u0026nbsp;.\u0026nbsp;.\u0026nbsp;.\n```bash\n# Install GPG keys\nsudo rpm --import https://keybase.io/toddwarner/key.asc\nsudo rpm --import https://download.copr.fedorainfracloud.org/results/taw/element/pubkey.gpg\n# Configure and enable the Element repository (fc31, fc32, etc ... doesn't matter)\nsudo dnf install https://download.copr.fedorainfracloud.org/results/taw/element/fedora-32-x86_64/01571621-toddpkgs-element-repo/toddpkgs-element-repo-1.7-5.fc32.taw.noarch.rpm\n```\n- - \u003e\n\n**Install\u0026nbsp;.\u0026nbsp;.\u0026nbsp;.**\n```bash\nsudo dnf install -y element --refresh\n```\n\n### [OpenSUSE]\n\n**Prep (Leap 15.2 and 15.3)\u0026nbsp;.\u0026nbsp;.\u0026nbsp;.**\n```bash\n# Install GPG keys\nsudo rpm --import https://keybase.io/toddwarner/key.asc\nsudo rpm --import https://download.copr.fedorainfracloud.org/results/taw/element/pubkey.gpg\n# Configure and enable the Element repository\nsudo 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\nsudo zypper modifyrepo -er \"element-stable\"\nsudo zypper refresh\n```\n\n**Prep (Tumbleweed)\u0026nbsp;.\u0026nbsp;.\u0026nbsp;.**\n```bash\n# Install GPG keys\nsudo rpm --import https://keybase.io/toddwarner/key.asc\nsudo rpm --import https://download.copr.fedorainfracloud.org/results/taw/element/pubkey.gpg\n# Configure and enable the Element repository\nsudo 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\nsudo zypper modifyrepo -er \"element-stable\"\nsudo zypper refresh\n```\n\n**Install\u0026nbsp;.\u0026nbsp;.\u0026nbsp;.**\n```bash\nsudo zypper install element\n```\n\n## I installed it, now I want to run Element!\n\nSearch for and select \"Element\" from your desktop environment. Done!\n\nNote: 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 \u003chttps://app.element.io/\u003e\n\n## I installed it, now I want to ensure I get future updates!\n\n\u003e Please Note\n\u003e\n\u003e If within your Element settings \u003e Preferences, you have enabled _\"Show tray\n\u003e icon and minimize window to it on close\"_ when you exit Element, it minimizes\n\u003e and does not truly exit and upgrades will not be evident until the next\n\u003e reboot.\n\u003e \n\u003e If you disable that setting, when you exit Element, it truly exits.\n\nOnce 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\u0026nbsp;.\u0026nbsp;.\u0026nbsp;.\n\n```bash\n# Fedora . . .\nsudo dnf upgrade\n```\n\n```bash\n# OpenSUSE . . .\nsudo zypper update\n```\n\nI do this as a hobby, but I will try to be timely with my updates.\n\n\u003c ! - -\n\n## I live on the edge! Do you have test packages available?\n\nYes!\n\n1. Follow the steps described above to install the repository configure file.  \n   _You will have to refresh it if you have done this before today._\n2. Disable the stable repository and enable the testing repository...\n```\n# Fedora and RHEL/CentOS only\nsudo dnf config-manager --set-disabled element-stable\nsudo dnf config-manager --set-enabled riot-testing\nsudo dnf list --refresh |grep element\n```\n- - \u003e\n\n\n# Disclaimer\n\nI 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](https://element.io/)—but I do thank them for their wonderful application and the community appreciates their welcoming approach to contributors like myself.\n\n=========================================================================================================\n--\u003e\n\n# Questions or comments\u0026nbsp;.\u0026nbsp;.\u0026nbsp;.\n\nContact: **t0dd_at_protonmail.com** or find me at **@t0dd:matrix.org** after you have installed Element!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaw00%2Felement-rpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaw00%2Felement-rpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaw00%2Felement-rpm/lists"}