7
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

最新のTmuxを入れる方法

Last updated at Posted at 2016-11-15

apt-getなどでは最新版が入らないことが多々ある。
パッケージをインストールする時、手動で設定する方法をメモ。

任意のバージョンのTmuxを入れる方法

対象はlinuxユーザ。

$ sudo apt-get update
$ sudo apt-get install -y libevent-dev libncurses-dev make
$ wget https://github.com/tmux/tmux/releases/download/2.x/tmux-2.x.tar.gz
$ tar xvzf tmux-2.x.tar.gz
$ cd tmux-2.x/
$ ./configure && make
$ sudo make install

追記

git cloneで最新のリポジトリから取得する時もある。
例えば、Tigの最新版を入れる方法を記載する。

$ git clone https://github.com/jonas/tig.git
$ cd tig
$ sh autogen.sh
$ ./configure --without-ncurses #日本語対応(必要なければ./configureだけでOK)
$ make
$ sudo make install

tmuxなら、こう。

$ git clone https://github.com/tmux/tmux.git
$ cd tmux
$ sudo apt-get install automake
$ sh autogen.sh
$ ./configure
$ make
$ sudo make install
7
9
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?