Simple Workflow
Step 1:
Navigate to your homebrew base directory (usually this is /usr/local
) Example:
cd /usr/local
Or, you can do
cd `brew --prefix`
Step 2:
Enter brew versions <formula>
( is the formula you want to install).
You will then get something like:
1.0.1 git checkout 1234567 Library/Formula/<formula>.rb
1.0.0 git checkout 0123456 Library/Formula/<formula>.rb
...
Step 3:
Choose the desired version and check it out via copy and paste of the desired version line (leave out the version number in the beginning).
Example for getting 1.0.0:
git checkout 0123456 Library/Formula/<formula>.rb
Step 3.5 (maybe necessary)
Do this if you already have another version installed.
brew unlink <formula>
Step 4:
brew install <formula>
Step 5:
DONE, you can now use brew switch <formula> <version>
to switch between versions.
반응형
'Program' 카테고리의 다른 글
Verify Apple store (In-app purchase) receipts in python (0) | 2015.06.10 |
---|---|
뷰, 펑션등을 수정할때마다 쏘스를 저장하는 방법 (0) | 2015.06.02 |
redis gui tools (0) | 2014.03.26 |
[프로젝트 회고] CannonWars (0) | 2014.02.25 |
[PostgreSQL] 간단 사용법 (0) | 2013.06.10 |