LoginSignup
3
3

More than 5 years have passed since last update.

Ubuntu12.04LTSにtig2.0.3をインストール

Posted at

なぜ12.04なのというのは置いといて.

https://github.com/jonas/tig/releases から最新tarballをwgetで落とす

以前から/usr/bin/tigに入ってた古いバージョン(0.1.7とかそのへん)はsudo apt-get purge tigで消しておく.
日本語に対応するためncurseをいれて設定を忘れずに.

$ sudo apt-get install libncursesw5-dev
$ LDLIBS=-lncursesw CFLAGS=-I/usr/include/ncursesw make prefix=/usr/local
$ LDLIBS=-lncursesw CFLAGS=-I/usr/include/ncursesw sudo make install prefix=/usr/local
$ which tig
/usr/local/bin/tig
$ tig --version
tig version 2.0.3
3
3
0

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
3
3