2013/05/18(土)ubunto12.01TLS install
思い切ってメインマシンにLinux OSを持ってきた。
本家から64bit版のinstall diskを持ってきてインストール。GUIでサクサク…。
$ uname -a Linux UD02Ubuntu 3.5.0-30-generic #51~precise1-Ubuntu SMP Wed May 15 08:48:19 UTC 2013 x86_64 x86_64 x86_64 GNU/Linuxwinとちがって、64bitの恩恵が受けられるのはprocess空間のメモリサイズのようで、
物理メモリは4GBを越えても認識。利用される模様。
まぁ時代の流れってことで、64bit環境になれておきましょう、ということにしましょう(ぉ
日常利用ソフトの用意
chromeインストール
sudo apt-get install libxss1 sudo dpkg -i google-chrome-stable_current_amd64.deb
普段使いのコマンド
よもやtreeが無いとは思わなかった.. orzsudo apt-get install tree
mikutter
twitter clientとして。Ruby + ruby-gtk2が必要なので、Ubuntu11ではソースインストールが必要ぽい。サイトから付ぃアルを拾ってきて、展開する。Ruby-gtk2入れておけば実行される。
usr/local/bin/mikutter/
ruby
http://jurakudai.blog92.fc2.com/blog-entry-19.htmlhttp://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz/ $ wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz $ ./configure -prefix=/usr/local $ make $ make install $ sudo make install
$ tar xf ruby-2.0.0-p195.tar.bz2 $ cd ruby-2.0.0-p195/ $ ./configure --prefix=/home/yuichi/vroot $ make $ make test $ make install
http://ruby-gnome2.sourceforge.jp/ja/
ほか
これからvimになれていきましょうsudo apt-get install vim
cross compiler
$ sudo apt-get install ia32-libs ia32-libs-gtk $ sh arm-2011.03-41-arm-none-linux-gnueabi.binっと、インストール前に環境がアカン言われますね。
The installer has detected that your system uses the dash shell as /bin/sh. This shell is not supported by the installer. You can work around this problem by changing /bin/sh to be a symbolic link to a supported shell such as bash. For example, on Ubuntu systems, execute this shell command: % sudo dpkg-reconfigure -plow dash Install as /bin/sh? No Please refer to the Getting Started guide for more information, or contact CodeSourcery Support for assistance.
$ ./CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc --version arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2011.03-41) 4.5.2 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.最新は、以下の版になる模様。環境混在も厄介だけど、どうするかな-。
少し様子見してみるか。Coretex-A9をターゲットと考えると、新しいほうが初期の不具合が落ちてるかな...?
Sourcery CodeBench Lite 2013.05-24 This release was made on 7 May 2013.
git
最新版に追いついていないけれども、とりあえず手を抜いてapt-getしておく。不都合が出はじめたら移行を考えます(こればっかりかよ)
sudo apt-get install git[b:git-completion]は、関連パッケージでinstallされる模様。
入らなければ、以下のように個別に追加...
sudo apt-get install bash-completion
$HOME/.profile に、次の行を追加
if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi参考:
https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion