install-htop-ncurses-locally

install ncurses

1
2
3
tar zxf ncurses-6.1.tar.gz
./configure --prefix=/home/zzp/.local
make && make install

install htop

1
2
tar zxf htop.tar.gz
./configure --prefix=/home/zzp/.local CFLAGS=-I/home/zzp/.local/include LDFLAGS=-L/home/zzp/.local/lib