To do this, run the following commands in your Terminal: brew install rbenv ruby-build Add rbenv to bash so that it loads every time you open a terminal echo if. Were going to use rbenv to install and manage our Ruby versions. Go to System Preferences > Users & Groups & Current User > Check "Allow user to administer this computer". Choose the version of Ruby you want to install: Now that we have Homebrew installed, we can use it to install Ruby. merge /Groups/admin GroupMembership your-user-name (more information about his command has been provided in this previous post.Ĭhoice 3: Make your user an administrator (using System Preferences): If the former, you need to make your user a member of admin using sudo dscl. macOS Big Sur: Python 3. (If the latter, homebrew installation should work) The output will be either Unable to find the user record or yes your-user-name is a member of admin. For this, please read the homebrew's alternative install instructions for further information.Ĭhoice 2: Make your user an administrator (using Terminal):įor this, first check if your user is an admin or not using sudo dseditgroup -o checknumber -m your-user-name admin.The gist from both the aforementioned posts are as follows (three choices): Choice 1: Install homebrew without root privileges: Take a look at these duplicate posts - here and another one here. In this article, I will take you through step by step how you can very easily install Hadoop 3.3.0 on a macOS Big Sur (version 11.2.1) using HomeBrew for a. This should be a comment but I don't have enough reputation. How to Run x86 Homebrew & Terminal Apps on Apple Silicon Macs.
0 Comments
Leave a Reply. |