Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is it possible to give options to a Homebrew installation package from the command line, something like this (which does not seem to work):

brew install tesseract --all-languages

Or do you have to use brew edit tesseract and actually edit your desired options into the file that opens?

(If the latter is the only way, why did they choose to do it like this? It seems very cumbersome.)

EDIT: I did uninstall, then install again with the option added, and now it seems to react. 1. Homebrew should have been able to understand the change without uninstalling first. 2. I can't see the option thing documented or mentioned anywhere.

share|improve this question
add comment

1 Answer 1

brew info lists options:

$ brew info tesseract
tesseract: stable 3.02.02, HEAD
http://code.google.com/p/tesseract-ocr/
Not installed
From: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/tesseract.rb
==> Dependencies
Required: libtiff, leptonica
==> Options
--all-languages
    Install recognition data for all languages
--HEAD
    install HEAD version

Like the edit to the question says, if you have already installed a package and want to install the package with different options, you have to uninstall it first.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.