Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:tmux [2016/12/23 03:56]
eServices Greece
software:tmux [2021/11/16 09:09] (current)
eServices Greece
Line 5: Line 5:
 Compile tmux Compile tmux
  
- +==== Steps ==== 
-==== Library Prerequisites ====+=== Library Prerequisites ===
 <sxh bash> <sxh bash>
-yum install libevent-devel ncurses-devel+yum -y install libevent-devel ncurses-devel
 </sxh> </sxh>
  
-==== Fetch tmux ====+==== EXPORTS used to set versions ==== 
 +You can change the values here to change compiled version. 
 +<sxh> 
 +TMUX_VERSION=3.2a 
 +</sxh> 
 + 
 + 
 +=== Fetch tmux ===
 <sxh bash> <sxh bash>
-wget https://github.com/tmux/tmux/releases/download/2.3/tmux-2.3.tar.gz +wget https://github.com/tmux/tmux/releases/download/${TMUX_VERSION}/tmux-${TMUX_VERSION}.tar.gz 
-tar zxfv tmux-2.3.tar.gz +tar zxfv tmux-${TMUX_VERSION}.tar.gz 
-cd tmux-2.3+cd tmux-${TMUX_VERSION}
 </sxh> </sxh>
  
-==== Build tmux ==== +=== Build tmux === 
-<sxh> +<sxh bash>./configure --prefix=/usr
-./configure+
 make make
 </sxh> </sxh>
  
-==== Install tmux ==== +=== Install tmux === 
-<sxh> +<sxh bash>make install</sxh>
-cp tmux /usr/bin/ +
-</sxh>+