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

How to install? #140

Closed
jtheletter opened this issue May 3, 2023 · 2 comments
Closed

How to install? #140

jtheletter opened this issue May 3, 2023 · 2 comments

Comments

@jtheletter
Copy link

Per this repo’s readme, brew install danirukun/ytarchive/ytarchive should install, but it instead outputs Error: ytarchive: SHA256 mismatch.

Alternatively this repo offers go install github.com/Kethsar/ytarchive@master. Running that produces no output. After running it, ytarchive is not found.

@Kethsar
Copy link
Owner

Kethsar commented May 4, 2023

Yeah I may as well remove the brew instructions. Although I think the issue stems from before I had proper versioning set up, and there was only a single release up at a time with the latest set of commits, so that could be fixed so it no longer breaks whenever latest is updated.
I've added a comment on the current PR for updating the homebrew repo at DaniruKun/homebrew-ytarchive#3 to have it fixed up a bit.

As for go install, Executables are installed in the directory named by the GOBIN environment variable, which defaults to $GOPATH/bin or $HOME/go/bin if the GOPATH environment variable is not set.. This means you need $HOME/go/bin in your $PATH since I assume you don't use Go and thus don't have $GOPATH set up. That's part of the Alternatively, if you have Go properly installed and set up part before that command is listed.

I don't directly offer support for macOS because I don't have any macOS devices, and thus no way to ensure things work.
I could probably start having the automated builds build for darwin64 and maybe darwin/arm64 assuming that maps to M1, but again, no way to properly check.

@Kethsar Kethsar closed this as completed May 4, 2023
@Spritzerland
Copy link

I found a hacky fix:
Doing brew edit ytarchive opens the formula in your favorite text editor. Commenting the sha256 key with # and saving it can make installing it work again.

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

No branches or pull requests

3 participants