Skip to content

Instantly share code, notes, and snippets.

@bj4rtmar
Created November 26, 2020 11:10
Show Gist options
  • Save bj4rtmar/4d517ecdeab9976b6b1fb80ce283bc69 to your computer and use it in GitHub Desktop.
Save bj4rtmar/4d517ecdeab9976b6b1fb80ce283bc69 to your computer and use it in GitHub Desktop.
Install latest release candidate of tmux on Centos 7
# My system:
$ rpm -q centos-release
centos-release-7-9.2009.0.el7.centos.x86_64
$ sudo yum check-update
$ sudo yum -y install autoconf automake pkg-config libevent-devel ncurses-devel
$ sudo yum groupinstall "Development tools"
Then follow the instructions in the "From version control" section on https://github.com/tmux/tmux
but with an extra step to checkout a branch:
$ git clone https://github.com/tmux/tmux.git
$ cd tmux
# this is an extra stop not on the github page!:
# <extra steps>
# to see remote branches:
$ git branch -r
# I got something like:
# origin/3.2-rc
# origin/HEAD -> origin/master
# origin/command-regress
# origin/master
# origin/sixel
# origin/sixel-passthrough
#
# Then I choose what seems to be the latest release candidate at the moment I write this gist:
$ git checkout 3.2-rc
# </extra steps>
$ sh autogen.sh
$ ./configure && make
# then copy the ./tmux binary to somewhere in your $PATH and we're all set to run:
$ tmux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment