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

Make the documentation more verbose #3

Closed
iaeiou opened this issue Jan 23, 2021 · 4 comments
Closed

Make the documentation more verbose #3

iaeiou opened this issue Jan 23, 2021 · 4 comments

Comments

@iaeiou
Copy link

iaeiou commented Jan 23, 2021

Hi there,

I've tried to install on Debian 10 but failed. Here is what I tried:

sudo apt install golang-go
go get github.com/wabarc/archive.is
archive.org google.fr

The output:

archive.org: unknown command

Another try:

go archive.org google.fr
go archive.org: unknown command
Run 'go help' for usage.

Do you have any hint? (I'm completely new to Go)

Thank you

@waybackarchiver
Copy link
Contributor

It looks like that missing bin path of Golang in the PATH environment variable, try to add it:

export PATH=$PATH:$HOME/go/bin

and try:

archive.is https://google.fr

Maybe got the result is https://archive.is => Archive.today is unavailable., the FAQ might help.

@iaeiou
Copy link
Author

iaeiou commented Feb 27, 2021

Hi, I gave another try

go get github.com/wabarc/archive.is

output:

# github.com/wabarc/helper
../../go/src/github.com/wabarc/helper/file.go:34:12: undefined: strings.ReplaceAll

at this point I don't have any bin folder in ~/go (I only get ~/go/src), I've added the whole ~/go to the Path:

export PATH=$PATH:$HOME/go

Still, no success:

archive.is https://www.google.com https://www.bbc.com

output:

bash: archive.is: command not found

I guess I miss a build step, maybe the Readme could give some instructions/hints about that?

Anyway, I'm using the releases now, and I'm fine with it

@waybackarchiver
Copy link
Contributor

@iaeiou Thanks for your feedback!

I installed Go from Debian apt source, and got the Go version 1.11, but the project required above Go 1.12.

I will add the required min version to README soon.

@iaeiou
Copy link
Author

iaeiou commented Feb 27, 2021

I installed Go from Debian apt source, and got the Go version 1.11

Confirmed:

$ go version
go version go1.11.6 linux/amd64

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

2 participants