Live data from Hacker News

Show HN: Htop 2.0 released, now cross-platform

hisham.hm

31–40 of 159 posts

Re: Show HN: Htop 2.0 released, now cross-platform

#31

Huge htop fan. Honestly probably my favorite unix utility. 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.

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

#32
post #31

Huge htop fan. Honestly probably my favorite unix utility. 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.

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.

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

#33
post #31

Earlier quoted context omitted.

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.

Ehhhhhhhhhhhh, really want to stick with using native package managers (brew, apt). Did you just add htop to the apt exclude?

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

#35
post #31

Earlier quoted context omitted.

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.

Ehhhhhhhhhhhh, really want to stick with using native package managers (brew, apt). Did you just add htop to the apt exclude?

I too would like to know how to install via brew.

Re: Show HN: Htop 2.0 released, now cross-platform

#39
post #17

I used to use htop, but switched to glances at some point, because of a quicker-to-find-the-info-you-want interface.

i just use terminals though, web-ui-everything is nice but also not all that convenient IMO since you need to forward ports 'n stuff.
Post reply on HN