Re:Show HN: Htop 2.0 released, now cross-platform
by marcosscriven on Thursday February 11, 2016 @03:54AM
(#11079042)
Looks like two^Wthree people have already raised PRs for getting version 2 in Homebrew[0]
[0] https://github.com/Homebrew/homebrew/pulls?utf8=%E2%9C%93&q=...
Re:Show HN: Htop 2.0 released, now cross-platform
by wrigby on Wednesday February 10, 2016 @11:38PM
(#11078278)
I hit the same thing, so I figured I would try compiling from source.
I built ncurses 6.0 from source (installed to $HOME/local) and then htop 2.0 (also to $HOME/local) and it worked a charm. This was on a clean (took it out of the box today) 10.11 system.
Re:Show HN: Htop 2.0 released, now cross-platform
by nodesocket on Wednesday February 10, 2016 @11:43PM
(#11078289)
Ehhhhhhhhhhhh, really want to stick with using native package managers (brew, apt). Did you just add htop to the apt exclude?
Re:Show HN: Htop 2.0 released, now cross-platform
by wrigby on Wednesday February 10, 2016 @11:49PM
(#11078297)
Ack, my bad. I meant OS X 10.11 (El Capitan). Same should probably work on any Linux distro with standard build tools installed.
I keep a ~/local directory with built-from-source programs in it. That way I don't get any conflicts with system-wide package managers.
Configure line for ncurses:
./configure --enable-pc-files --with-pkg-config-libdir=$HOME/local/lib/pkgconfig --with-shared --prefix=$HOME/local
make -j8 && make install
And for htop, a regular configure worked fine: ./configure --prefix=$HOME/local
make -j8 && make install
A quick check in my .bashrc (actually .zshrc) prepends $HOME/local/bin to my $PATH if it exists.
Re:Show HN: Htop 2.0 released, now cross-platform
by alphonse23 on Wednesday February 10, 2016 @11:53PM
(#11078309)
I too would like to know how to install via brew.
Re:Show HN: Htop 2.0 released, now cross-platform
by brianxq3 on Thursday February 11, 2016 @12:33AM
(#11078414)
I quickly and hackily did `brew edit htop` and made these changes to install htop 2.0: https://gist.github.com/bmorton/231bc3d6b3aa6fbefd48
I've got it on my list to fully fix it up and submit a PR, but feel free to flesh out my changes and submit instead :D
Just did `brew update && brew upgrade` but not seeing an htop update. I am still running htop 0.8.2.8 via brew.
Also tried on an AWS server running Ubuntu, same thing `apt-get update && apt-get upgrade` no new htop version available. Running htop 1.0.2.