mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Update tmux start/stop commands, add script to clone, compile and install latest tmux from source
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user