Update tmux start/stop commands, add script to clone, compile and install latest tmux from source

This commit is contained in:
DariusIII
2018-09-05 11:16:22 +02:00
parent e2032dde6d
commit e2b016a2c1
8 changed files with 56 additions and 441 deletions
+31
View File
@@ -0,0 +1,31 @@
#!/usr/bin/env bash
## This script will install latest tmux from source
## script is used from https://bogdanvlviv.com/posts/tmux/how-to-install-the-latest-tmux-on-ubuntu-16_04.html with small additions
sudo apt update
sudo apt install -y git
sudo apt install -y automake
sudo apt install -y build-essential
sudo apt install -y pkg-config
sudo apt install -y libevent-dev
sudo apt install -y libncurses5-dev
sudo apt install -y fonts-powerline
rm -fr /tmp/tmux
git clone https://github.com/tmux/tmux.git /tmp/tmux
cd /tmp/tmux
sh autogen.sh
./configure && make
sudo make install
cd -
rm -fr /tmp/tmux