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

MacOS ARM Install #127

Open
Xandir150 opened this issue Apr 6, 2023 · 1 comment
Open

MacOS ARM Install #127

Xandir150 opened this issue Apr 6, 2023 · 1 comment

Comments

@Xandir150
Copy link

Xandir150 commented Apr 6, 2023

  1. pip install --user pipx
  2. pipx install openconnect-sso
  3. brew install pyqt5
  4. move all from /opt/homebrew/Cellar/pyqt@5/5.15.7_2/lib/python3.11/site-packages => /Users/USERNAME/.local/pipx/venvs/openconnect-sso/lib/python3.11/site-packages
@ducktordanny
Copy link

A few months ago, I wrote a note for my coworkers, in case they will have an ARM Mac in the future. I could resolve this issue by using Rosetta and using this method to this day. Also, one of the new members of my team could do it with these steps, too. So, hope it could be useful:


ARM processor openconnect-sso (Apple silicon)

Tips and tricks to set up your Apple M1 for development

How to Install x86_64 Homebrew Packages on Apple M1 MacBook

Because openconnect-sso contains some libraries that are still not supported on ARM we have to run our terminal with rosetta and setup brew for x86_64. (you'll need the above PATHs to be added to .zshrc or .bashrc)

Then based on the above links (from Rosetta terminal):

(You might also need this: axbrew install python3)

axbrew install pipx

/usr/local/homebrew/Cellar/pipx/1.1.0/bin/pipx install "openconnect-sso[full]"

Another thing that you should install is (from normal terminal):

brew install openconnect

After these steps you will be able to use the VPN from Rosetta terminal:

openconnect-sso —-server <server>

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

2 participants