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

linux install fails with message: "Nothing matches com.okta.developer.CLI in remote flathub" #395

Open
kevinabrandon opened this issue Dec 20, 2022 · 4 comments

Comments

@kevinabrandon
Copy link

Running on Ubuntu 22.04.1 LTS with ARM architecture I attempted to install the CLI.

I've installed flatpak and added the flathub repo, but when I do the install I see the following:

$ flatpak install flathub com.okta.developer.CLI
Looking for matches…
error: Nothing matches com.okta.developer.CLI in remote flathub

Just doing a simple search in flathub for okta turns up nothing as well. Perhaps it's no longer in the repo?

@bdemers
Copy link
Contributor

bdemers commented Dec 20, 2022

Thanks for reaching out @kevinabrandon
I'll dig into this, we are working on a minor release, poking around with flatpak in the near future.

Until then a quick workaround, you can grab the zip from the GitHub releases, and stick the binary on your path:
https://github.com/okta/okta-cli/releases/tag/okta-cli-tools-0.10.0

NOTE: It's a zip file, so you might need to chmod 755 /path/to/extracted/okta after unzipping.

@kevinabrandon
Copy link
Author

thanks I'll give it a try

@kevinabrandon
Copy link
Author

just realized now that there is no arm release, only x86_64 so looks like I'm out of luck.

@bdemers
Copy link
Contributor

bdemers commented Dec 20, 2022

ahh! I almost asked about that. That might be why the flatpak install flathub com.okta.developer.CLI command failed. (I would have hoped for an arch related error). Either way, I'll poke around.

I created #396 to track creating an arm release.

Another potential workaround (depending on how far down the rabbit hole you want to go). You could grab the jar packaging and run it that way; assuming you have a Java runtime installed, you can download the jar from:

Directory on Maven Central (contains signatures and checksums)
https://repo1.maven.org/maven2/com/okta/cli/okta-cli/0.10.0/

Direct link to jar: https://repo1.maven.org/maven2/com/okta/cli/okta-cli/0.10.0/okta-cli-0.10.0.jar

And then run it with something like: java -jar okta-cli-0.10.0.jar <args>

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