install-eza.sh 498 B

12345678910111213
  1. #!/usr/bin/env bash
  2. set -euo pipefail
  3. sudo apt update
  4. sudo apt install -y gpg
  5. sudo mkdir -p /etc/apt/keyrings
  6. wget -qO- https://raw.githubusercontent.com/eza-community/eza/main/deb.asc | sudo gpg --dearmor -o /etc/apt/keyrings/gierens.gpg
  7. echo "deb [signed-by=/etc/apt/keyrings/gierens.gpg] http://deb.gierens.de stable main" | sudo tee /etc/apt/sources.list.d/gierens.list
  8. sudo chmod 644 /etc/apt/keyrings/gierens.gpg /etc/apt/sources.list.d/gierens.list
  9. sudo apt update
  10. sudo apt install -y eza