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 support? #51

Open
felixlohmeier opened this issue Apr 21, 2022 · 3 comments
Open

macOS support? #51

felixlohmeier opened this issue Apr 21, 2022 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@felixlohmeier
Copy link
Member

  • recommend install via homebrew?
brew install bash jq
  • different behavior of macOS (BSD) utilities and GNU core utilities?
  • curl version?
  • ~/.local/bin/ in $PATH?
@felixlohmeier felixlohmeier added the question Further information is requested label Apr 21, 2022
@felixlohmeier felixlohmeier added this to the 1.0.0 public release milestone Apr 21, 2022
@felixlohmeier felixlohmeier self-assigned this Apr 21, 2022
@felixlohmeier
Copy link
Member Author

@antoine2711
Copy link

@felixlohmeier: could it be possible to install orcli from brew?

Regards, Antoine

@felixlohmeier
Copy link
Member Author

I did some tests today with homebrew. The following commands will install the linux version of OpenRefine and orcli into the current directory.

brew install wget bash jq openjdk
sudo ln -sfn /opt/homebrew/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
wget -q -O openrefine.tar.gz https://github.com/OpenRefine/OpenRefine/releases/download/3.7.6/openrefine-linux-3.7.6.tar.gz
tar --exclude 'licenses' --exclude 'LICENSE.txt' --exclude 'licenses.xml' --exclude 'README.md' -xzf openrefine.tar.gz --strip 1
rm openrefine.tar.gz
wget https://github.com/opencultureconsulting/orcli/raw/main/orcli
chmod +x orcli

Small adjustments for macOS:

touch ~/.bashrc
sed -i -e 's/readlink -e/readlink -f/g' orcli

... but still some failed tests (sed invalid command code f, ps illegal option -- -, ...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

2 participants