Debian Jessie amd64にRuby 2.0.0をインストールする

以前,Debian Wheezy amd64にRuby 2.0.0をインストールした時の

メモどおりにインストールしました.

参照 ⇒ Debian Wheezy amd64にRuby 2.0.0をインストールする

前回とは違った点,気付いた点を書きます.

\curl -L https://get.rvm.io | bash -s stable --ruby

上記コマンドを打った後,以前とは違いsudoのパスワードを求められ,

裏で’apt-get update’コマンドが走り,

他に必要なパッケージである’libreadline6-dev, libsqlite3-dev, sqlite3, autoconf, libgdbm-dev, automake, bison, libffi-dev’

がインストールされました.

前のWheezyは開発環境がインストールされていたのですが,

今回のJessieにはまだソースコードからインストールできる環境が

整備できていなかったのでコンパイルに必要なパッケージを自動で検出し

インストールしてくれました.感謝.

最後に今回のログを載せておきます.

Please read and follow further instructions.
Press ENTER to continue.
Downloading RVM from wayneeseguin branch stable
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   124  100   124    0     0    127      0 --:--:-- --:--:-- --:--:--   131
100 1408k  100 1408k    0     0  68352      0  0:00:21  0:00:21 --:--:-- 58771

Upgrading the RVM installation in /home/hogehogeo/.rvm/
    RVM PATH line found in /home/hogehogeo/.bashrc.
    RVM PATH line not found for Zsh, run the installer with '--auto-dotfiles' to fix it.
    RVM sourcing line found in /home/hogehogeo/.bash_profile.
    RVM sourcing line not found for Zsh, run the installer with '--auto-dotfiles' to fix it.
Upgrade of RVM in /home/hogehogeo/.rvm/ is complete.

# hogehogeo,
#
#   Thank you for using RVM!
#   I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne

# In case of problems:
#        run and read: rvm notes
#           read docs: http://rvm.io/
#          talk to us: http://webchat.freenode.net/?channels=rvm
#     read cheatsheet: http://cheat.errtheblog.com/s/rvm
#    watch screencast: http://screencasts.org/episodes/how-to-use-rvm
#   open a bug report: https://github.com/wayneeseguin/rvm/issues

Upgrade Notes:

  * No new notes to display.

rvm 1.21.9 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]

Searching for binary rubies, this might take some time.
No binary rubies available for: debian/jessie_sid./x86_64/ruby-2.0.0-p247.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Installing requirements for debian, might require sudo password.
[sudo] password for hogehogeo:
取得:1 http://ftp.jp.debian.org jessie InRelease [148 kB]
ヒット http://ftp.jp.debian.org jessie/main amd64 Packages/DiffIndex
無視 http://emacs.naquadah.org unstable/ InRelease
取得:2 http://www.deb-multimedia.org jessie InRelease [25.9 kB]
ヒット http://ftp.jp.debian.org jessie/contrib amd64 Packages/DiffIndex
ヒット http://ftp.jp.debian.org jessie/non-free amd64 Packages/DiffIndex
ヒット http://ftp.jp.debian.org jessie/main i386 Packages/DiffIndex
ヒット http://ftp.jp.debian.org jessie/contrib i386 Packages/DiffIndex
ヒット http://ftp.jp.debian.org jessie/non-free i386 Packages/DiffIndex
ヒット http://ftp.jp.debian.org jessie/contrib Translation-en/DiffIndex
ヒット http://ftp.jp.debian.org jessie/main Translation-en/DiffIndex
ヒット http://ftp.jp.debian.org jessie/non-free Translation-en/DiffIndex
ヒット http://emacs.naquadah.org unstable/ Release.gpg
ヒット http://emacs.naquadah.org unstable/ Release
ヒット http://www.deb-multimedia.org jessie/main amd64 Packages
ヒット http://emacs.naquadah.org unstable/ Sources
ヒット http://www.deb-multimedia.org jessie/non-free amd64 Packages
ヒット http://emacs.naquadah.org unstable/ Packages
ヒット http://www.deb-multimedia.org jessie/main i386 Packages
ヒット http://www.deb-multimedia.org jessie/non-free i386 Packages
取得:3 http://security.debian.org jessie/updates InRelease [78.7 kB]
無視 http://emacs.naquadah.org unstable/ Translation-ja_JP
無視 http://emacs.naquadah.org unstable/ Translation-ja
無視 http://emacs.naquadah.org unstable/ Translation-en
ヒット http://security.debian.org jessie/updates/main amd64 Packages
ヒット http://security.debian.org jessie/updates/contrib amd64 Packages
ヒット http://security.debian.org jessie/updates/non-free amd64 Packages
ヒット http://security.debian.org jessie/updates/main i386 Packages
ヒット http://security.debian.org jessie/updates/contrib i386 Packages
ヒット http://security.debian.org jessie/updates/non-free i386 Packages
ヒット http://security.debian.org jessie/updates/contrib Translation-en
ヒット http://security.debian.org jessie/updates/main Translation-en
ヒット http://security.debian.org jessie/updates/non-free Translation-en
無視 http://www.deb-multimedia.org jessie/main Translation-ja_JP
無視 http://www.deb-multimedia.org jessie/main Translation-ja
無視 http://www.deb-multimedia.org jessie/main Translation-en
無視 http://www.deb-multimedia.org jessie/non-free Translation-ja_JP
無視 http://www.deb-multimedia.org jessie/non-free Translation-ja
無視 http://www.deb-multimedia.org jessie/non-free Translation-en
253 kB を 12秒 で取得しました (20.4 kB/s)
パッケージリストを読み込んでいます...
Installing required packages: libreadline6-dev, libsqlite3-dev, sqlite3, autoconf, libgdbm-dev, automake, bison, libffi-dev.........................................................
Requirements installation successful.
Installing Ruby from source to: /home/hogehogeo/.rvm/rubies/ruby-2.0.0-p247, this may take a while depending on your cpu(s)...
ruby-2.0.0-p247 - #downloading ruby-2.0.0-p247, this may take a while depending on your connection...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10.3M  100 10.3M    0     0   956k      0  0:00:11  0:00:11 --:--:--  974k
ruby-2.0.0-p247 - #extracting ruby-2.0.0-p247 to /home/hogehogeo/.rvm/src/ruby-2.0.0-p247
ruby-2.0.0-p247 - #extracted to /home/hogehogeo/.rvm/src/ruby-2.0.0-p247
ruby-2.0.0-p247 - #configuring.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
ruby-2.0.0-p247 - #compiling...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
ruby-2.0.0-p247 - #installing...............................................................................................................................................................................................................................................................................................
Retrieving rubygems-2.0.5
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  328k  100  328k    0     0   557k      0 --:--:-- --:--:-- --:--:--  748k
Extracting rubygems-2.0.5 ...
Removing old Rubygems files...
Installing rubygems-2.0.5 for ruby-2.0.0-p247.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Installation of rubygems completed successfully.
Saving wrappers to '/home/hogehogeo/.rvm/wrappers/ruby-2.0.0-p247'........

ruby-2.0.0-p247 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-2.0.0-p247 - #importing default gemsets, this may take time.......................
Install of ruby-2.0.0-p247 - #complete
Creating alias default for ruby-2.0.0-p247.
Recording alias default for ruby-2.0.0-p247.
Creating default links/files
Saving wrappers to '/home/hogehogeo/.rvm/bin'........

  * To start using RVM you need to run `source /home/hogehogeo/.rvm/scripts/rvm`
    in all your open shell windows, in rare cases you need to reopen all shell windows.
hogehogeo@al

SNSでもご購読できます。