Skip to content
Jason Charney edited this page Apr 5, 2017 · 20 revisions

🔧 MOAR! This article could use more content. Like usage.

TMUX, or Terminal MUltipleXer, is an important utility if you are a die hard console user.

Prerequirements

🚧 This page need some work. New instructions have given some better insight as to how to install stuff.

You will likely want to install CMake boefore doing this. Also install the following

🔧 TODO: This list may need a review, especially after I decided to try downloading ncurses 6.0 from source.

autoconf automake gawk m4 libtool libltdl-dev libssl-dev libtinfo5 libtinfo-dev

It's not necessary to install ncurses or libevent from source, so we can do this.

libncurses5 libncurses5-dev ncurses-base ncurses-bin ncurses-term libevent-dev

Also, you don't need gettext unless you have some internationalization needs.

Installation

While Debian does have a binary version of it, it's too old. So let's download and install in and the software it depends on from source.

tmux requires ncurses (which as of November 2015 is currently up to date at version 5.9 when you install the libncurses5-dev library) and libevent (which is not up to date in the apt-get repository). We'll get tmux from Github this time.

ℹ️ Note: You can only add the -j4 argumet if you are using a Raspberry Pi 2.

ℹ️ Note: Following installing libevent, you MUST run sudo ldconfig. Check to make sure that ldconfig -p | grep -i 'libevent' to make sure it's added. If you forget, don't worry. You don't need to recompile. Alternatively, you could reboot later. More than likely, anytime in a directory starts with lib or has something in it that starts with lib and has file that end with .so, .la, and .lo.

$ cd ~/Software
$ curl -SL https://github.com/tmux/tmux/releases/download/2.3/tmux-2.3.tar.gz | tar xzv
$ cd tmux-2.3
$ ./configure && make -j4 && sudo make install

Once that is done, you can run tmux.

See Also

External Links

Setup

  1. [Assemble the Hardware](Assemble the Hardware)
  2. [Install the Software](Install the Software)
  3. 🆙 [Setup your Raspberry Pi](Setup your Raspberry Pi)
  4. [Download the Missing Parts](Download the Missing Parts)

Typical Utilities

  • [Downloading and extracting with curl and tar](curl and tar)
  • [Browsing with ls and cat](ls and cat)
  • [Searching with grep and find](grep and find)
  • [Filtering with sed and awk](sed and awk)
  • [Piping with less, pv, and tee](less, pv, and tee)
  • Monitor your system with htop
  • Multiplex with tmux

Clone this wiki locally