News for hackers. Stuff that matters.
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.

There are no comments on this comment yet.