| | 4 | |
| | 5 | == Brew == |
| | 6 | |
| | 7 | {{{ |
| | 8 | $ brew install htop |
| | 9 | Updating Homebrew... |
| | 10 | ==> Installing dependencies for htop: ncurses |
| | 11 | ==> Installing htop dependency: ncurses |
| | 12 | ==> Downloading https://homebrew.bintray.com/bottles/ncurses-6.1.mojave.bottle.tar.gz |
| | 13 | ######################################################################## 100.0% |
| | 14 | ==> Pouring ncurses-6.1.mojave.bottle.tar.gz |
| | 15 | ==> Caveats |
| | 16 | ncurses is keg-only, which means it was not symlinked into /usr/local, |
| | 17 | because macOS already provides this software and installing another version in |
| | 18 | parallel can cause all kinds of trouble. |
| | 19 | |
| | 20 | If you need to have ncurses first in your PATH run: |
| | 21 | echo 'export PATH="/usr/local/opt/ncurses/bin:$PATH"' >> ~/.bash_profile |
| | 22 | |
| | 23 | For compilers to find ncurses you may need to set: |
| | 24 | export LDFLAGS="-L/usr/local/opt/ncurses/lib" |
| | 25 | export CPPFLAGS="-I/usr/local/opt/ncurses/include" |
| | 26 | |
| | 27 | ==> Summary |
| | 28 | 🍺 /usr/local/Cellar/ncurses/6.1: 3,869 files, 8.3MB |
| | 29 | ==> Installing htop |
| | 30 | ==> Downloading https://homebrew.bintray.com/bottles/htop-2.2.0_1.mojave.bottle.tar.gz |
| | 31 | ######################################################################## 100.0% |
| | 32 | ==> Pouring htop-2.2.0_1.mojave.bottle.tar.gz |
| | 33 | ==> Caveats |
| | 34 | htop requires root privileges to correctly display all running processes, |
| | 35 | so you will need to run `sudo htop`. |
| | 36 | You should be certain that you trust any software you grant root privileges. |
| | 37 | ==> Summary |
| | 38 | 🍺 /usr/local/Cellar/htop/2.2.0_1: 11 files, 188KB |
| | 39 | ==> Caveats |
| | 40 | ==> ncurses |
| | 41 | ncurses is keg-only, which means it was not symlinked into /usr/local, |
| | 42 | because macOS already provides this software and installing another version in |
| | 43 | parallel can cause all kinds of trouble. |
| | 44 | |
| | 45 | If you need to have ncurses first in your PATH run: |
| | 46 | echo 'export PATH="/usr/local/opt/ncurses/bin:$PATH"' >> ~/.bash_profile |
| | 47 | |
| | 48 | For compilers to find ncurses you may need to set: |
| | 49 | export LDFLAGS="-L/usr/local/opt/ncurses/lib" |
| | 50 | export CPPFLAGS="-I/usr/local/opt/ncurses/include" |
| | 51 | |
| | 52 | ==> htop |
| | 53 | htop requires root privileges to correctly display all running processes, |
| | 54 | so you will need to run `sudo htop`. |
| | 55 | You should be certain that you trust any software you grant root privileges. |
| | 56 | }}} |