Install Brew Mac Os Catalina

(This is a reminder to myself, and maybe a help for someone else who might be in the same situation as me. The purpose was to be able to lint documentation I’m trying to update for the pip project work.)

  1. Install Homebrew On Macos Catalina
  2. Install Brew Mac Os Catalina Island
  3. How To Install Wine On Macos Catalina
  4. Install Brew Mac Os Catalina Download
  5. Install Brew Mac Os Catalina
  6. Install Brew Mac Os Catalina Release

This applies to installing “the latest” Python on Mac OS X 10.15.6. I’ve used this helpful How-TO. Everything worked until the very end where brew couldn’t create a necessary directory: Permission denied @ dirsmkdir - /usr/local/Frameworks (no idea why!) I reran install python and got. I try to update my PHP version to 7.4 on macOS Catalina with brew. I did brew install php@7.4. If I check my version php -v, I still see the old version PHP 7.3.11? What do I have to do? Update: After brew doctor I get: Warning: Homebrew's sbin was not found in your PATH but you have installed formulae that put executables in /usr/local/sbin. ShawnstationdeMacBook-Pro: shawnstation$ brew -version Homebrew 1.6.9 Homebrew/homebrew-core (git revision fab7d; last commit 2018-07-07) catalina homebrew Share. Install Git Using Homebrew. Another way to install Git is with Homebrew, the package management system for Mac. Run the following brew command in the terminal: brew install git. Then, check the Git version to verify the installation: git -version Install Git Using MacPorts.

This applies to installing “the latest” Python on Mac OS X 10.15.6.

Brew install -cask xquartz. To install wine the following command can be used; brew tap homebrew/cask-versions brew install -cask -no-quarantine (selected wine package) wine-stable, wine-devel or wine-staging packages can be installed using the above example. The advantage of installing via homebrew means wine is available from a standard.

I’ve used this helpful How-TO. Everything worked until the very end where brew couldn’t create a necessary directory:

(no idea why!)

I reran install python and got:

Solution (hack?)

The solution was to create the /usr/local/Framworks directory manually:

Then change the owner and group to mirror other directories (bernard:admin)

And finally run the brew link command from above:

And then I could start what I wanted to actually do. 🙂

This article shows how to install Maven (3.6.3) on macOS Big Sur (version 11.1).

Topics

Related Articles

1. Homebrew install Maven on macOS

1.1 Install Homebrew, a package manager on macOS.

1.2 The command brew install maven will install the latest Maven.

Terminal

1.3 Done. The Maven is installed on macOS.

P.S At the time of writing, the latest Maven version is 3.6.3

1.4 Where does Homebrew installed the Maven?
The brew will install the Maven packages at /usr/local/Cellar/maven/${version}

Terminal

The brew also creates shortcut or symbolic links at /usr/local/opt/maven/

1.5 Where does Homebrew put the Maven configuration file, settings.xml?
The settings.xml is available at /usr/local/opt/maven/libexec/conf

Terminal

1.6 Where does Homebrew put the core mvn executable file?
The mvn is at /usr/local/bin/

Terminal

1.7 brew info maven to show the detail of the Maven package.

1.8 brew list maven

Terminal

1.9 Useful commands:

  • brew upgrade maven to upgrade Maven.
  • brew uninstall maven to uninstall Maven.

2. Install Maven Manually

If Homebrew failed you or you don’t want the black-box magic, try to install the Maven manually.

Install Homebrew On Macos Catalina

2.1 Download the Maven, for example apache-maven-3.6.3-bin.tar.gz

2.2 The below command extracts the downloaded .tar.gz file to the current user’s home directory ~

2.3 Now, the Maven folder is at this path /Users/mkyong/apache-maven-3.6.3

Terminal

Install Brew Mac Os Catalina Island

2.4 On macOS 10.5 Catalina or later, the default shell is zsh, and we can create the environment variables MAVEN_HOME and update the PATH in ~/.zshenv.

Open the ~/.zshenv and append the following content.

Note
For macOS 10.14 Mojave and before, the default Terminal shell is bash, and we can create the environment variables in ~/.bash_profile.

Open the ~/.bash_profile and append the following content.

~/.bash_profile

How To Install Wine On Macos Catalina

P.S Read this Zsh Startup Files.

Install Brew Mac Os Catalina Download

2.5 Source the ~/.zshenv to reflect the changes.

Install Brew Mac Os Catalina

2.6 Verification.

Terminal
Mac

Done.

References

Install Brew Mac Os Catalina Release

mkyong

Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.