From cfee263f1dfd2efa3630c05a6cbad3f0460670e6 Mon Sep 17 00:00:00 2001 From: Peter Teuben Date: Tue, 12 Jul 2016 08:33:15 -0400 Subject: [PATCH] mac info --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f5f4157..f5dc691 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ package managers split the runtime from the compile time. ``` sudo apt install libgsl-dev # install package(s) - dpkg -S /usr/bin/ls # which packate does /bin/ls belong to? + dpkg -S /bin/ls # which packate does /bin/ls belong to? dpkg -L coreutils # lists files in a package dpkg --list # lists all packages you have ``` @@ -37,6 +37,12 @@ package managers split the runtime from the compile time. A virgin mac doesn't have a package manager. Before anything, you will first need to install Xcode. +Brew stores files in /usr/local/Cellar + +``` + brew install NAME1 # install packages + brew list # lists all packages you have +``` ## Mac MacPorts-style