# \[Solved \]How to install Element (Matrix client) in Rocky linux

**URL:** <https://forums.rockylinux.org/t/solved-how-to-install-element-matrix-client-in-rocky-linux/4873>\
**Category:** Rocky Linux Help & Support\
**Created:** [December 13, 2021, 9:11am UTC](https://forums.rockylinux.org/t/solved-how-to-install-element-matrix-client-in-rocky-linux/4873 "2021-12-13T09:11:19Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![2rocky1](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/2rocky1/32/1460_2.png) [@2rocky1](https://forums.rockylinux.org/u/2rocky1)\
**Post date:** [December 13, 2021, 9:11am UTC](https://forums.rockylinux.org/t/solved-how-to-install-element-matrix-client-in-rocky-linux/4873/1 "2021-12-13T09:11:19Z")

</div>

yeah , i am newbie, who dont know how to install tar.gz in rocky linux.  
here i what tried.

online articles that i tried.

1. [linux - bash: ./configure: no such file or directory - Unix & Linux Stack Exchange](https://unix.stackexchange.com/questions/229887/bash-configure-no-such-file-or-directory)
2. [How to Install tar.gz in CentOS - RoseHosting](https://www.rosehosting.com/blog/how-to-install-tar-gz-in-centos/)

please help me out.

```auto

[root@device-name element-v1.9.6]# sudo yum groupinstall "Development tools"
Last metadata expiration check: 1:01:13 ago on Mon 13 Dec 2021 01:35:07 PM IST.
Dependencies resolved.
================================================================================
 Package Architecture Version Repository Size
================================================================================
Installing Groups:
 Development Tools                                                             

Transaction Summary
================================================================================

Is this ok [y/N]: y
Complete!
[root@device-name element-v1.9.6]# neofetch
        ##### root@device-name 
       ####### ---------------- 
       ##O#O## OS: Rocky Linux 8.5 (Green Obsidian) x86_64 
       ####### Host: H81M-S 
     ########### Kernel: 4.18.0-348.2.1.el8_5.x86_64 
    ############# Uptime: 1 hour, 7 mins 
   ############### Packages: 1521 (rpm), 8 (flatpak), 8 (snap) 
   ################ Shell: bash 4.4.20 
  ################# Resolution: 1366x768 
##################### WM: Mutter 
##################### WM Theme: Adwaita 
  ################# Theme: Adwaita [GTK2/3] 
                        Icons: Adwaita [GTK2/3] 
                        Terminal: gnome-terminal 
                        CPU: Intel Pentium G3240 (2) @ 3.100GHz 
                        GPU: Intel HD Graphics 
                        Memory: 2293MiB / 3637MiB 

                                                
                                                

[root@device-name element-v1.9.6]# ./configure
-bash: ./configure: No such file or directory
[root@device-name element-v1.9.6]# make
make: *** No targets specified and no makefile found. Stop.
[root@device-name element-v1.9.6]# make install
make: *** No rule to make target 'install'. Stop.
[root@device-name element-v1.9.6]# autoreconf -i
autoreconf: 'configure.ac' or 'configure.in' is required
[root@device-name element-v1.9.6]# 
[root@device-name element-v1.9.6]# ./configure
-bash: ./configure: No such file or directory
[root@device-name element-v1.9.6]# 

```

---

<div class="post-metadata">

**Author:** ![tjdoyle](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/tjdoyle/32/500_2.png) [@tjdoyle](https://forums.rockylinux.org/u/tjdoyle)\
**Post date:** [December 13, 2021, 9:31am UTC](https://forums.rockylinux.org/t/solved-how-to-install-element-matrix-client-in-rocky-linux/4873/2 "2021-12-13T09:31:24Z")

</div>

Hi,

```auto
sudo dnf install tar

```

compress to tar.gz with:

`tar -czvf archive.tar.gz ~/directory-to-compress/`

Thanks Tom.

---

<div class="post-metadata">

**Author:** ![2rocky1](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/2rocky1/32/1460_2.png) [@2rocky1](https://forums.rockylinux.org/u/2rocky1)\
**Post date:** [December 13, 2021, 9:47am UTC](https://forums.rockylinux.org/t/solved-how-to-install-element-matrix-client-in-rocky-linux/4873/3 "2021-12-13T09:47:47Z")

</div>

@tjdoyle  
Tar is already installed on my system, so does every Linux distribution out there.

I have extracted element-v1.9.6.tar.gz to element-v1.9.6 folder.

And then CD element-v1.9.6

Now I want to know how can I install element app or any other software which provides tar.gz instead of .rpm or .deb files.

---

<div class="post-metadata">

**Author:** ![tjdoyle](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/tjdoyle/32/500_2.png) [@tjdoyle](https://forums.rockylinux.org/u/tjdoyle)\
**Post date:** [December 13, 2021, 10:46am UTC](https://forums.rockylinux.org/t/solved-how-to-install-element-matrix-client-in-rocky-linux/4873/4 "2021-12-13T10:46:18Z")

</div>

Hi,

You may wish to change yout topic title, to make it more clear as to want the request is.

Are you trying to install this:

> **[GitHub - vector-im/element-web: A glossy Matrix collaboration client for the...](https://github.com/vector-im/element-web/)**
>
> A glossy Matrix collaboration client for the web. Contribute to vector-im/element-web development by creating an account on GitHub.

If so, to me it looks like the tar.gz contains a binary, so its already compiled.

Also its looks like it can be installed from the copr repo:

> **[Element secure messenger | Get started](https://element.io/get-started#linux)**
>
> Download Element, an end-to-end encrypted secure messenger and collaboration app with voice and video chat. Available on Web, Android, iOS, macOS, Windows & Linux.

Thanks Tom.

---

<div class="post-metadata">

**Author:** ![nouvo09](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/nouvo09/32/2920_2.png) [@nouvo09](https://forums.rockylinux.org/u/nouvo09)\
**Post date:** [December 13, 2021, 11:11am UTC](https://forums.rockylinux.org/t/solved-how-to-install-element-matrix-client-in-rocky-linux/4873/5 "2021-12-13T11:11:56Z")

</div>

I don’t undserstand wtf a newbie goes to install something out of official repos.

---

<div class="post-metadata">

**Author:** ![tjdoyle](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/tjdoyle/32/500_2.png) [@tjdoyle](https://forums.rockylinux.org/u/tjdoyle)\
**Post date:** [December 13, 2021, 11:33am UTC](https://forums.rockylinux.org/t/solved-how-to-install-element-matrix-client-in-rocky-linux/4873/6 "2021-12-13T11:33:10Z")

</div>

Hi,

> [@nouvo09](#):
>
> I don’t undserstand wtf a newbie goes to install something out of official repos.

Not sure I quite understand, is element in the offical repos?

Thanks Tom.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [December 13, 2021, 12:02pm UTC](https://forums.rockylinux.org/t/solved-how-to-install-element-matrix-client-in-rocky-linux/4873/7 "2021-12-13T12:02:26Z")

</div>

@2rocky1 first off, you are attempting to run ./configure which doesn’t exist in the code you are downloading. What you therefore should have been doing if using that method, would have been to read the instructions here which is where you downloaded it from: [GitHub - vector-im/element-web: A glossy Matrix collaboration client for the web.](https://github.com/vector-im/element-web)

As @tjdoyle also linked, was the website, which if you see here: [Element secure messenger | Get started](https://element.io/get-started#download) you have the ability to download and install the appropriate version for Linux without having to compile or do anything with the code. This is the best method for a **newbie** since attempting to compile something is a lot more difficult. So therefore:

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

```

By downloading a tar file doesn’t always necessarily mean it is going to use ./configure, make and make install since those are pretty much related to compiling C++ code. From looking at the code and reading the README on the github link, it explains that it is NodeJS. It also gives instructions on how to unpack and use it quickly, as well as build it yourself - the instructions are there under “Getting Started” and “Building from source”.

---

<div class="post-metadata">

**Author:** ![2rocky1](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/2rocky1/32/1460_2.png) [@2rocky1](https://forums.rockylinux.org/u/2rocky1)\
**Post date:** [December 13, 2021, 12:54pm UTC](https://forums.rockylinux.org/t/solved-how-to-install-element-matrix-client-in-rocky-linux/4873/8 "2021-12-13T12:54:54Z")

</div>

Thanks @iwalker

Whenever I want to install an application,  
I go to their website check if CLI commands are available (like sudo dnf install something)  
And if not available, then I check for .RPM files.  
If those are also not available, the website owner usually provides tar.gz files. I have been using Ubuntu for 1ywars and now recently I switched rocky Linux, still also I don’t understand how to install tar.gz.

Anyway. Thanks for CLI commands .  
I probably should learn more about github, I always overlook and find something like this.

---

<div class="post-metadata">

**Author:** ![anemarkus](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@anemarkus](https://forums.rockylinux.org/u/anemarkus)\
**Post date:** [December 13, 2021, 1:23pm UTC](https://forums.rockylinux.org/t/solved-how-to-install-element-matrix-client-in-rocky-linux/4873/9 "2021-12-13T13:23:03Z")

</div>

> [@2rocky1](#):
>
> still also I don’t understand how to install tar.gz.

There is no general applicable answer to that. tar.gz is just a container format and can contain whatever the creator has put in it. How to deal with the content is hopefully documented by creator.

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:59am UTC](https://forums.rockylinux.org/t/solved-how-to-install-element-matrix-client-in-rocky-linux/4873/10 "2023-08-25T03:59:32Z")

</div>


