差分

この文書の現在のバージョンと選択したバージョンの差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
memo:osx [2013/10/07 09:11]
hasegawa
memo:osx [2016/08/10 15:00] (現在)
hasegawa [OSアップグレード]
ライン 1: ライン 1:
 {{tag>​osx}} {{tag>​osx}}
  
-====== Mac OSX ======+====== Mac OS X ======
  
 ===== MS Office 2011 ===== ===== MS Office 2011 =====
 先週末のアップデート後にExcelが落ちるようになり,セーフモードを試すも意味が無いので,仕方なく再インストールした. 先週末のアップデート後にExcelが落ちるようになり,セーフモードを試すも意味が無いので,仕方なく再インストールした.
  
-単純なアプリケーションフォルダからの削除・再インストールではダメで,AppClearnerでの削除でもダメで,MS公式の完全なアンインストール後の再インストールでようやく使用可能になった.+単純なアプリケーションフォルダからの削除・再インストールではダメで,AppClearnerでの削除でもダメで,MS公式の完全なアンインストール方法実施後の再インストールでようやく使用可能になった.
  
 http://​support.microsoft.com/​kb/​2398768/​ja http://​support.microsoft.com/​kb/​2398768/​ja
ライン 20: ライン 20:
  
 2012/05/14 2012/05/14
-====== emacs ====== 
-===== インストール ===== 
-http://​sakito.jp/​emacs/​emacs23.htmlに書いてあることを実行すればOK 
  
