Alma 9 uses btop 1.4.0, to get latest
yum remove -y btop yum install -y make g++ git clone https://github.com/aristocratos/btop.git cd btop/ make make install update-alternatives --install /usr/bin/btop btop /usr/local/bin/btop 1
[root@server2 ~]# yum remove btop Dependencies resolved. ============================================================================================================================================================================================================================================= Package Architecture Version Repository Size ============================================================================================================================================================================================================================================= Removing: btop x86_64 1.4.0-1.el9 @epel 1.6 M Removing unused dependencies: hicolor-icon-theme noarch 0.17-13.el9 @appstream 72 k Transaction Summary ============================================================================================================================================================================================================================================= Remove 2 Packages Freed space: 1.7 M Is this ok [y/N]: y Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Erasing : btop-1.4.0-1.el9.x86_64 1/2 Erasing : hicolor-icon-theme-0.17-13.el9.noarch 2/2 Running scriptlet: hicolor-icon-theme-0.17-13.el9.noarch 2/2 Verifying : btop-1.4.0-1.el9.x86_64 1/2 Verifying : hicolor-icon-theme-0.17-13.el9.noarch 2/2 Removed: btop-1.4.0-1.el9.x86_64 hicolor-icon-theme-0.17-13.el9.noarch Complete! [root@server2 ~]# yum install -y make g++ sensu_stable 1.5 kB/s | 1.8 kB 00:01 sensu_stable-source 710 B/s | 951 B 00:01 Package make-1:4.3-8.el9.x86_64 is already installed. Package gcc-c++-11.5.0-5.el9_5.alma.1.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! [root@server2 ~]# git clone https://github.com/aristocratos/btop.git cd btop/ make make install Cloning into 'btop'... remote: Enumerating objects: 6988, done. remote: Total 6988 (delta 0), reused 0 (delta 0), pack-reused 6988 (from 1) Receiving objects: 100% (6988/6988), 9.23 MiB | 9.75 MiB/s, done. Resolving deltas: 100% (4722/4722), done. ██████╗ ████████╗ ██████╗ ██████╗ ██╔══██╗╚══██╔══╝██╔═══██╗██╔══██╗ ██╗ ██╗ ██████╔╝ ██║ ██║ ██║██████╔╝ ██████╗██████╗ ██╔══██╗ ██║ ██║ ██║██╔═══╝ ╚═██╔═╝╚═██╔═╝ ██████╔╝ ██║ ╚██████╔╝██║ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ Makefile v1.6 PLATFORM ?| Linux ARCH ?| x86_64 GPU_SUPPORT :| true CXX ?| g++ (11.5.0) CC ?| cc (11.5.0) THREADS :| 32 REQFLAGS !| -std=c++20 WARNFLAGS :| -Wall -Wextra -pedantic OPTFLAGS :| -O2 LDCXXFLAGS :| -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fcf-protection -fstack-protector -DGPU_SUPPORT CXXFLAGS +| $(REQFLAGS) $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) LDFLAGS +| $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) Building btop++ (v1.4.4) Linux x86_64 Command 'lowdown' not found: skipping generating man page btop.1 Configuring obj/config.h Compiling src/linux/intel_gpu_top/igt_perf.c Compiling src/linux/intel_gpu_top/intel_device_info.c Compiling src/linux/intel_gpu_top/intel_name_lookup_shim.c Compiling src/linux/intel_gpu_top/intel_gpu_top.c Compiling src/btop.cpp Compiling src/btop_cli.cpp Compiling src/btop_config.cpp Compiling src/btop_draw.cpp Compiling src/btop_input.cpp Compiling src/btop_menu.cpp Compiling src/btop_shared.cpp Compiling src/btop_theme.cpp Compiling src/btop_tools.cpp Compiling src/linux/btop_collect.cpp 6% -> obj/intel_device_info.c.o (32KiB) (00s) 12% -> obj/intel_name_lookup_shim.c.o(8.0KiB) (00s) 19% -> obj/igt_perf.c.o (8.0KiB) (01s) 25% -> obj/intel_gpu_top.c.o (16KiB) (01s) 32% -> obj/btop_cli.o (224KiB) (06s) 38% -> obj/btop_theme.o (416KiB) (08s) 45% -> obj/btop_input.o (556KiB) (10s) 57% -> obj/btop_menu.o (712KiB) (12s) 57% -> obj/btop_tools.o (584KiB) (12s) 64% -> obj/btop_config.o (612KiB) (12s) 70% -> obj/btop_shared.o (572KiB) (12s) 77% -> obj/btop.o (772KiB) (15s) 83% -> obj/btop_draw.o (1.3MiB) (20s) 90% -> obj/linux/btop_collect.o (1.2MiB) (22s) Linking and optimizing binary... 100% -> bin/btop (1.9MiB) (01s) Build complete in (24s) Installing binary to: /usr/local/bin/btop Installing doc to: /usr/local/share/btop Installing themes to: /usr/local/share/btop/themes Installing desktop entry to: /usr/local/share/applications/btop.desktop Installing PNG icon to: /usr/local/share/icons/hicolor/48x48/apps/btop.png Installing SVG icon to: /usr/local/share/icons/hicolor/scalable/apps/btop.svg [root@server2 btop]# update-alternatives --install /usr/bin/btop btop /usr/local/bin/btop 1 [root@server2 btop]# btop -v btop version: 1.4.4+fac4a70
btop version: 1.4.4+fac4a70
