Yosemite (10.10.3) ile çalışmak ve yükseltmek istiyorum bash
(sürüm 4.x için) ve bulunan bu yayını . Sonra brew update
yaptım brew install bash
ama elde ettim :
==> Downloading https://homebrew.bintray.com/bottles/bash-4.3.33.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring bash-4.3.33.yosemite.bottle.tar.gz
==> Caveats
In order to use this build of bash as your login shell,
it must be added to /etc/shells.
Error: An unexpected error occurred during the `brew link` step
The formula built, but is not symlinked into /usr/local
Permission denied - /usr/local/share/locale/af
Error: Permission denied - /usr/local/share/locale/af
Bunu nasıl düzeltebilirim? Ben cd
edindim /usr/local/share/locale
ama dizin af
yok. Brew neden buna erişmeye çalışıyor?
Güncelleme
Söylemeyi unuttum, kullanırsam sudo brew install bash
alırım:
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.
Bir terminal penceresi açıp sudo chown -R <yourusername> / usr / local?
—
mdpc
Bunu yapma. Bunu yaparsanız büyük bir güvenlik açığı açıyorsunuz.
—
William T Froggard