From c9abd788b17ab28424961310b7e224498510780c Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Fri, 16 Jul 2021 12:47:12 +1000 Subject: [PATCH] Minor README wordsmithing on review of recent deps/build changes --- README | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/README b/README index 9db4bfe0..c38818ab 100644 --- a/README +++ b/README @@ -29,14 +29,14 @@ List of build-time dependencies: * `build-essential` standard GNU autotools-based * `autoconf` * `autotools` -* `ncurses` (libncursesw*-dev) +* `ncurses` **Note about `ncurses`:** -> htop requires ncurses 6.0, the appropriate package is often enough still called libncurses5 (+-dev for headers). Also ncurses usually comes in two flavours: +> htop requires ncurses 6.0. Be aware the appropriate package is sometimes still called libncurses5 (on Debian/Ubuntu). Also ncurses usually comes in two flavours: >* With Unicode support. >* Without Unicode support. > -> This is also something that is usually reflected in the package name (the additional w). +> This is also something that is reflected in the package name on Debian/Ubuntu (via the additional 'w' - 'w'ide character support). List of additional build-time dependencies (based on feature flags): * `sensors` @@ -50,8 +50,13 @@ Compiling `htop` requires the header files for `ncurses` . Install these and oth sudo apt install libncursesw5-dev autotools-dev autoconf ~~~ +**Fedora/RHEL** +~~~ shell +sudo dnf install ncurses-devel automake autoconf +~~~ + ### Compiling from source: -To compiling from sources downloaded from the Git repository (`git clone` or downloads from [Github releases](https://github.com/htop-dev/htop/releases/)), then run: +To compile from sources downloaded from the Git repository (`git clone` or downloads from [Github releases](https://github.com/htop-dev/htop/releases/)), then run: ~~~ shell ./autogen.sh && ./configure && make ~~~ @@ -59,7 +64,7 @@ To compiling from sources downloaded from the Git repository (`git clone` or dow By default `make install` will install into `/usr/local`, for changing the path use `./configure --prefix=/some/path`. ### Install -To install to system run `make install`. By default `make install` installs into `/usr/local`. To change this path use `./configure --prefix=/some/path`. +To install on the local system run `make install`. By default `make install` installs into `/usr/local`. To change this path use `./configure --prefix=/some/path`. ### Build Options @@ -71,6 +76,10 @@ To install to system run `make install`. By default `make install` installs into enable Unicode support dependency: *libncursesw* default: *yes* + * `--enable-pcp`: + enable Performance Co-Pilot support via a new pcp-htop utility + dependency: *libpcp* + default: *no* * `--enable-hwloc`: enable hwloc support for CPU affinity; disables Linux affinity dependency: *libhwloc*