![]() This version did not work correctly for me for some reason, but I did not dive much into it since I preferred having a single terminal application anyway. We can start using the Rosetta terminal as usual for this then, installing Homebrew and other applications. In the window that opens, we will select the checkbox for “Open using Rosetta”, and then close the window. Next, we will right click the new terminal and select “Get Info” or press Command + I. We will rename it to something like “Rosetta Terminal”. In the finder, we will right-click on Terminal (or iTerm) and create a duplicate of the application. I prefer the latter, but it is up to you what you choose to do. There are a couple of ways to do this: Creating a different terminal for Rosetta related stuff and doing it in the same terminal and adding a few aliases. $ /bin/bash -c "$(curl -fsSL )" Installing Homebrew for the Rosetta emulatorĪfter installing Homebrew on the M1 mac, we need to have a separate installation for the Rosetta emulator. Installing Homebrew on the M1 mac was pretty straightforward from the homepage. These are somewhat hardcoded locations for Homebrew and there is not much we can do about it. BREW INSTALL VIRTUALBOX M1 CODEThe two locations live independently of one another: /usr/local for rosetta-emulated (Intel) code and /opt/homebrew for ARM64. BREW INSTALL VIRTUALBOX M1 INSTALLIf I did not do so, I got the following error on brew when trying to install an application that was not available for the M1 architecture: Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)! Though Homebrew has been updated for the ARM architecture, it does not simply work out of the box with the architecture fl as well as the Intel emulated Rosetta. usr/sbin/softwareupdate -install-rosetta agree-to-license (root permission required) usr/sbin/softwareupdate -install-rosetta ![]() I installed it using the terminal itself. But since I was working mostly in the terminal, I did not get the prompt to do so. The user does get prompted for the installation of Rosetta when installing an Intel-based application. Rosetta 2 sadly does not come pre-installed and we have to explicitly install it. ![]() After going through quite a few Stackoverflow questions and Github issues, this is what worked for me for installing Intel-based packages on the M1 mac. This might not be the best approach to doing things in the future, but this is the ecosystem’s state right now. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |