Last active
July 26, 2018 12:51
-
-
Save rschuman/6168833 to your computer and use it in GitHub Desktop.
Revisions
-
Robert Schuman revised this gist
Jul 26, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Compile libevent: $ cd ~/downloads $ tar zxvf libevent2.tar.gz $ cd /libevent-2.x.xx-stable $ ./configure --prefix=/usr/local $ make $ make install ``` -
Robert Schuman revised this gist
May 17, 2014 . 1 changed file with 16 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,7 @@ Downloads: - tmux: http://sourceforge.net/projects/tmux/files/latest/download?source=files Yum Packages: - gcc - kernel-devel - make @@ -14,6 +15,7 @@ Yum Packages: ### Installation for all Users Download the latest libevent2 and tmux: ```bash $ sudo su - $ mkdir ~/downloads && cd ~/downloads @@ -22,11 +24,13 @@ $ curl http://sourceforge.net/projects/tmux/files/latest/download?source=files - ``` Install dependencies: ```bash $ yum install gcc kernel-devel make ncurses-devel ``` Compile libevent: ```bash $ cd ~/downloads $ tar zxvf libevent2.tar.gz @@ -37,6 +41,7 @@ $ make install ``` Compile tmux: ```bash $ cd ~/downloads $ tar zxvf tmux.tar.gz @@ -49,6 +54,7 @@ $ make install ### Installation for a Single User Download the latest libevent2 and tmux: ```bash $ sudo su - <user_name> $ mkdir ~/local # local folder for libevent, tmux dependencies, binaries, etc. @@ -58,11 +64,13 @@ $ curl http://sourceforge.net/projects/tmux/files/latest/download?source=files - ``` Install dependencies (you will need sudo privileges): ```bash $ sudo yum install gcc kernel-devel make ncurses-devel ``` Compile libevent: ```bash $ cd ~/downloads $ tar zxvf libevent2.tar.gz @@ -73,28 +81,33 @@ $ make install ``` Compile tmux: ```bash $ cd ~/downloads $ tar zxvf tmux.tar.gz $ cd tmux-n.n ``` Configure: Add your newly compiled header in ~/local/lib to configuration parameters: ```bash $ LDFLAGS="-L/usr/local/lib -L$HOME/local/lib -Wl,-rpath=/usr/local/lib:$HOME/local/lib" ./configure --prefix=$HOME/local ``` Makefile: This needs to be altered to include newly created files in ~/usr/local/include: - open vi with a search for "am_append_6 =": ```$ vi +/am__append_6\ = Makefile``` - change ```am__append_6 = -iquote. -I/usr/local/include``` to ```am__append_6 = -iquote. -I/usr/local/include -I$(prefix)/include``` - save and quit Continue on as normal: ```bash $ make $ make install ``` According to the output, the executable has been installed to ~/local/bin: ```bash make[1]: Entering directory `/home/robert/downloads/tmux-1.8' /bin/mkdir -p '/home/robert/local/bin' @@ -105,16 +118,19 @@ make[1]: Leaving directory `/home/robert/downloads/tmux-1.8' ``` In case another version of tmux is already globally installed on the system, you might want to add the following line to your ~/.bashrc, ~/.zshrc, etc: ```bash alias tmux=$HOME/local/bin/tmux ``` Reload your .bashrc/.zshrc/etc settings: ```bash $ source ~/.bashrc ``` Make sure you're now pointing to the correct version of tmux: ```bash $ tmux -V >> tmux 1.n -
Robert Schuman revised this gist
May 17, 2014 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ ### Dependencies: Downloads: - libevent: http://sourceforge.net/projects/levent/files/latest/download?source=files - tmux: http://sourceforge.net/projects/tmux/files/latest/download?source=files -
rschuman revised this gist
Aug 7, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -121,7 +121,7 @@ $ tmux -V ### Enabling Mouse Support - In your home folder, edit or create a .tmux.conf file. - Add the following settings to .tmux.conf: ``` -
rschuman revised this gist
Aug 7, 2013 . 1 changed file with 13 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -118,3 +118,16 @@ Make sure you're now pointing to the correct version of tmux: $ tmux -V >> tmux 1.n ``` ### Enabling Mouse Support - In your home folder, create edit or create a .tmux.conf file. - Add the following settings to .tmux.conf: ``` # Enable mouse support (tested in iTerm) set-window-option -g mode-mouse on set-option -g mouse-select-pane on set-option -g mouse-resize-pane on set-option -g mouse-select-window on ``` -
rschuman revised this gist
Aug 7, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -50,7 +50,7 @@ $ make install Download the latest libevent2 and tmux: ```bash $ sudo su - <user_name> $ mkdir ~/local # local folder for libevent, tmux dependencies, binaries, etc. $ mkdir ~/downloads && cd ~/downloads $ curl http://sourceforge.net/projects/levent/files/latest/download?source=files -L -o libevent2.tar.gz -w 'Last URL was: %{url_effective}' $ curl http://sourceforge.net/projects/tmux/files/latest/download?source=files -L -o tmux.tar.gz -w 'Last URL was: %{url_effective}' -
rschuman revised this gist
Aug 7, 2013 . 1 changed file with 13 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -103,7 +103,18 @@ make[1]: Entering directory `/home/robert/downloads/tmux-1.8' make[1]: Leaving directory `/home/robert/downloads/tmux-1.8' ``` In case another version of tmux is already globally installed on the system, you might want to add the following line to your ~/.bashrc, ~/.zshrc, etc: ```bash alias tmux=$HOME/local/bin/tmux ``` Reload your .bashrc/.zshrc/etc settings: ```bash $ source ~/.bashrc ``` Make sure you're now pointing to the correct version of tmux: ```bash $ tmux -V >> tmux 1.n ``` -
rschuman revised this gist
Aug 7, 2013 . 1 changed file with 8 additions and 23 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Yum Packages: - make - ncurses-devel ### Installation for all Users Download the latest libevent2 and tmux: ```bash @@ -56,7 +56,7 @@ $ curl http://sourceforge.net/projects/levent/files/latest/download?source=files $ curl http://sourceforge.net/projects/tmux/files/latest/download?source=files -L -o tmux.tar.gz -w 'Last URL was: %{url_effective}' ``` Install dependencies (you will need sudo privileges): ```bash $ sudo yum install gcc kernel-devel make ncurses-devel ``` @@ -82,16 +82,12 @@ Configure: Add your newly compiled header in ~/local/lib to configuration parame $ LDFLAGS="-L/usr/local/lib -L$HOME/local/lib -Wl,-rpath=/usr/local/lib:$HOME/local/lib" ./configure --prefix=$HOME/local ``` Makefile: This needs to be altered to include newly created files in ~/usr/local/include: - open vi with a search for "am_append_6 =": ```$ vi +/am__append_6\ = Makefile``` - change ```am__append_6 = -iquote. -I/usr/local/include``` to ```am__append_6 = -iquote. -I/usr/local/include -I$(prefix)/include``` - save and quit Continue on as normal: ```bash $ make $ make install @@ -107,18 +103,7 @@ make[1]: Entering directory `/home/robert/downloads/tmux-1.8' make[1]: Leaving directory `/home/robert/downloads/tmux-1.8' ``` In case another version of tmux is already installed on the system, you might want to add the following line to your ~/.bashrc, ~/.zshrc, etc: ```bash alias tmux=$HOME/local/bin/tmux ``` -
rschuman revised this gist
Aug 7, 2013 . 1 changed file with 13 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -107,7 +107,18 @@ make[1]: Entering directory `/home/robert/downloads/tmux-1.8' make[1]: Leaving directory `/home/robert/downloads/tmux-1.8' ``` In case another version of tmux is already globally installed on the system, you might want to add the following line to your ~/.bashrc, ~/.zshrc, etc. to make sure you're using the right version: ```bash alias tmux=$HOME/local/bin/tmux ``` Reload your .bashrc/.zshrc/etc settings: ```bash $ source ~/.bashrc ``` Make sure you're now pointing to the correct version of tmux: ```bash $ tmux -V >> tmux 1.n ``` -
rschuman revised this gist
Aug 7, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -91,7 +91,7 @@ to ```am__append_6 = -iquote. -I/usr/local/include -I$(prefix)/include``` - save and quit Continue on with install process: ```bash $ make $ make install -
rschuman revised this gist
Aug 7, 2013 . 1 changed file with 7 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -82,9 +82,13 @@ Configure: Add your newly compiled header in ~/local/lib to configuration parame $ LDFLAGS="-L/usr/local/lib -L$HOME/local/lib -Wl,-rpath=/usr/local/lib:$HOME/local/lib" ./configure --prefix=$HOME/local ``` Makefile: This needs to be altered to include your newly created files in ~/usr/local/include: - open vi with a search for "am_append_6 =": ```$ vi +/am__append_6\ = Makefile``` - change ```am__append_6 = -iquote. -I/usr/local/include``` to ```am__append_6 = -iquote. -I/usr/local/include -I$(prefix)/include``` - save and quit Continue on as normal: -
rschuman revised this gist
Aug 7, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -56,7 +56,7 @@ $ curl http://sourceforge.net/projects/levent/files/latest/download?source=files $ curl http://sourceforge.net/projects/tmux/files/latest/download?source=files -L -o tmux.tar.gz -w 'Last URL was: %{url_effective}' ``` Install dependencies (you will need sudo privileges for this step): ```bash $ sudo yum install gcc kernel-devel make ncurses-devel ``` -
rschuman revised this gist
Aug 7, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Yum Packages: - make - ncurses-devel ### Installation for all Users (a.k.a. Installing with Root/Sudo User) Download the latest libevent2 and tmux: ```bash -
rschuman revised this gist
Aug 7, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -45,7 +45,7 @@ $ make $ make install ``` ### Installation for a Single User Download the latest libevent2 and tmux: ```bash -
rschuman revised this gist
Aug 7, 2013 . 1 changed file with 70 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,16 +27,83 @@ $ yum install gcc kernel-devel make ncurses-devel Compile libevent: ```bash $ cd ~/downloads $ tar zxvf libevent2.tar.gz $ cd /libevent-2.x.xx-stable $ ./configure --prefix=$HOME/local $ make $ make install ``` Compile tmux: ```bash $ cd ~/downloads $ tar zxvf tmux.tar.gz $ cd tmux-n.n $ LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local $ make $ make install ``` ### Installation for a Singe User Download the latest libevent2 and tmux: ```bash $ sudo su - <user_name> $ mkdir -p ~/local/lib # user's local folder for executables $ mkdir ~/downloads && cd ~/downloads $ curl http://sourceforge.net/projects/levent/files/latest/download?source=files -L -o libevent2.tar.gz -w 'Last URL was: %{url_effective}' $ curl http://sourceforge.net/projects/tmux/files/latest/download?source=files -L -o tmux.tar.gz -w 'Last URL was: %{url_effective}' ``` Install dependencies (you will need sudo privileges): ```bash $ sudo yum install gcc kernel-devel make ncurses-devel ``` Compile libevent: ```bash $ cd ~/downloads $ tar zxvf libevent2.tar.gz $ cd /libevent-2.x.xx-stable $ ./configure --prefix=$HOME/local $ make $ make install ``` Compile tmux: ```bash $ cd ~/downloads $ tar zxvf tmux.tar.gz $ cd tmux-n.n ``` Configure: Add your newly compiled header in ~/local/lib to configuration parameters: ```bash $ LDFLAGS="-L/usr/local/lib -L$HOME/local/lib -Wl,-rpath=/usr/local/lib:$HOME/local/lib" ./configure --prefix=$HOME/local ``` Makefile: This needs to be altered to include newly created files in ~/usr/local/include: - open vi with a search for "am_append_6 =": ```$ vi +/am__append_6\ = Makefile``` - change ```am__append_6 = -iquote. -I/usr/local/include``` to ```am__append_6 = -iquote. -I/usr/local/include -I$(prefix)/include``` - save and quit Continue on as normal: ```bash $ make $ make install ``` According to the output, the executable has been installed to ~/local/bin: ```bash make[1]: Entering directory `/home/robert/downloads/tmux-1.8' /bin/mkdir -p '/home/robert/local/bin' /usr/bin/install -c tmux '/home/robert/local/bin' /bin/mkdir -p '/home/robert/local/share/man/man1' /usr/bin/install -c -m 644 tmux.1 '/home/robert/local/share/man/man1' make[1]: Leaving directory `/home/robert/downloads/tmux-1.8' ``` In case another version of tmux is already installed on the system, you might want to add the following line to your ~/.bashrc, ~/.zshrc, etc: ```bash alias tmux=$HOME/local/bin/tmux ``` -
rschuman created this gist
Aug 6, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,42 @@ ### Dependencies: Downloads: - libevent: http://sourceforge.net/projects/levent/files/latest/download?source=files - tmux: http://sourceforge.net/projects/tmux/files/latest/download?source=files Yum Packages: - gcc - kernel-devel - make - ncurses-devel ### Installation for all Users Download the latest libevent2 and tmux: ```bash $ sudo su - $ mkdir ~/downloads && cd ~/downloads $ curl http://sourceforge.net/projects/levent/files/latest/download?source=files -L -o libevent2.tar.gz -w 'Last URL was: %{url_effective}' $ curl http://sourceforge.net/projects/tmux/files/latest/download?source=files -L -o tmux.tar.gz -w 'Last URL was: %{url_effective}' ``` Install dependencies: ```bash $ yum install gcc kernel-devel make ncurses-devel ``` Compile libevent: ```bash $ cd ~/downloads/libevent-2.x.xx $ ./configure --prefix=/usr/local $ make $ make install ``` Compile tmux: ```bash $ cd ~/downloads/tmux-n.n $ LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local $ make $ make install ```