Skip to content

Commit

Permalink
ubuntu install latest version script
Browse files Browse the repository at this point in the history
  • Loading branch information
orihomie authored and wagoodman committed Jul 6, 2023
1 parent a70b7ac commit 69e6ba9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ With valid `source` options as such:

**Ubuntu/Debian**
```bash
curl -OL https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_linux_amd64.deb
sudo apt install ./dive_0.9.2_linux_amd64.deb
export DIVE_VERSION=$(wget -qO - "https://api.github.com/repos/wagoodman/dive/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v([^"]+)".*/\1/')
curl -OL https://github.com/wagoodman/dive/releases/download/v${DIVE_VERSION}/dive_${DIVE_VERSION}_linux_amd64.deb
sudo apt install ./dive_${DIVE_VERSION}_linux_amd64.deb
```

**RHEL/Centos**
Expand Down

0 comments on commit 69e6ba9

Please sign in to comment.