Homebrewは、OS標準のコマンド群ではないので
定期的なupdateチェックが必要です。
brew doctorで診断
管理者権限が必要ですので、「sudo」コマンドで「brew doctor」と入力して現状をチェックします。
% sudo brew doctor
Password:
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Your Homebrew is outdated.
You haven't updated for at least 24 hours. This is a long time in brewland!
To update Homebrew, run `brew update`.
%
上記のように
「Your Homebrew is outdated」
となっている場合は、
brewの更新が必要です。
brewのupdate
更新は、「brew update」コマンドで実行します。
「==> New Formula」は、新しく追加されたパッケージ。
「==> Update Formula」は、更新されたパッケージ、
「==> Deleted Formula」は、削除されたパッケージです。
思ったより、簡単でしょ
「==> New Formula」は、新しく追加されたパッケージ。
「==> Update Formula」は、更新されたパッケージ、
「==> Deleted Formula」は、削除されたパッケージです。
% sudo brew update
Password:
Updated Homebrew from 58980ce8 to 217f9274.
==> New Formulae
abi-compliance-checker epeg libpointing stoken
afl-fuzz glbinding mysql-sandbox tippecanoe
<中略>
・・・
・・・
==> Updated Formulae
abcm2ps curaengine heroku-toolbelt mkvtoolnix schroedinger
abcmidi curl hh mongodb
<中略>
・・・
・・・
cuetools haxe minuit2 saltstack
==> Deleted Formulae
itsol mess salt ume
%
おしまい
以上でHomebrewのupdateはおしまい。思ったより、簡単でしょ
0 件のコメント:
コメントを投稿