Installing tmux on RHEL 6.5


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Installing tmux on RHEL 6.5
# 1  
Old 06-19-2019
Installing tmux on RHEL 6.5

Hi,
I am trying to install tmux on vm allocated to me in my company . i am very new to linux. I have the root access on it.

Can someone please provide the exact steps to get it installed.
I tried:
1. Using yum, i get the below message.

# yum install tmux
Loaded plugins: security
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
[1]+ Terminated yum install tmx


2. Copying the tmux from git.

I have copied the tmux-master to the server , but don't what to do with it.


I have heard great reviews from few developers, i want to use it but stuck now Smilie
# 2  
Old 06-19-2019
Code:
cd /tmp
git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure && make

This User Gave Thanks to Neo For This Post:
# 3  
Old 06-19-2019
Thanks for the reply. I tried again and was able to install but getting this error:

# tmux
tmux: error while loading shared libraries: libevent-2.1.so.6: cannot open shared object file: No such file or directory

I installed tmux-2.9 and libevent-2.1.10-stable
The file is there , not sure why getting this error

# find . -name "libevent-2.1.so.6"
./lib/libevent-2.1.so.6

If you suggest me opening a new thread , i can do , no problem.
Appreicate your help
# 4  
Old 06-19-2019
You have to do a clean configure and make after you install the dependent libs.
# 5  
Old 06-19-2019
getting this error:
Code:
# git clone GitHub - tmux/tmux: tmux source code
Initialized empty Git repository in /tmp/tmux/.git/

Code:
error: Failed connect to github.com:443; Operation now in progress while accessing https://github.com/tmux/tmux.git/info/refs

fatal: HTTP request failed

How to work around this issue?

--- Post updated at 04:01 PM ---

I did the tarbar download and followed the steps you gave and getting the below error:

Code:
[tmux-master]# ./configure && make
...
configure: error: "libevent not found"

# 6  
Old 06-19-2019
fixed the issue by creating an alias.

Code:
https://unix.stackexchange.com/questions/17907/why-cant-gcc-find-libevent-when-building-tmux-from-source/17918

# 7  
Old 06-20-2019
Great to hear you got it working.

Thanks for posting back your solution.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Error installing MySQL 8 on RHEL 7

My yum install command is failing. I first did yum clean all I even tried with localinstall. Below is the error output: yum install mysql-community-server*.rpm Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager This system is not registered with an... (8 Replies)
Discussion started by: mohtashims
8 Replies

2. Red Hat

Installing xwindow on RHEL (offline)

I need to install xwindow on my RHEL 7.2 server which is behind a firewall and no access to internet. If I run the below code, it will not able to install, as my server dont have internet connection. yum -y install xterm* xorg* xclock xauth Do you know, where can I get the required binaries... (2 Replies)
Discussion started by: karumudi7
2 Replies

3. Red Hat

Installing RHEL over Windows 7 or 8

Hi, Sorry if this is an incorrect place for this question but I haven't been able to find any answers by searching the forums or on google. I am in the market for a new HP Z420 workstation and HP wants a lot more money for one with the HP Linux Installer kit vs. the exact same configuration in... (2 Replies)
Discussion started by: rhopson
2 Replies

4. Red Hat

Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd.

Hi all, Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out. i have dual os, win 7 & rhel 6. i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue. below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies

5. Red Hat

Installing EBS 12.1.1 on RHEL 6.1 x86_64‏

i am in process to install R12.1.1 on RHEL 6.1. while installing pre-requisite on RHEL 6.1 i am facing following error : rpm -ivh xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm error: Failed dependencies: libX11.so.6 is needed by xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386 ... (3 Replies)
Discussion started by: rehantayyab82
3 Replies

6. Red Hat

Problem in installing wine on rhel 6-64bit

I have installled and configured wine on rhel 6 - 64bit system... When i run wine command i faced a problem : wine : could not exec wineserver and when i run wineserver command i got the following error : /usr/local/wine/bin/wineserver : /lib/ld-linux-x86-64.so.2 : bad ELF interpreter NO... (1 Reply)
Discussion started by: anuajay1988
1 Replies

7. Red Hat

Problem installing PSP on rhel 5.2 64

hi, i have a problem when i try to install Proliant support pack into a server with rhel 5.2 sv556:#/tmp/psp# ./hpsum -silent ./hpsum: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory i have already installed library... (3 Replies)
Discussion started by: pabloli150
3 Replies

8. Red Hat

problem installing rhel 6

I have dexx xps 14.I was installing rhel6.But the installation hanged at following step initializing hardware detection................. installion didnt go further (2 Replies)
Discussion started by: shamapraveen
2 Replies

9. Red Hat

Bug hits while installing RHEL 5.5

I have one R710 Dell Box, when i try to install the RHEL on the system the installation stops with following error "Assertion (heads < 256) at disk_dos.c:486 in function probe_partition_for_geom() failed." I 'm unable to ignore/cancel the same and have hard boot the server. ... (0 Replies)
Discussion started by: fugitive
0 Replies

10. Red Hat

Installing Updates on RHEL 3 & 4

Is there another way to install updates on RHEL besides using the up2date utility? I have some systems that are not accessible to the internet. So, when I look for the updates that are supposed to be for my system, i dont even know where to go to download them? it just keeps bringing me to... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
Login or Register to Ask a Question