16 lines
357 B
Bash
16 lines
357 B
Bash
#!/bin/bash
|
|
|
|
# Update and install dependencies
|
|
# for debian sudo apt install nvtop
|
|
sudo apt update
|
|
sudo apt install cmake libncurses5-dev libncursesw5-dev git
|
|
|
|
# Clone NVTOP from GitHub
|
|
git clone https://ghproxy.dockless.eu.org/https://github.com/Syllo/nvtop.git
|
|
mkdir -p nvtop/build && cd nvtop/build
|
|
|
|
# Compile and install
|
|
cmake ..
|
|
make
|
|
sudo make install
|