kylebarron / linux_setup

Script to install software on a new computer or VM instance
MIT License
3 stars 1 forks source link

Update tmux configs #21

Closed kylebarron closed 6 years ago

kylebarron commented 6 years ago

https://github.com/gpakosz/.tmux

kylebarron commented 6 years ago

To build tmux, need to install dependency:

sudo apt install libevent-dev
kylebarron commented 6 years ago

you can build libevent from here: http://libevent.org/

get latest release from https://github.com/tmux/tmux/releases then extract and build.

kylebarron commented 6 years ago

https://stackoverflow.com/questions/7561509/how-to-add-include-and-lib-paths-to-configure-make-cycle

mkdir -p ~/local/share

Then in ~/local/share/config.site put

CPPFLAGS=-I$HOME/local/include
LDFLAGS=-L$HOME/local/lib

Then build libevent and tmux with ./configure --prefix=$HOME/local, make, make install.

kylebarron commented 6 years ago

Then make sure the environment variable LD_LIBRARY_PATH is set correctly.

export LD_LIBRARY_PATH=$HOME/local/lib