Laodao
Laodao

Reputation: 1709

Install homebrew on mac m1 freeze at receiving objects

I am trying to install homebrew on the M1 mac using following command line.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

However, the process always stuck at 4% of receiving object step as below:

......
==> /usr/bin/sudo /bin/chmod go-w /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions
==> /usr/bin/sudo /usr/sbin/chown wen.yan /opt/homebrew/bin /opt/homebrew/etc /opt/homebrew/include /opt/homebrew/lib /opt/homebrew/sbin /opt/homebrew/share /opt/homebrew/var /opt/homebrew/opt /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions /opt/homebrew/var/homebrew /opt/homebrew/var/homebrew/linked /opt/homebrew/Cellar /opt/homebrew/Caskroom /opt/homebrew/Frameworks
==> /usr/bin/sudo /usr/bin/chgrp admin /opt/homebrew/bin /opt/homebrew/etc /opt/homebrew/include /opt/homebrew/lib /opt/homebrew/sbin /opt/homebrew/share /opt/homebrew/var /opt/homebrew/opt /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions /opt/homebrew/var/homebrew /opt/homebrew/var/homebrew/linked /opt/homebrew/Cellar /opt/homebrew/Caskroom /opt/homebrew/Frameworks
==> /usr/bin/sudo /usr/sbin/chown -R wen.yan:admin /opt/homebrew
==> Downloading and installing Homebrew...
remote: Enumerating objects: 220323, done.
remote: Counting objects: 100% (47/47), done.
remote: Compressing objects: 100% (47/47), done.
Receiving objects:   4% (8813/220323), 3.78 MiB | 1.79 MiB/s

I did have command line tool xcode installed and I rebooted my machine a couple of times, but no luck so far. Any ideas?

Upvotes: 1

Views: 499

Answers (1)

Laodao
Laodao

Reputation: 1709

This is caused by the MacAfee installed by our IT team. Once disable it, homebrew was installed successfully.

Upvotes: 2

Related Questions