2
4

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.

MBAにMervericks 入れて環境構築し直したので手順(Fink入れるまで)

Last updated at Posted at 2014-04-05

Macbook air に Mervericks 入れて環境構築し直したので手順

クリーンインストール

まずは壁紙

  • 壁紙はシェリルじゃないとやーよ!やーよ!なので、いつもの探す
  • いつもの

システム環境設定

  • キーボード > Fnキーはうんたんにチェック
  • Spotlight無効化(Emacs使う時に面倒)
  • Mission Controll で左下ホットコーナーにスクリーンセーバ開始
  • ユーザとグループでゲスト頃す
  • Dockは左側へ変更して、小さくする(邪魔)

GUI で入れるもの

  • 最近はコンソールとブラウザしか触ってない情弱なので
  • Xcode
  • iterm2
  • alfred
  • Firefox
  • Google Chrome
  • Opera
  • LimeChat
  • MenuTab for Facebook
  • 夜フクロウ
  • Geektool
  • ESET Cyber Security
  • HUDTube
  • Geektool はカレンダと時刻表示のために使ってる程度
  • Caffeine は caffeinate 打てばいいからいらない
  • Markdown エディタは色々と試してみたいかな
  • ESET, HUDTube は有料アプリ

BGM

プロンプトがつらいので変更する

パッケージ管理ソフト

  • 今までは macport 使ってたけど、homebrew 使えって言われた
  • なので、今回は Debian つこてるってのもあって fink を前から使いたかったので試す。
  • Fink - Home
  • 更新もちゃんと行われてるし make 出来れば別に困ることもなかろう?
  • Javax11 xquartz 入れろって言われるから先に入れた方がいいかも?

作業ログ

  • 作業ログ
  • 特にアレなのとかないから script でとったのそのまま

20140406-1310追記 酒のみながら書いててすごい乱暴だったw

$ Downloads/fink-0.36.1
$ sudo ./bootstrap
  • なんか色々聞かれたので、それぞれ書いていく
  • 権限は何でやるかみたいなこと聞かれた。
  • 個人用だから sudo でよかろ?
Fink must be installed and run with superuser (root) privileges. Fink can automatically try to become root when it's run from a user account.
Available methods:

(1) Use sudo
(2) Use su
(3) None, fink must be run as root
 
Choose a method: [1] 1
  • UID/GID 取得してもいいか?とか聞かれる
  • 嫌って言ったらインストール出来んのやろ?
Fink can set the UID and GID of its build user dynamically to find unused values in a safe range. This is recommended unless you need to have a
specific UID/GID e.g. due to a policy on your network. Allow Fink to set the UID/GID dynamically? [Y/n]
  • verbose の設定かなー
  • ひとまずは Low でいいや
(1) Quiet (do not show download statistics)
(2) Low (do not show tarballs being expanded)
(3) Medium (will show almost everything)
(4) High (will show everything)
 
How verbose should Fink be? [2] 
  • Firewall で制限とかしてないから別にいい
Proxy/Firewall settings
Enter the URL of the HTTP proxy to use, or 'none' for no proxy. The URL should start with http:// and may contain username, password, and/or port
specifications. Note that this value will be visible to all users on your computer.
Example, http://username:password@hostname:port
Your proxy: [none]
Enter the URL of the FTP proxy to use, or 'none' for no proxy. The URL should start with http:// and may contain username, password, and/or port
specifications. Note that this value will be visible to all users on your computer.
Example, http://username:password@hostname:port
Your proxy: [none]
Use passive mode FTP transfers (to get through a firewall)? [Y/n] 
  • ミラーどこにするかみたいな話、とりあえずはデフォルトでおkおk
The Fink team maintains mirrors known as "Master" mirrors, which contain the sources for all fink packages. You can choose to use these mirrors
first, last, never, or mixed in with regular mirrors. If you don't care, just select the default.
 
(1) Search "Master" source mirrors first.
(2) Search "Master" source mirrors last.
(3) Never use "Master" source mirrors.
(4) Search closest source mirrors first. (combine all mirrors into one set)
 
What mirror order should fink use when downloading sources? [1]
  • 大陸聞かれる
  • 嘘つく必要もなかろ?
Choose a continent:
 
(1) Africa
(2) Asia
(3) Australia
(4) Europe
(5) North America
(6) South America, Middle America and Caribbean
 
