Installing tmux 2.2
Problem:
How to install tmux 2.2 from source. (I am installing this on a vagrant box running Ubuntu 14.0).
Solution:
The read me works. Installing from the git version did not work for me.
1. Check the current version of tmux if installed. Remove it.
$ tmux -V 1.8 $ sudo apt-get remove tmux
2. Install the dependencies.
$ sudo apt-get install libevent-dev $ sudo apt-get install ncurses-dev
3. Download and install tmux
$ cd ~ $ wget https://github.com/tmux/tmux/releases/download/2.2/tmux-2.2.tar.gz $ tar -zxf tmux-2.2.tar.gz $ cd tmux-2.2 $ ./configure && make
4. Create a symlink to new version of tmux
$ sudo ln -s /home/vagrant/tmux-2.2/tmux /usr/local/bin/tmux
5. Confirm that you now have the new version of tmux.
$ tmux -V 2.2
Alternatively:
You could use this script. (I have not tried it for 2.2 but I am guessing that it would work)
https://github.com/kaosf/ubuntu-setup/blob/master/tmux-setup.sh
Update – 2017-06-02
To get the latest version of tmux from github
apt-get install the following
libevent-dev ncurses-dev automake autoconf pkg-config
$ git clone https://github.com/tmux/tmux.git $ cd tmux $ sh autogen.sh $ ./configure && make
As root
root> make install
$ tmux -V 2.5
Comments (0)
Trackbacks (0)
Leave a comment
Trackback