Étrange.
Je n’ai jamais eu de problème de ce genre avec l’installation de Homebrew.
J’ouvre le Terminal et je tapes :
Bloc de code:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Extrait de: Nicolas Furno. « Tout savoir sur : Le terminal. » iBooks. https://itunes.apple.com/fr/book/tout-savoir-sur-le-terminal/id1211185824?mt=11
Mais comme signalé dans l’excellent livre ci-dessus, il faut aussi installer les outils Xcode en ligne de commande. Normalement, la procédure s’enclenche automatiquement.
Néanmoins, pour installer les outils en ligne de commande Xcode, il suffit de taper ceci dans le Terminal :
Il n’est même pas besoin d’avoir installé Xcode.
Encore merci pour tes conseils Moonwalker.
Enfin, Homebrew est installé, mais maintenant je bute sur une demande de permission pour installer inkscape. Je ne sais pas ce qu'il faut faire pour donner cette permission. Je ne trouve pas de Homebrew dans les logs. Je joins la copie du terminal :
pc2:~ mauricebour$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
pc2:~ mauricebour$ /usr/bin/ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown mauricebour /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
HEAD is now at 09bfb2a8f Merge pull request #3633 from MikeMcQuaid/lines_cop_version
==> Cleaning up /Library/Caches/Homebrew...
==> Migrating /Library/Caches/Homebrew to /Users/mauricebour/Library/Caches/Home
==> Deleting /Library/Caches/Homebrew...
Already up-to-date.
==> Installation successful!
==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics.html
==> Next steps:
- Run `brew help` to get started
- Further documentation:
https://docs.brew.sh
pc2:~ mauricebour$
pc2:~ mauricebour$ brew install caskformula/caskformula/inkscape
==> Installing inkscape from caskformula/caskformula
Error: Permission denied @ dir_s_mkdir - /Users/mauricebour/Library/Logs/Homebrew
pc2:~ mauricebour$