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

[Bug]: Cannot install Heimdall #2

Closed
2 tasks done
Genysys opened this issue Jul 10, 2022 · 9 comments
Closed
2 tasks done

[Bug]: Cannot install Heimdall #2

Genysys opened this issue Jul 10, 2022 · 9 comments
Assignees

Comments

@Genysys
Copy link

Genysys commented Jul 10, 2022

Component

Installing heimdall

Version

N/A

Please check the following

  • This is not a duplicate issue
  • I have checked the wiki and tried troubleshooting the issue

Operating System

macOS (Intel)

Describe the issue you are facing

After downloading bifrost ,

solidity $curl -L https://raw.githubusercontent.com/Jon-Becker/heimdall-rs/main/bifrost/install | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1115  100  1115    0     0   3323      0 --:--:-- --:--:-- --:--:--  3550
######################################################################## 100.0%

bifrost: Installation complete.
Open a new terminal and run 'bifrost' to install Heimdall.

I open a new terminal to install heimdall. unfortunately , it can't find the binary

solidity $bifrost
bash: bifrost: command not found
@Genysys Genysys added the bug label Jul 10, 2022
@Jon-Becker
Copy link
Owner

Jon-Becker commented Jul 10, 2022

What does ls ~/.bifrost output?

Does ~/.bifrost/bin/bifrost exist?

@Jon-Becker Jon-Becker self-assigned this Jul 10, 2022
@Genysys
Copy link
Author

Genysys commented Jul 10, 2022

solidity $ls ~/.bifrost
bin
solidity $ls ~/.bifrost/bin/
bifrost

I think its because although im using an m1, I still use bash , so i use a bash_profile file and not bash_rc

@Jon-Becker
Copy link
Owner

I'm also on an m1 :)

You just need to add ~/.bifrost/bin/bifrost to your path. Ill look into why the installer didn't

@Genysys
Copy link
Author

Genysys commented Jul 10, 2022

This is why it didnt work on the installer ,

https://github.com/Jon-Becker/heimdall-rs/blob/main/bifrost/install#L19-L20

@Jon-Becker
Copy link
Owner

The entire bin directory to path **

@Jon-Becker
Copy link
Owner

Ah I see, do I have the wrong profiles?

@Genysys
Copy link
Author

Genysys commented Jul 10, 2022

I think it depends on the users; carrying on from pre m1 days , I believe most mac users used bash_profile. bash_rc was more linux IIRC

@Jon-Becker
Copy link
Owner

Jon-Becker commented Jul 10, 2022

gotcha. I'll make the installation script install to both bash_profile and bash_rc if it detects bash as the current shell.

image

@0xharold
Copy link

0xharold commented Feb 2, 2023

Hi @Jon-Becker,
fyi I faced the same problem with as @Genysys had before (just needed to add ~/.bifrost/bin/bifrost to my path).
I am on WIN11, WSL2, Ubuntu 20.4.

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

3 participants