良いHomebrewのドキュメント(またはチュートリアル)を見つけるのに苦労しています
その間に、Homebrew (brew install imagemagick
) と一緒にインストールされた ImageMagick を再インストールする必要がありますが、最初に brew uninstall imagemagick
するべきか、それとも既存のインストールの上に brew install imagemagick --disable-openmp --force
するべきか迷っています!
--force
は実際に何をするのでしょうか? アンインストールした後に新しいパラメータで新しいインストールをするのでしょうか?
124 None 2011-08-18
install
アクションの --force
オプションは、インストールしようとしているパッケージが既に存在する場合に、 ディスク上の既存のファイルを上書きします。uninstall
アクションのようにディスクからファイルを削除することはありません
私は、install
をする前にbrew uninstall imagemagick
をします。brew
の場合は、最もシンプルなアプローチがベストであることが多いです。何かを再インストールしたい場合は、まず uninstall
でそれを削除してから install
で元に戻します。自作のサンドボックス化は、システムからのアンインストールをクリーンにするために非常に良い仕事をしてくれます
手作業でアンインストールしたい場合は、/usr/local/bin
から../Cellar/imagemagick
にリンクしているファイルを探して、それらのシンボリックリンクを削除してください。そして /usr/local/bin/imagemagick
を削除すれば、それは消えます。削除が必要な依存パッケージがいくつか残っているかもしれませんが、コアとなる imagemagick パッケージは削除されています。さらにクリーンアップを行いたい場合は、imagemagick が何に依存しているかを確認するために実行してください
$ brew info imagemagick
imagemagick 6.7.1-1
![](https://code-404.net/wp-content/uploads/cocoon-resources/blog-card-cache/a4abcd12fcd6e249001aa5084d9a5fc0.png)
ImageMagick – Mastering Digital Image AlchemyImageMagick is a free and open-source software suite used for editing and manipulating digital images. It provides a versatile set of tools for various image-re...
Depends on: jpeg, libtiff, little-cms, jasper
Not installed
Some tools will complain unless the ghostscript fonts are installed to:
/usr/local/share/ghostscript/fonts
![](https://opengraph.githubassets.com/1f4044e7ed293a079572b7d2294b0d3167e28bbe4ed1999ee915614aea02c56d/Homebrew/legacy-homebrew)
History for Library/Formula/imagemagick.rb - Homebrew/legacy-homebrew💀 The former home of Homebrew/homebrew (deprecated) - History for Library/Formula/imagemagick.rb - Homebrew/legacy-homebrew
106 Ian C. 2011-08-18
Homebrew には brew reinstall
コマンド、2013年2月追加 があります。これは単純にアンインストールとインストールを行います
134 Nelson 2013-03-29