5
1

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.

Github用にtigをAmazon Linux 2にインストールした話

Posted at

AWSのEC2環境にGithub用にtigをインストールしたのでそのときの内容をまとめたいと思います

環境

○AmazonLinux2

インストール手順

○tigインストール用にワークフォルダを作って移動します(フォルダの作成は任意のフォルダ名でOKです)

$ mkdir work
$ cd work

○git cloneでソースコードをダウンロードしてフォルダに移動します

$ git clone https://github.com/jonas/tig.git
$ cd tig

○必要なパッケージをインストールします

$ sudo yum install automake
$ sudo yum provides \*/curses.h
$ yum install ncurses-devel

○日本語化の設定を行っていきます

$ ./autogen.sh
$ LDFLAGS=-L/usr/lib/ncursesw CPPFLAGS=-I/usr/include/ncursesw ./configure

○prefixを付けてコンパイル・インストールしていきます

$ make prefix=/usr/local
$ sudo make install prefix=/usr/local

以上で日本語対応済みのtig環境を使えます!

参考にしたページ

 [git] tigのインストール

5
1
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
5
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?