Update : due to the new version of tmux and changes in the package repository, this answer is updated to show how to install tmux 2.0 (which is better, for no reason use 1.9 more).
Below are the steps to upgrade only the "empty" ubuntu - version 14.04 (see below for other versions of ubuntu):
sudo apt-get updatesudo apt-get install -y python-software-properties software-properties-commonsudo add-apt-repository -y ppa:pi-rho/devsudo apt-get updatesudo apt-get install -y tmux=2.0-1~ppa1~t- now if you do
tmux -V it should show tmux 2.0 , which is a good version for tmux plugins
I checked the steps above on a new drop with the digital ocean.
Basically, it adds the pi-rho / dev repository , updates and then installs tmux from there.
If you have a different version of ubuntu, you can install a different version of tmux from the same repo. So:
- ubuntu 12.04 (Fine Pangolin) step 5:
sudo apt-get install -y tmux=1.9a-1~ppa1~p (installs tmux 1.9 , a package for tmux 2.0 now) - ubuntu 13.10 (Saucy Salamander) Step 5:
sudo apt-get install -y tmux=1.9a-1~ppa1~s (installs tmux 1.9 , a package for tmux 2.0 now) - ubuntu 14.10 (Utopian unicorn) Step 5:
sudo apt-get install -y tmux=2.0-1~ppa1~u - ubuntu 15.04 (Vivid Vervet) Step 5:
sudo apt-get install -y tmux=2.0-1~ppa1~v
Bruno Sutic Sep 20 '14 at 19:27 2014-09-20 19:27
source share