Movatterモバイル変換


[0]ホーム

URL:


LoginSignup
22

Go to list of users who liked

19

Share on X(Twitter)

Share on Facebook

Add to Hatena Bookmark

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.

Homebrew でパッケージの依存関係を調べる方法

Last updated atPosted at 2019-03-23

brew list をすると見知らぬパッケージがあり、消してもいいものなのか迷ったのでメモ。

インストール済みのすべてのパッケージの依存関係

$brew deps--installed

--tree をつけると階層状に表示される。
SS 2019-03-26 at 20.01.59.png

指定したパッケージが何に依存しているか

$brew deps <パッケージ>

同じく--tree をつけると階層状に表示される。

何が指定したパッケージに依存しているか

$brew uses <パッケージ>

--installed をつけるとインストール済みのもののみ表示される。

他のパッケージと依存関係のないものを表示

$brew leaves

参考

https://yu8mada.com/2018/06/08/how-to-list-homebrew-dependencies/
http://w6o6n.blog.fc2.com/blog-entry-153.html?sp

22

Go to list of users who liked

19
0

Go to list of comments

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
22

Go to list of users who liked

19

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?


[8]ページ先頭

©2009-2026 Movatter.jp