-ダウンロード +===== Yosemite 10.10.5からEl Capitan 10.11.6にアップグレード ===== 
-  curl -O http://ftp.gnu.org/​pub/​gnu/​emacs/​emacs-23.4.tar.gz + 
-解凍 +0Time Machineでバックアップを取っておく 
-  tar xvfz emacs-23.4.tar.gz +1App Storeからアップグレード 
-解凍ディに移動 +2. 再起動,起動時にcmd+Rを押し続けて「OS X 復元」を起動 
-  cd emacs-23.4 +3. 「ディユーティティ」でシステムドライブを削除 
-ドとインストール(かなり時間が掛かる +4. 「OS Xを再インストー」でEl Capitanをネットワークインストール 
-  ​./​configure --with-ns --without-x +5. インストール後に起動し,データやアプリをTime Machineら復元する 
-  ​make + 
-  make install +
-開く +
-  open nextstep/​Emacs.app+
  
 +```
 +brew cask install qlcolorcode quicklook-csv qlmarkdown
 +```
 ====== vim ====== ====== vim ======
 ===== インストール ===== ===== インストール =====
ライン 103: ライン 101:
  
 ==== トラックパッド関係 ==== ==== トラックパッド関係 ====
-----+
 BetterTouchTool:トラックパッドの機能を拡張するアプリ BetterTouchTool:トラックパッドの機能を拡張するアプリ
  
ライン 111: ライン 109:
  
 参考:http://​d.hatena.ne.jp/​RyoAnna/​20110731/​1312100591 参考:http://​d.hatena.ne.jp/​RyoAnna/​20110731/​1312100591
- 
----- 
  
 ===== Finder ===== ===== Finder =====
ライン 128: ライン 124:
 http://​inforati.jp/​apple/​mac-tips-techniques/​system-hints/​how-to-display-the-full-path-of-folder-in-macos-finder-titlebar.html http://​inforati.jp/​apple/​mac-tips-techniques/​system-hints/​how-to-display-the-full-path-of-folder-in-macos-finder-titlebar.html
  
-便利かと思ったけど,パスバー表示&タブ環境では使いにくい.パスが右寄せで現在ディレクトリが表示されるような形になれば便利かも.+便利かと思ったけど,パスバー表示&タブ環境では使いにくい.パスが右寄せでカレントディレクトリが表示されるような形になれば便利かも.
  
 ===== その他の環境整備 ===== ===== その他の環境整備 =====
ライン 179: ライン 175:
   export https_proxy="​http://​proxy.com:​8080/"​   export https_proxy="​http://​proxy.com:​8080/"​
   export ftp_proxy="​http://​proxy.com:​8080/"​   export ftp_proxy="​http://​proxy.com:​8080/"​
-を記述し(プロクシアドレスとポート番号は適宜変更)+を記述し(プロクシアドレスとポート番号は適宜変更).
  
 curlのマニュアルを読むと,http://​www.hcn.zaq.ne.jp/​___/​unix/​curl_manpage.html#​O-proxy にproxyのオプションがあった.これを使って, curlのマニュアルを読むと,http://​www.hcn.zaq.ne.jp/​___/​unix/​curl_manpage.html#​O-proxy にproxyのオプションがあった.これを使って,
ライン 186: ライン 182:
  
 シェルを再起動してから上記スクリプトを実行すると, シェルを再起動してから上記スクリプトを実行すると,
 +
   ==> This script will install:   ==> This script will install:
   /​usr/​local/​bin/​brew   /​usr/​local/​bin/​brew
ライン 210: ライン 207:
   ​   ​
   Press enter to continue   Press enter to continue
 +
 と出て,エンターを押すと,パスワードを求められる.ログインパスワードを入力すると... と出て,エンターを押すと,パスワードを求められる.ログインパスワードを入力すると...
 +
   ==> Downloading and Installing Homebrew...   ==> Downloading and Installing Homebrew...
   ==> Installation successful!   ==> Installation successful!
   You should run `brew doctor'​ *before* you install anything.   You should run `brew doctor'​ *before* you install anything.
   Now type: brew help   Now type: brew help
 +
 とりあえずインストールは出来た とりあえずインストールは出来た
-  $ brew -v 
 バージョンチェック バージョンチェック
 +
 +  $ brew -v
   0.9   0.9
 +
 homebrewを使って何かをインストールする前に`brew doctor'​を実行すれというので実行 homebrewを使って何かをインストールする前に`brew doctor'​を実行すれというので実行
 +
   $ `brew doctor'​   $ `brew doctor'​
 +
 すると,Warningがたくさん出た. すると,Warningがたくさん出た.
 +
   Warning: Some directories in /​usr/​local/​share/​man aren't writable.   Warning: Some directories in /​usr/​local/​share/​man aren't writable.
   This can happen if you "sudo make install"​ software that isn't managed   This can happen if you "sudo make install"​ software that isn't managed
ライン 230: ライン 235:
     /​usr/​local/​share/​man/​de     /​usr/​local/​share/​man/​de
     /​usr/​local/​share/​man/​de/​man1     /​usr/​local/​share/​man/​de/​man1
 +
 書き込めなくってエラーが出るから,所有者を変えろとのこと.変えましょう. 書き込めなくってエラーが出るから,所有者を変えろとのこと.変えましょう.
 +
   $ chown -v hasegawa /​usr/​local/​share/​man/​de   $ chown -v hasegawa /​usr/​local/​share/​man/​de
   chown: /​usr/​local/​share/​man/​de:​ Operation not permitted   chown: /​usr/​local/​share/​man/​de:​ Operation not permitted
 +
 権限が足りないので,sudo 権限が足りないので,sudo
 +
   $ sudo chown -v hasegawa /​usr/​local/​share/​man/​de   $ sudo chown -v hasegawa /​usr/​local/​share/​man/​de
   Password:   Password:
   /​usr/​local/​share/​man/​de   /​usr/​local/​share/​man/​de
 +
 OK.次 OK.次
 +
   $ sudo chown -v hasegawa /​usr/​local/​share/​man/​de/​man1   $ sudo chown -v hasegawa /​usr/​local/​share/​man/​de/​man1
   Password:   Password:
   /​usr/​local/​share/​man/​de/​man1   /​usr/​local/​share/​man/​de/​man1
 +
 OK.次の警告はXcodeが古いから新しくすれとのこと. OK.次の警告はXcodeが古いから新しくすれとのこと.
 +
   Warning: You have Xcode 4.2.1, which is outdated.   Warning: You have Xcode 4.2.1, which is outdated.
   Please install Xcode 4.3.   Please install Xcode 4.3.
 +
 App Store見ても更新がない.アップデート方法を検索すると,このサイト App Store見ても更新がない.アップデート方法を検索すると,このサイト
 http://​null.ly/​post/​17783037515/​switch-xcode-4-2-1-to-4-3 http://​null.ly/​post/​17783037515/​switch-xcode-4-2-1-to-4-3
 で別にXcode使わないならコマンドラインツールだけ別にインストール出来るとのこと. で別にXcode使わないならコマンドラインツールだけ別にインストール出来るとのこと.
 Xcode使わないから,アンインストール. Xcode使わないから,アンインストール.
 +
   $ sudo /​Developer/​Library/​uninstall-devtools --mode=all   $ sudo /​Developer/​Library/​uninstall-devtools --mode=all
 +
 アップルの開発者向けサイトhttps://​developer.apple.com/​ でユーザ登録し, アップルの開発者向けサイトhttps://​developer.apple.com/​ でユーザ登録し,
 https://​developer.apple.com/​downloads/​index.action でcommand lineを検索して https://​developer.apple.com/​downloads/​index.action でcommand lineを検索して
 cltools_lion_latemarch12.dmg をダウンロードしてインストールする.とりあえずgcc入っているかチェック cltools_lion_latemarch12.dmg をダウンロードしてインストールする.とりあえずgcc入っているかチェック
 +
   $ gcc -v   $ gcc -v
   略   略
   gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)   gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
 +
 入ってる. 入ってる.
  
