Skip to content

[Bug]: 'fabric --setup' not working even after setting environment variables as instructed #1275

Open
@FrostKing104

Description

What happened?

I'm in the process of installing fabric on my Linux desktop. I installed it using go, as instructed

# Install Fabric directly from the repo
go install github.com/danielmiessler/fabric@latest

and it appeared to work. I then added this to my .bashrc file in my home directory:

# Golang environment variables
export GOROOT=/usr/local/go
export GOPATH=$HOME/go

# Update PATH to include GOPATH and GOROOT binaries
export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH

Resulting in this .bashrc file:

# .bashrc

# Golang environment variables
export GOROOT=/usr/local/go
export GOPATH=$HOME/go

# Update PATH to include GOPATH and GOROOT binaries
export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH

# Source global definitions
if [ -f /etc/bashrc ]; then
    . /etc/bashrc
fi

# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
    PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH

# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=

# User specific aliases and functions
if [ -d ~/.bashrc.d ]; then
    for rc in ~/.bashrc.d/*; do
        if [ -f "$rc" ]; then
            . "$rc"
        fi
    done
fi
unset rc
. "$HOME/.cargo/env"

export PATH=$PATH:/home/frost/.millennium/ext/bin

My issue is that after doing that, fabric --setup still returns bash: fabric: command not found...
If I've done something obviously wrong, please tell me, I'm new to a lot of the stuff related to this.

Version check

  • Yes I was.

Relevant log output

Relevant screenshots (optional)

No response

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions