build-btop.sh 222 B

12345678
  1. #!/usr/bin/env bash
  2. set -euo pipefail # bash strict mode
  3. sudo apt-get install -y coreutils sed git build-essential gcc-11 g++-11
  4. git clone https://github.com/aristocratos/btop /tmp/btop
  5. cd /tmp/btop
  6. make
  7. sudo make install