always one step forward

OS X 10.10 Yosemite 各シェルや言語のバージョン

OS X 10.10 Yosemite をインストールした。AppStoreに表示されていた以下のアップデートを適用した(これは従来からCommand Line Toolsをインストールしている場合だけと思う)

  • Command Line Tools (OS X 10.10) 6.1

その後、色々確認してみたバージョンを淡々と列記。とりあえず気になっていたものだけ。

※ Markdown記法の コードブロック は改行を入れてくれないのだけど、今回はあえてそのまま改行なしで(スマートフォン向けページはちゃんと整形してくれます)

シェル

$ bash --version
GNU bash, version 3.2.53(1)-release (x86_64-apple-darwin14)
Copyright (C) 2007 Free Software Foundation, Inc.

$ zsh --version
zsh 5.0.5 (x86_64-apple-darwin14.0)

$ tcsh --version
tcsh 6.17.00 (Astron) 2009-07-10 (x86_64-apple-darwin) options wide,nls,dl,al,kan,sm,rh,color,filec

ssh

$ ssh -v

OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011

Swift

$ swift --version

Swift version 1.0 (swift-600.0.51.4)
Target: x86_64-apple-darwin14.0.0

Ruby

$ ruby -v

ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]

Python

$ python --version

Python 2.7.6

Perl

$ perl -v

This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)

Copyright 1987-2013, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

Java

java --version

No Java runtime present, requesting install.

‥と表示された後、JDKインストールを求めるウィンドウが表示される。[詳しい情報]クリックで以下が開く:

Java SE - Downloads | Oracle Technology Network | Oracle

clang, gcc, g++

$ clang -v

Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
$ gcc -v

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
$ g++ -v

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix

macport

$ port

Error: Current platform "darwin 14" does not match expected platform "darwin 13"
Error: If you upgraded your OS, please follow the migration instructions: https://trac.macports.org/wiki/Migration
OS platform mismatch
    while executing
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform mismatch

‥これは単にYosemite対応版をインストールしていないため。以下からダウンロード、インストールが必要

homebrewは使用していません

まあ、仮想環境が気軽に作れる昨今、あえてネイティブのOS上でなんでもやりましょう、という考え方はやや古いのかもしれない。けれど、パフォーマンスを考えればそうしたほうがよいわけで、いろいろ触って知識や経験を保っておくことはまだまだ大切な気がする。

たのしいSwiftプログラミング―[iOS 8&Xcode 6対応]

たのしいSwiftプログラミング―[iOS 8&Xcode 6対応]

VMwareの基本 ~仮想化のための設計・構築・運用のポイントがわかる

VMwareの基本 ~仮想化のための設計・構築・運用のポイントがわかる