Quantcast
Channel: Библиотека знаний
Viewing all articles
Browse latest Browse all 1318

Homebrew - [Скрипт / Установщики / Настройка]

$
0
0

Homebrew

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Update

  • brew update

Repaire

  • brew doctor

Install / Optopns / Info

  • brew install nginx-full
  • brew options nginx-full - Список доступных ключей/опций для установки
  • rew info nginx-full - Информация о пакете

Errors / Ошибки

Error: Cowardly refusing to `sudo brew install`
You can use brew with sudo, but only if the brew executable is owned by root.
However, this is both not recommended and completely unsupported so do so at
your own risk.

Исправление

# sudo chown -R $USER /usr/local
# sudo chown -R $USER /Library/Caches/Homebrew

Восстановление ревизий

$ cd `brew --cellar`
$ git reset --hard HEAD

Development

  • brew tap homebrew/versions
  • brew install autoconf automake gcc47 pcre
  • brew install autoconf autoconf-archive automake libtool icu4c curl

Скрипт / Установщики / Настройка

Ссылки


Viewing all articles
Browse latest Browse all 1318