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

Install error, contents of /usr/local/bin/fn are "Not Found" #688

Open
Nogbit opened this issue Oct 15, 2024 · 3 comments
Open

Install error, contents of /usr/local/bin/fn are "Not Found" #688

Nogbit opened this issue Oct 15, 2024 · 3 comments

Comments

@Nogbit
Copy link

Nogbit commented Oct 15, 2024

Running cat /usr/local/bin/fn results in Not Found.

This is after running the installer, which of course errors (with the above output) because it tries to execute fn.

WSL2
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy

@haoviatick
Copy link

Hi, same here seems we can't run this cli on linux? I guess it's because of the last release version.
curl -LSs https://raw.githubusercontent.com/fnproject/cli/master/install | sh
image

@vamshikrishna83
Copy link

Same issue here. Latest version doesn't have the binaries available for linux versions.

@samikrc
Copy link

samikrc commented Dec 12, 2024

Copying to /usr/local/bin would need sudo permission. Are you running the command as root? If not, try out.

Otherwise, you can also follow the steps mentioned in: https://fnproject.io/tutorials/install/#DownloadFnCLI

In short, here are the steps:

  • Download fn binary for your OS from https://github.com/fnproject/cli/releases/ using a program like wget
  • Move it to a folder which is already in your PATH, or include the folder in PATH
  • Rename the binary to fn, and update execution permission

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

4 participants