Your continent? [2] 2
  • 今度は国
  • 嘘つく必要もなかろ?
Choose a country:
 
(1) No selection - display all mirrors on the continent
(2) Armenia
(3) Bangladesh
(4) China
(5) Georgia
(6) Hong Kong
(7) India
(8) Indonesia
(9) Iran
(10) Japan
(11) Malaysia
(12) Pakistan
(13) Philippines
(14) Saudi Arabia
(15) Singapore
(16) South Korea
(17) Taiwan
(18) Thailand
(19) Vietnam
 
Your country? [10] 10
  • ミラーのマスタどこにするかみたいなこと聞かれる
  • Japan を選択
Choose a mirror for 'Master Fink mirrors':
 
(1) Primary: http://distfiles.master.finkmirrors.net/
(2) Japan: http://distfiles.hnd.jp.asi.finkmirrors.net/
 
Mirror for Master Fink mirrors? [1] 2
  • Fink自体のアップデートはどっちを使うかみたいな話
  • これは本家っぽいのを使っておく
Choose a mirror for 'RSync SelfUpdate':
 
(1) Primary: rsync://distfiles.master.finkmirrors.net/finkinfo/
(2) Japan: rsync://hnd.jp.asi.finkmirrors.net/finkinfo/
 
Mirror for RSync SelfUpdate? [1] 1
  • apt-get する時はどっち使うかみたいなの
  • Japan にしておく
Choose a mirror for 'Apt-Get Repository':
 
(1) Primary: http://bindist.finkmirrors.net/bindist
(2) Japan: http://fink.sodan.ecc.u-tokyo.ac.jp/bindist/bindist
 
Mirror for Apt-Get Repository? [1] 2
  • GNU関連のミラー選択、空いてそうなとこを選ぶ
Choose a mirror for 'GNU software':
 
(1) Primary: ftp://ftp.gnu.org/gnu
(2) Japan: ftp://ftp.ring.gr.jp/pub/GNU
(3) Japan: http://core.ring.gr.jp/pub/GNU
(4) Japan: http://ftp.jaist.ac.jp/pub/GNU
 
Mirror for GNU software? [1] 3
  • GNOME とか言われる。とりあえず、これも Japan
Choose a mirror for 'GNOME':
 
(1) Primary: ftp://ftp.gnome.org/pub/GNOME
(2) Japan: ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME
 
