Skip to content

How to Install Dependencies

Wenhao Ji edited this page Mar 8, 2020 · 2 revisions

NOTE:

If you are using Mac, using Homebrew to install the plugin is strongly recommended since it will help you install the dependencies automatically and you DO NOT need to follow the instruction below again.

The plugin needs the following programs:

  • gnu-getopt(1)
  • tmux(1)

Since the getopt in GNU-Linux is by default the GNU's one, it is not required to install gnu-getopt again.

Install gnu-getopt

Only for MacOS

brew install gnu-getopt

# add the following lines to your rc file.
export GNU_GETOPT_PREFIX="$(brew --prefix gnu-getopt)"

Install Tmux

# Ubuntu
sudo apt-get install tmux

# CentOS
sudo yum install tmux

# MacOS
brew install tmux

Or, build from its source. (Tmux's Wiki: Installing)

Clone this wiki locally