Tmux Installation on CentOS
#1
Hello FreeVPS Community,

this tutorial is about the installation of the terminal multiplexer "tmux" which is unhappily not included in the CentOS repos.


Let's start:

  1. Log into your VPS or dedicated server as root or a user with root premissions.
  2. Update your system via Yum with this command "yum update" (Optional but a updated system is recommended to improve security).
  3. Install the libevent libs via Yum with this command "yum install libevent".
  4. Now we will install Tmux for CentOS 5 32Bit:

    Code:
    rpm -Uvh http://pkgs.repoforge.org/tmux/tmux-1.6-1.el5.rf.i386.rpm


  5. CentOS 5 64Bit:

    Code:
    rpm -Uvh http://pkgs.repoforge.org/tmux/tmux-1.6-1.el5.rf.x86_64.rpm


  6. CentOS 6 32Bit:

    Code:
    rpm -Uvh http://pkgs.repoforge.org/tmux/tmux-1.6-1.el6.rf.i686.rpm


  7. CentOS 6 64Bit:

    Code:
    rpm -Uvh http://pkgs.repoforge.org/tmux/tmux-1.6-1.el6.rf.x86_64.rpm

  8. If everything went right you should be finished with the installation.
  9. Test it via the command "tmux" and it should work Smile.

That's it Tongueout
#2
If you happen to used the following dmmcintyre3 scripts: which also adds the EPEL repository on your system, you can just install it with yum:

Terminal

# yum -y install tmux


Btw, Tmux is an alternative/replacement for Screen.
Here's a comparison of the two: Screen vs tmux
Thanks FreeVPS.us! for the free VPS and for all the knowledge that I've learned here at the forum.
#3
Tmux is better than screen, atleast that is how I see it.

Thanks for mentioning the EPEL repo from Dmm's scripts.
#4
If you use Debian/Ubuntu, you can just run apt-get install tmux, and voila.
#5
Yes, but:
Quote:"tmux" which is unhappily not included in the CentOS repos

So this is CentOS related Smile.

Strange though that they didn't inlcude it in their repos but preinstalled screen.
#6
Maybe it's because screen is used more widely?
I usually just use screen since it's built-in.
#7
CentOS goes for well established software. tmux is still relatively new and unknown.

Anyway, I highly recommend people get software from repos rather than just manually installing rpms. That way you get updates that can fix security vulnerabilities.
#8
I must agree that CentOS's default Repositories are shockingly bad.
The latest version of PHP at the time of me writing this is 5.4 (Stable). Heck, I don't even think the default repositories have caught up to 5.3 yet.
#9
(2012-03-19, 4:10:39 am)Murderwrecker Wrote: Yes, but:
Quote:"tmux" which is unhappily not included in the CentOS repos

So this is CentOS related Smile.

Strange though that they didn't inlcude it in their repos but preinstalled screen.
I know, I just mentioned it for the Debian/Ubuntu users that might read the thread. Smile




Users browsing this thread: 1 Guest(s)

Switch to mobile version

Sponsors: Ftpit - ZXPlay - GalaxyHostPlus - Verelox- HostUS - HostMada - Host4Fun - Evolution-Host - NodeBlade - HostDare - VPSMost


BitCoin donations: 1DQxbstaTb5SWk6QC2gFeQUTFR64JX4cEo