tmux packages for Red Hat Enterprise Linux / CentOS

I have offered to maintain Red Hat Enterprise Linux and CentOS packages for the tmux project, since the tool has proven so useful for me.

The packages can be obtained directly from here, or by adding Yum/DNF repositories using:

Currently I’m only building the latest stable packages for the x86_64 architecture, but please let me know if you require builds for other architectures, and I’ll prepare those too if I have access to an appropriate build environment.

Below is an example of setting up the repository and installing the package under CentOS 8. Simply substitute the correct release number for your OS and the procedure should be otherwise identical.. This way you can benefit from future updates automatically via yum update.

$ sudo wget -P /etc/yum.repos.d/ http://galaxy4.net/repo/galaxy4-rhel8.repo
--2020-07-27 18:35:30--  http://galaxy4.net/repo/galaxy4-rhel8.repo
Resolving galaxy4.net (galaxy4.net)... 128.199.209.77
Connecting to galaxy4.net (galaxy4.net)|128.199.209.77|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 169
Saving to: ‘/etc/yum.repos.d/galaxy4-rhel8.repo’

galaxy4-rhel8.repo          100%[===========================================>]     169  --.-KB/s    in 0s      

2020-07-27 18:35:30 (20.4 MB/s) - ‘/etc/yum.repos.d/galaxy4-rhel8.repo’ saved [169/169]

$ sudo yum repolist galaxy4-rhel8
repo id                                  repo name                                                       status
galaxy4-rhel8                            Galaxy4 RHEL/CentOS 8 RPM repository                            enabled
$ sudo yum install tmux
Last metadata expiration check: 0:00:04 ago on Mon 27 Jul 2020 18:35:44 AEST.
Dependencies resolved.
================================================================================================================
 Package               Architecture            Version                     Repository                      Size
================================================================================================================
Installing:
 tmux                  x86_64                  3.1b-2.el8                  galaxy4-rhel8                  367 k

Transaction Summary
================================================================================================================
Install  1 Package

Total download size: 367 k
Installed size: 820 k
Is this ok [y/N]: y
Downloading Packages:
tmux-3.1b-2.el8.x86_64.rpm                                                      240 kB/s | 367 kB     00:01    
----------------------------------------------------------------------------------------------------------------
Total                                                                           240 kB/s | 367 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                        1/1 
  Installing       : tmux-3.1b-2.el8.x86_64                                                                 1/1 
  Running scriptlet: tmux-3.1b-2.el8.x86_64                                                                 1/1 
  Verifying        : tmux-3.1b-2.el8.x86_64                                                                 1/1 
Installed products updated.

Installed:
  tmux-3.1b-2.el8.x86_64                                                                                        

Complete!
$ tmux -V
tmux 3.1b
$ 

Alternatively, if you prefer to install/update packages manually, you can do so as follows:

$ sudo rpm -ivh http://galaxy4.net/repo/RHEL/8/x86_64/tmux-3.1b-2.el8.x86_64.rpm
Retrieving http://galaxy4.net/repo/RHEL/8/x86_64/tmux-3.1b-2.el8.x86_64.rpm
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:tmux-3.1b-2.el8                  ################################# [100%]
$ tmux -V
tmux 3.1b
$ 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.