ライン 260: ライン 278:
  
 次, 次,
 +
   Warning: Unbrewed dylibs were found in /​usr/​local/​lib.   Warning: Unbrewed dylibs were found in /​usr/​local/​lib.
   If you didn't put them there on purpose they could cause problems when   If you didn't put them there on purpose they could cause problems when
ライン 278: ライン 297:
   Unexpected static libraries:   Unexpected static libraries:
     /​usr/​local/​lib/​libmecab.a     /​usr/​local/​lib/​libmecab.a
 +
 mecab関連のファイルが邪魔らしい.面倒なのでmecabをアンインストールする. mecab関連のファイルが邪魔らしい.面倒なのでmecabをアンインストールする.
 +
   $ cd mecab-0.98   $ cd mecab-0.98
   $ make uninstall   $ make uninstall
 +
 もう一度 もう一度
 +
   $ brew doctor   $ brew doctor
   ​   ​
ライン 296: ライン 319:
   ​   ​
   DO NOT SET / OR EVERYTHING BREAKS!   DO NOT SET / OR EVERYTHING BREAKS!
 +
 確かに,I have *only* installed the Command Line Tools for Xcode.なので,いろいろ調べるのも面倒なので,App StoreからXcodeをインストールする. 確かに,I have *only* installed the Command Line Tools for Xcode.なので,いろいろ調べるのも面倒なので,App StoreからXcodeをインストールする.
 +
   $ xcode-select -print-path   $ xcode-select -print-path
   /Developer   /Developer
 +
 正しいpathに変更 正しいpathに変更
 +
   $ sudo xcode-select -switch /​Applications/​Xcode.app/​Contents/​Developer   $ sudo xcode-select -switch /​Applications/​Xcode.app/​Contents/​Developer
   Password:   Password:
   $ xcode-select -print-path   $ xcode-select -print-path
   /​Applications/​Xcode.app/​Contents/​Developer   /​Applications/​Xcode.app/​Contents/​Developer
 +
 さて,もう一度 さて,もう一度
 +
   $ brew doctor   $ brew doctor
   Warning: Your Homebrew is outdated   Warning: Your Homebrew is outdated
   You haven'​t updated for at least 24 hours, this is a long time in brewland!   You haven'​t updated for at least 24 hours, this is a long time in brewland!
   hasegawa99:​Developer hasegawa$   hasegawa99:​Developer hasegawa$
 +
 一応homebrewのインストールスクリプトを再実行したが,やはりbrew doctorで同じ警告が出る.のでアップデート 一応homebrewのインストールスクリプトを再実行したが,やはりbrew doctorで同じ警告が出る.のでアップデート
 +
   $ brew update   $ brew update
   Initialized empty Git repository in /​usr/​local/​.git/​   Initialized empty Git repository in /​usr/​local/​.git/​
ライン 323: ライン 354:
   HEAD is now at 457c025 cassandra 1.1.0   HEAD is now at 457c025 cassandra 1.1.0
   Already up-to-date.   Already up-to-date.
 +
 もう一度確認. もう一度確認.
 +
   $ brew doctor   $ brew doctor
   Your system is raring to brew.   Your system is raring to brew.
 +
 OK. OK.
  
memo/osx.1381137064.txt.gz · 最終更新: 2016/07/17 04:19 (外部編集)
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0

- Rental Orbit Space -