Skip to content

Commit

Permalink
installing tmux from ppa
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Oct 10, 2023
1 parent 9dedb10 commit 28c45c7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions appconfig/tmux/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ while true; do

toilet Installing tmux

sudo apt-get -y remove tmux
sudo apt-get -y install tmux

sudo apt-get -y install libevent-dev
# sudo apt-get -y install libevent-dev

# #{ for bad times when dependencies break

# sudo apt-get -y install autotools-dev automake autoconf libtool libtool-bin cmake build-essential

# # install libevent
# cd /tmp
# wget https://github.com/libevent/libevent/releases/download/release-2.1.11-stable/libevent-2.1.11-stable.tar.gz
Expand All @@ -58,7 +58,7 @@ while true; do
# cd libevent-2.1.11-stable
# ./configure && make
# sudo make install

# # libevent
# cd $APP_PATH/../../submodules/libevent
# ./autogen.sh || echo "1st run of autogen.sh might fail"
Expand All @@ -67,20 +67,20 @@ while true; do
# ./configure
# make
# sudo make install

# arch_full=`dpkg-architecture | grep DEB_BUILD_GNU_TYPE`
# archi_short=`echo ${arch_full#*=}`
# libevent_full_path=`dpkg -L libevent-dev | grep libevent.so`
# libevent_path=`echo ${libevent_full_path%/*}`

# export LIBEVENT_LIBS="-L$libevent_path -levent -Wl,-rpath -Wl,$libevent_path"
# export LIBEVENT_LIBS="-L/usr/local/lib -levent -Wl,-rpath -Wl,/usr/local/lib"

# #}

# compile and install custom tmux
cd $APP_PATH/../../submodules/tmux
( ./autogen.sh && ./configure && make && sudo make install-binPROGRAMS ) || ( echo "Tmux compilation failed, installing normal tmux" && sudo apt-get -y install tmux)
# cd $APP_PATH/../../submodules/tmux
# ( ./autogen.sh && ./configure && make && sudo make install-binPROGRAMS ) || ( echo "Tmux compilation failed, installing normal tmux" && sudo apt-get -y install tmux)

#############################################
# add TMUX enable/disable to .bashrc
Expand Down

0 comments on commit 28c45c7

Please sign in to comment.