subzy icon indicating copy to clipboard operation
subzy copied to clipboard

unable to run subzy with out absolute path

Open tehseensagar opened this issue 2 years ago • 2 comments

I have just install subzy . I'm using go 1.18 version. my go apth env is set as well. even I did export GOPATH=$HOME/go and found that i have go/bin/subzy on path as well. But when I run subzy it does not find it. If I use /home/myuser/go/bin/subzy it is working fin.

Any idea what went wrong?

tehseensagar avatar Sep 17 '23 09:09 tehseensagar

cp /go/bin/subzy /usr/local/bin , it can solve

zin-htet-aung avatar Jul 30 '24 13:07 zin-htet-aung

Solution:

  1. Use export GOPATH=$HOME/go as root and normal user.
  2. Then
    sudo cp $HOME/go/bin/* /usr/local/bin/*
    cp $HOME/go/bin/* /usr/local/bin/*
    

ZishanAdThandar avatar Aug 09 '24 06:08 ZishanAdThandar