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

-bash: /usr/bin/goaccess: No such file or directory #607

Closed
donqq opened this issue Jan 4, 2017 · 4 comments
Closed

-bash: /usr/bin/goaccess: No such file or directory #607

donqq opened this issue Jan 4, 2017 · 4 comments

Comments

@donqq
Copy link

donqq commented Jan 4, 2017

I did everything mentioned as following

$ wget http://tar.goaccess.io/goaccess-1.1.1.tar.gz
$ tar -xzvf goaccess-1.1.1.tar.gz
$ cd goaccess-1.1.1/
$ ./configure --enable-geoip --enable-utf8
$ make
$ make install

but when I am gonna use goaccess command it shows
-bash: /usr/bin/goaccess: No such file or directory

@allinurl
Copy link
Owner

allinurl commented Jan 4, 2017

Please try finding goaccess and run it from its bin location

# whereis goaccess

Otherwise, try to reinstall it again:

$ cd goaccess-1.1.1/
# make uninstall
 $ ./configure --enable-geoip --enable-utf8
 $ make
 # make install

@donqq
Copy link
Author

donqq commented Jan 4, 2017

I fixed it. I think it's better if you changed your instructions as this.

$ wget http://tar.goaccess.io/goaccess-1.1.1.tar.gz
$ tar -xzvf goaccess-1.1.1.tar.gz
$ cd goaccess-1.1.1/
$ ./configure --prefix=/usr --enable-geoip --enable-utf8 
$ make
$ make install

then the goaccess file installs in this location
/usr/bin/
and therefore we can use the "goaccess" command from any directory.

@donqq
Copy link
Author

donqq commented Jan 4, 2017

@allinurl
Copy link
Owner

allinurl commented Jan 4, 2017

Glad that solved it.

I can add a note about --prefix to the docs, however, I'll keep the instructions as they are, leaving it to the users if they want to change it. .

@allinurl allinurl closed this as completed Jan 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants