Top Banner
Installation of macports gcc and gfortran 1. go to the link http://www.macports.org/install.php
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

Oct 29, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
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