2
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.

Ubuntu 16.04 LTSにmikutter 3.6.4をインストール

Last updated at Posted at 2018-03-01

はまりポイント

  • Ruby 2.5.0が必要(なように見える)が、ubuntu 16.04 LTSには2.3.1しか入ってない

  • rbenvでruby2.5.0を入れてもlibruby.soがビルドされない。twitter-textで必要になるidnがlibruby.so.2.5.0をリンクしようとするのでsoがインストールされるRVM( https://rvm.io/ )を使ってruby2.5.0を入れる

  • 何故かtwitter-textのv2.jsonとかいうのがない。githubから適当にダウンロード( https://github.com/twitter/twitter-text/blob/master/config/v2.json )して適当に配置(激怒

手順

idn2とかgtk2とか確か必要だった気がした。激怒しすぎてもう忘れた(憤怒

追記(2018/3/2) libidn2-0-devじゃなくてlibidn11-devだった(激怒 お詫びします(憤怒

% sudo apt install curl
% sudo apt install libidn11-dev
% sudo apt install libgtk2.0-dev

% gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
% \curl -sSL https://get.rvm.io | bash -s stable
% echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
% source ~/.rvm/scripts/rvm

% rvm install "ruby-2.5.0"

% tar xzvf mikutter.3.6.4.tar.gz
% cd mikutter
% gem install bundle
% bundle install
% mkdir config
% curl https://raw.githubusercontent.com/twitter/twitter-text/master/config/v2.json > config/v2.json
% ./mikutter.rb
2
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
2
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?