-
-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathinstall_tmux.sh
More file actions
executable file
·38 lines (24 loc) · 746 Bytes
/
install_tmux.sh
File metadata and controls
executable file
·38 lines (24 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/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
sudo apt install -y powerline
sudo apt install -y bison
sudo apt install -y byacc
rm -fr /tmp/tmux
git clone https://github.com/tmux/tmux.git /tmp/tmux
cd /tmp/tmux
git fetch --all --tags --prune
git checkout 3.6a
sh autogen.sh
./configure && make
sudo make install
cd -
rm -fr /tmp/tmux