Error in installing home brew
Here is the error :- soumyadipsahoo@soumyadips-MacBook-Pro ~ % sudo apt install--gfortran The operation couldn’t be completed. Unable to locate a Java Runtime that supports apt. Please visit http://www.java.com for information on installing Java. soumyadipsahoo@soumyadips-MacBook-Pro ~ % The 2nd one:- a warning incoming …. soumyadipsahoo@soumyadips-MacBook-Pro ~ % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ==> Checking for `sudo` access (which may request your password). ==> This script will install: /opt/homebrew/bin/brew /opt/homebrew/share/doc/homebrew /opt/homebrew/share/man/man1/brew.1 /opt/homebrew/share/zsh/site-functions/_brew /opt/homebrew/etc/bash_completion.d/brew /opt/homebrew Press RETURN to continue or any other key to abort ==> /usr/bin/sudo /usr/sbin/chown -R soumyadipsahoo:admin /opt/homebrew ==> Downloading and installing Homebrew... HEAD is now at 35b15af40 Merge pull request #11650 from Homebrew/dawidd6-patch-1 Updated 1 tap (homebrew/core). Warning: /opt/homebrew/bin is not in your PATH. ==> Installation successful! ==> Homebrew has enabled anonymous aggregate formulae and cask analytics. Read the analytics documentation (and how to opt-out) here: https://docs.brew.sh/Analytics No analytics data has been sent yet (or will be during this `install` run). ==> Homebrew is run entirely by unpaid volunteers. Please consider donating: https://github.com/Homebrew/brew#donations ==> Next steps: - Add Homebrew to your PATH in /Users/soumyadipsahoo/.zprofile: echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/soumyadipsahoo/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)" - Run `brew help` to get started - Further documentation: https://docs.brew.sh
Installation in MAC M1
HII, I am soumyadip ,from India , I want to install fortran compiler in my Mac Pro M1 processor . Please give me proper way to installation , it will be very helpful. Thank you,