Mirror for GNOME? [1] 2
  • GIMP とか言われる。とりあえず(ry
Choose a mirror for 'The GIMP':
 
(1) Primary: ftp://ftp.gimp.org/pub/gimp
(2) Japan: ftp://ftp.ring.gr.jp/pub/graphics/gimp
(3) Japan: ftp://ftp.u-aizu.ac.jp/pub/graphics/tools/gimp/gimp
(4) Japan: http://www.ring.gr.jp/pub/graphics/gimp
 
Mirror for The GIMP? [1] 3
  • Texとか言われる。なぜか会津大学を選択した模様。。
Choose a mirror for 'Comprehensive TeX Archive Network':
 
(1) Primary: ftp://tug.ctan.org/tex-archive
(2) Japan: ftp://ftp.jaist.ac.jp/pub/CTAN
(3) Japan: ftp://ftp.kddilabs.jp/CTAN
(4) Japan: ftp://ftp.riken.go.jp/pub/tex-archive
(5) Japan: ftp://ftp.u-aizu.ac.jp/pub/tex/CTAN
(6) Japan: ftp://ftp.yz.yamagata-u.ac.jp/pub/CTAN
(7) Japan: http://ftp.jaist.ac.jp/pub/CTAN
(8) Japan: http://ftp.yz.yamagata-u.ac.jp/pub/CTAN
 
Mirror for Comprehensive TeX Archive Network? [1] 5
  • CPAN ミラー、fink で入れることもなかろうが、ここでも会津大学を選択した模様
Choose a mirror for 'Comprehensive Perl Archive Network':
 
(1) Primary: ftp://ftp.cpan.org/pub/CPAN
(2) Japan: ftp://ftp.dti.ad.jp/pub/lang/CPAN
(3) Japan: ftp://ftp.jaist.ac.jp/pub/CPAN
(4) Japan: ftp://ftp.kddilabs.jp/CPAN
(5) Japan: ftp://ftp.nara.wide.ad.jp/pub/CPAN
(6) Japan: ftp://ftp.riken.jp/lang/CPAN
(7) Japan: ftp://ftp.ring.gr.jp/pub/lang/perl/CPAN
(8) Japan: ftp://ftp.u-aizu.ac.jp/pub/CPAN
(9) Japan: ftp://ftp.yz.yamagata-u.ac.jp/pub/lang/cpan
(10) Japan: http://ftp.jaist.ac.jp/pub/CPAN
(11) Japan: http://ftp.nara.wide.ad.jp/pub/CPAN
(12) Japan: http://ftp.riken.jp/lang/CPAN
(13) Japan: http://ftp.yz.yamagata-u.ac.jp/pub/lang/cpan
  • Debian のミラーサイト?searchで使うのかな?
  • 2 を選択しておく
Choose a mirror for 'Debian':
 
(1) Primary: ftp://ftp.debian.org/debian
(2) Japan: http://ftp.jp.debian.org/debian
(3) Japan: http://ftp2.jp.debian.org/debian
 
Mirror for Debian? [1] 2
  • FreeBSD とか触ったことない情弱
Choose a mirror for 'FreeBSD':
 
(1) Primary: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles
(2) Japan: ftp://ftp.jp.freebsd.org/pub/FreeBSD/ports/distfiles
(3) Japan: ftp://ftp2.jp.freebsd.org/pub/FreeBSD/ports/distfiles
(4) Japan: ftp://ftp3.jp.freebsd.org/pub/FreeBSD/ports/distfiles
(5) Japan: ftp://ftp4.jp.freebsd.org/pub/FreeBSD/ports/distfiles
(6) Japan: ftp://ftp5.jp.freebsd.org/pub/FreeBSD/ports/distfiles
(7) Japan: ftp://ftp6.jp.freebsd.org/pub/FreeBSD/ports/distfiles
(8) Japan: ftp://ftp7.jp.freebsd.org/pub/FreeBSD/ports/distfiles
(9) Japan: ftp://ftp8.jp.freebsd.org/pub/FreeBSD/ports/distfiles
(10) Japan: ftp://ftp9.jp.freebsd.org/pub/FreeBSD/ports/distfiles
 
Mirror for FreeBSD? [1] 3
  • KDE、空いてそうなところ
Choose a mirror for 'KDE':
 
(1) Primary: ftp://ftp.kde.org/pub/kde
(2) Japan: ftp://ftp.kddlabs.co.jp/pub/X11/kde
(3) Japan: ftp://ftp.ring.gr.jp/pub/X/kde
(4) Japan: ftp://ftp.yz.yamagata-u.ac.jp/pub/X11/wm/kde
(5) Japan: http://ftp.kddlabs.co.jp/pub/X11/kde
(6) Japan: http://ftp.ring.gr.jp/pub/X/kde
(7) Japan: http://ftp.yz.yamagata-u.ac.jp/pub/X11/wm/kde
 
Mirror for KDE? [1] 5
  • Sourceforge、なぜか、Primary選択してた
Choose a mirror for 'SourceForge':
 
(1) Primary: http://downloads.sourceforge.net/
(2) Japan: http://jaist.dl.sourceforge.net/sourceforge/
 
Mirror for SourceForge? [1] 1
  • Apacheプロジェクト、これもPrimary
Choose a mirror for 'The Apache Project':
 
(1) Primary: http://www.apache.org/dist
(2) Japan: ftp://ftp.kddilabs.jp/infosystems/apache
(3) Japan: ftp://ftp.meisei-u.ac.jp/pub/www/apache/dist
(4) Japan: ftp://ftp.riken.jp/net/apache
(5) Japan: http://ftp.jaist.ac.jp/pub/apache
(6) Japan: http://ftp.kddilabs.jp/infosystems/apache
(7) Japan: http://ftp.riken.jp/net/apache
(8) Japan: http://www.meisei-u.ac.jp/mirror/apache/dist
 
Mirror for The Apache Project? [1] 
  • プロフィール書いてもらう
  • ダイアログ出るのでYES
$ /sw/bin/pathsetup.sh

.bashrc に下を追加して PATH 通してあげないとだめ

if [ -f /sw/bin/init.sh ] ; then
    . /sw/bin/init.sh
fi

とりあえず

  • 今日はこっこまでー
2
4
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
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?