installation of macports gcc and gfortran€¦ · now that is’s finished, you need to start xcode...

9
Installation of macports gcc and gfortran 1. go to the link http://www.macports.org/install.php

Upload: others

Post on 29-Oct-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Installation of macports gcc and gfortran€¦ · Now that is’s finished, you need to start XCode to allow it to install additional components. (you’ll administrator password

Installationofmacportsgccandgfortran1.gotothelinkhttp://www.macports.org/install.php

Page 2: Installation of macports gcc and gfortran€¦ · Now that is’s finished, you need to start XCode to allow it to install additional components. (you’ll administrator password

2.Afterconsideringyourspecificlaptop,downloadit.Ithasawalkthroughthatcomeswiththepackage.(you’llanadministratorpasswordtocompleteit).

Page 3: Installation of macports gcc and gfortran€¦ · Now that is’s finished, you need to start XCode to allow it to install additional components. (you’ll administrator password

3.DownloadandinstallXcodeattheAppStorebysearchingxcodeatthetopright-handcorner.

Page 4: Installation of macports gcc and gfortran€¦ · Now that is’s finished, you need to start XCode to allow it to install additional components. (you’ll administrator password

4.Downloadit(You’llneedanAppleIDinordertodownloadXcode)

5.Itisabigdownloadof4.5GB.It’lltakeawhile…6.Afteritfinisheddownloadingbegininstallation.Thatcanalsotakeawhile…7.Nowthatis’sfinished,youneedtostartXCodetoallowittoinstalladditionalcomponents.(you’lladministratorpasswordtocompleteit).

8.Onceitisopen,theadditionalcomponentshavebeeninstalledandyoucancloseit.

Page 5: Installation of macports gcc and gfortran€¦ · Now that is’s finished, you need to start XCode to allow it to install additional components. (you’ll administrator password

9.NowyouneedinstalltheCommandLineTools.Openyourterminalandtypexcode-select–install

Page 6: Installation of macports gcc and gfortran€¦ · Now that is’s finished, you need to start XCode to allow it to install additional components. (you’ll administrator password

10.Thefollowingwindowwillopen.Clickinstall.

11.Afteryouhavesuccessfullyinstalledthecommandlinetools,openyourterminalandtypewhichgcc

12.Thecommandshouldreturnthepath/usr/local/binor/usr/local/gcc.Allofthisshouldhavebeentakencareofautomatically.

Page 7: Installation of macports gcc and gfortran€¦ · Now that is’s finished, you need to start XCode to allow it to install additional components. (you’ll administrator password

13.Now,downloadgfortranfromthelinkhttp://gcc.gnu.org/wiki/GFortranBinaries#MacOS

14.Afterconsideringyourspecificlaptop,downloadit.Ithasawalkthroughthatcomeswiththepackage.Double-clickonthefolderthandouble-clickonthepackage.

Page 8: Installation of macports gcc and gfortran€¦ · Now that is’s finished, you need to start XCode to allow it to install additional components. (you’ll administrator password

15.Ifyougetthefollowingmessage,gotoSystemPreferences,Security&PrivacyandOpenitAnyway.

Page 9: Installation of macports gcc and gfortran€¦ · Now that is’s finished, you need to start XCode to allow it to install additional components. (you’ll administrator password

16.gfortranalsohasawalkthroughthatcomeswiththepackage.You’llneedagainandadministratorpassword

17.Afteryouhavesuccessfullyinstalledthegfortran,openyourterminalandtypewhichgfortrananditshouldbesuccessfullyinstalledin/usr/local/bin