Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

66%
+2 −0
Q&A How do I safely replace brew on Big Sur?

Brew's deps command might help: brew deps --installed will list out top-level packages and their installed dependencies. Note that some of the top-level packages might be dependencies for other t...

posted 2y ago by CodeFarmer‭  ·  edited 2y ago by CodeFarmer‭

Answer
#4: Post edited by user avatar CodeFarmer‭ · 2021-12-09T19:48:53Z (over 2 years ago)
Add a bit more discussion
  • Brew's `deps` command might help:
  • `brew deps --installed` will list out top-level packages and their installed dependencies.
  • Example:
  • ```
  • $ brew deps --installed
  • /* Some top-level packages without dependencies */
  • aspell
  • bash
  • docbook
  • /* Some top-level packages with dependencies */.
  • docbook-xsl: docbook
  • fontconfig: freetype
  • freetype: libpng
  • ...
  • $
  • ```
  • `brew deps --tree --installed` will do the same but the output will be in a tree display which can be helpful too.
  • ```
  • $ brew deps --tree --installed
  • /* Some top-level packages without dependencies */
  • aspell
  • bash
  • docbook
  • /* Some top-level packages with dependencies */.
  • docbook-xsl
  • |_docbook
  • fontconfig
  • |_freetype
  • |_libpng
  • ...
  • $
  • ```
  • Brew's `deps` command might help:
  • `brew deps --installed` will list out top-level packages and their installed dependencies. Note that some of the top-level packages might be dependencies for other top-level packages. Still, if you were to do a fresh install of all of the top-level packages, I think Brew will also install all the dependencies and you should have the same set of packages as before.
  • Example:
  • ```
  • $ brew deps --installed
  • /* Some top-level packages without dependencies */
  • aspell
  • bash
  • docbook
  • /* Some top-level packages with dependencies */.
  • docbook-xsl: docbook
  • fontconfig: freetype
  • freetype: libpng
  • ...
  • $
  • ```
  • `brew deps --tree --installed` will do the same but the output will be in a tree display which can be helpful too.
  • ```
  • $ brew deps --tree --installed
  • /* Some top-level packages without dependencies */
  • aspell
  • bash
  • docbook
  • /* Some top-level packages with dependencies */.
  • docbook-xsl
  • |_docbook
  • fontconfig
  • |_freetype
  • |_libpng
  • ...
  • $
  • ```
#3: Post edited by user avatar CodeFarmer‭ · 2021-12-08T19:37:21Z (over 2 years ago)
Add command to examples.
  • Brew's `deps` command might help:
  • `brew deps --installed` will list out top-level packages and their installed dependencies.
  • Example:
  • ```
  • /* Some top-level packages without dependencies */
  • aspell
  • bash
  • docbook
  • /* Some top-level packages with dependencies */.
  • docbook-xsl: docbook
  • fontconfig: freetype
  • freetype: libpng
  • ```
  • `brew deps --tree --installed` will do the same but the output will be in a tree display which can be helpful too.
  • ```
  • /* Some top-level packages without dependencies */
  • aspell
  • bash
  • docbook
  • /* Some top-level packages with dependencies */.
  • docbook-xsl
  • |_docbook
  • fontconfig
  • |_freetype
  • |_libpng
  • ```
  • Brew's `deps` command might help:
  • `brew deps --installed` will list out top-level packages and their installed dependencies.
  • Example:
  • ```
  • $ brew deps --installed
  • /* Some top-level packages without dependencies */
  • aspell
  • bash
  • docbook
  • /* Some top-level packages with dependencies */.
  • docbook-xsl: docbook
  • fontconfig: freetype
  • freetype: libpng
  • ...
  • $
  • ```
  • `brew deps --tree --installed` will do the same but the output will be in a tree display which can be helpful too.
  • ```
  • $ brew deps --tree --installed
  • /* Some top-level packages without dependencies */
  • aspell
  • bash
  • docbook
  • /* Some top-level packages with dependencies */.
  • docbook-xsl
  • |_docbook
  • fontconfig
  • |_freetype
  • |_libpng
  • ...
  • $
  • ```
#2: Post edited by user avatar CodeFarmer‭ · 2021-12-07T20:26:07Z (over 2 years ago)
Reformat code sections with the 3-ticks codefence.
  • Brew's `deps` command might help:
  • `brew deps --installed` will list out top-level packages and their installed dependencies.
  • Example:
  • `/* Some top-level packages without dependencies */
  • aspell
  • bash
  • docbook
  • /* Some top-level packages with dependencies */.
  • docbook-xsl: docbook
  • fontconfig: freetype
  • freetype: libpng
  • `
  • `brew deps --tree --installed` will do the same but the output will be in a tree display which can be helpful too.
  • Brew's `deps` command might help:
  • `brew deps --installed` will list out top-level packages and their installed dependencies.
  • Example:
  • ```
  • /* Some top-level packages without dependencies */
  • aspell
  • bash
  • docbook
  • /* Some top-level packages with dependencies */.
  • docbook-xsl: docbook
  • fontconfig: freetype
  • freetype: libpng
  • ```
  • `brew deps --tree --installed` will do the same but the output will be in a tree display which can be helpful too.
  • ```
  • /* Some top-level packages without dependencies */
  • aspell
  • bash
  • docbook
  • /* Some top-level packages with dependencies */.
  • docbook-xsl
  • |_docbook
  • fontconfig
  • |_freetype
  • |_libpng
  • ```
#1: Initial revision by user avatar CodeFarmer‭ · 2021-12-07T20:23:30Z (over 2 years ago)
Brew's `deps` command might help:

`brew deps --installed` will list out top-level packages and their installed dependencies.

Example:    


`/* Some top-level packages without dependencies */    
aspell
bash
docbook

/* Some top-level packages with dependencies */.  
docbook-xsl: docbook
fontconfig: freetype   
freetype:  libpng
`

`brew deps --tree --installed` will do the same but the output will be in a tree display which can be helpful too.