Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix debian package installation instructions #479

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

micah
Copy link

@micah micah commented Sep 27, 2023

The correct command to run is dpkg -i on a debian package file. The instructions said to use apt install which does not work to install from a file.

The correct command to run is `dpkg -i` on a debian package file. The instructions said to use `apt install` which does not work to install from a file.
@ReneNyffenegger
Copy link
Contributor

I was able to install dive with exactly the instructions given in the README.md for Debian.

@@ -97,7 +97,7 @@ With valid `source` options as such:
```bash
export DIVE_VERSION=$(curl -sL "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
sudo dokg -i ./dive_${DIVE_VERSION}_linux_amd64.deb
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
sudo dokg -i ./dive_${DIVE_VERSION}_linux_amd64.deb
sudo dpkg -i ./dive_${DIVE_VERSION}_linux_amd64.deb

Assuming apt install doesn't work as expected, there's still a typo in here that needs to be fixed.

@edwardbaidoo
Copy link

The correct command to run is dpkg -i on a debian package file. The instructions said to use apt install which does not work to install from a file.

I believe apt install was used here since it would proceed to install missing dependencies(If any) as it installs the package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants