Skip to end of metadataGo to start of metadata
MacOS 10.11.5+ 16A300; 14B54; 14S452; 14T328; Xcode 8.0: Release: 8A218a: 13 Sep 2016: macOS 10.11.5+ 16A300; 14A345; 14S326; 14T328; Download: Release Notes: Xcode 8.0: GM Seed 1: 8A218a: 7 Sep 2016: macOS 10.11.5+ 16A300; 14A345; 14S326; 14T328; Xcode 8.0: Beta 6: 8S201h: 15 Aug 2016: macOS 10.11.5+ 16A286a; 14A5339a; 14S5320a; 14T5326a; Xcode 8.0: Beta 5: 8S193k: 9 Aug 2016: macOS. To compile other sources. you will also need to have Apple's XCode Tools installed from the Mac App Store. With XCode 4 or better you will need to download the command-line tools as an additional step.
After installing the GNU compilers, you may want to check out the HOWTO for installing Open MPI on Mac OS X.
Background
One of the nice things about Mac OS X is that you have a polished user interface atop a Unix operating system. This means that using command line utilities such as compilers is straightforward, making coding on your Mac easy. If you have a multi-core Mac (most should by now) and would like to run codes that use MPI to distribute processing across multiple processor cores, you should also check out the HOWTO for installing Open MPI on Mac OS X. Note that you'll need to follow the instructions on this page prior to installing Open MPI if you don't already have some set of compilers installed.
Requirements
To install the GNU compilers as described in this HOWTO, you'll need the following:
- A Mac running 10.11 (El Capitan)
- If you are using Mac OS X 10.6 - 10.10, check out the instructions for older versions of Mac OS X
- An Apple App Store account
- Internet access
Video instructions for Mac OS 10.11 (El Capitan) with Xcode 7
Rough video transcript:
Hello, and welcome to this screencast on how to install the GNU C, C++ and Fortran compilers for Mac OS 10.11 (El Capitan). In this video, I will show you how to install the compilers as well as Apple’s Xcode software, which is required for the compiler installation. For this video, I am assuming you are using a Mac running Mac OS 10.11, also known as El Capitan, that you have an Apple App Store account and that you have internet access. I am also assuming you have administrator access on your Mac, allowing you to install software. Yu yu hakusho forever ps2 iso. If you’re running an older version of Mac OS X, the installation procedure will be similar, but you can check out the link at the end of this video for the installation procedure on older versions of Mac OS X back to 10.6.
Step 1: We’ll begin by installing the current version of Apple’s Xcode software, Xcode 7. To install Xcode, start by opening the App Store app by clicking on the Apple logo on the top left of the menu bar and then selecting App Store… Once the App Store app opens, enter 'Xcode' into the search and press Enter. You can now click install to install Xcode. You may be prompted to enter your Apple ID and password if you’ve not previously installed applications via the App Store. Xcode is a pretty big download, so depending on the speed of your internet connection it may take some time to download and install. I’ll be back once the install is complete.
Step 2: Xcode has been downloaded and installed, and now we can move on to a critical second step for the Xcode install, installing the command line tools. To do this, we can use Spotlight to open the Terminal app. If you’re installing compilers, I am going to assume you’re at least somewhat familiar with using a terminal emulator. If not, you should still be able to do the install by following these instructions carefully. Once Terminal has opened, type in xcode-select --install
. This will install the command line tools for Xcode, and you will be asked to perform the install using the typical application installation process. This may include asking you for your password.
Step 3: Now that Xcode is fully installed, we can move on to downloading the GNU compilers from the High-Performance Computing for Mac OS X website. The easiest way to get there is to open a web browser, Safari in this case. And type in 'High-performance computing Mac OS X' in the Google search. It should be the top hit. On that page, we’ll grab the latest STABLE version of the GCC compiler package and click the link to download.
Step 4: After the compilers have downloaded, we can return to the Terminal and navigate to the Downloads directory. We’ll install the compilers now using the `sudo
` command, and before we do so, I’m going to give you a little warning. Using the sudo command can do major damage to your computer if you aren’t careful, so please type the following exactly as shown to do the install: sudo tar -xvf gcc-5.3-bin.tar -C /
. If your downloaded package ends in .tar.gz
, you’ll need to add z
to the list of flags after the tar
command. This should take just a moment and will install the compilers in /usr/local
.
Step 5: Now the compilers are installed, and if you’re running Mac OS 10.11, you should be able to test the installation by typing gcc -v
. It should show version 5.3. You can try the same with the Fortran compiler by typing gfortran -v
. If they return the compiler versions as expected, you’re all set. Enjoy.
- If your compilers are not installed, you may need to add the installation location to the PATH environment variable, which tells the computer where to look for command line programs.
- In that case, the easiest thing to do is go to the installation HOWTO at the link at the end of this video and check out the last section of the instructions for the installation for Mac OS 10.9 or 10.10. There are some additional instructions that may help resolve your issues. If you’re still having trouble, double check you’ve followed the instructions exactly as given in the video and feel free to add a comment if you still need some help.
- OK, so that’s it. Thank you for watching. If you have any comments, please leave them below. In case you’re interested, here’s another link to a video on how to install the Open MPI software for running multi-core applications on your Mac using MPI, the message-passing interface. Good luck!
Instructions for older versions of Mac OS X (10.6 - 10.10)
Instructions for installing the GNU compilers for older versions of Mac OS X (10.6 - 10.10) have been moved and are available on another page.
Tips & Warnings
I mention all but the last of these tips and warnings in the text above, but it doesn't hurt to list them a second time..
- Beware that using sudo can do major damage to your computer if you aren't careful.
- Note that after installing Xcode, you also need to perform a critical additional step.
- Launch Xcode and install any available updates. Quit Xcode.
- Launch Terminal.app (in
/Applications/Utilities
, hopefully you know that) Install the Command Line Tools for OS X by typing
This will open a dialog box to install the Command Line Tools for Xcode package. Install following the standard procedure.
- Launch Xcode and install any available updates. Quit Xcode.
- If the correct version of gcc is not being found at the command line after installation, it is possible that you're using a terminal emulator that reads the
.bashrc
file rather than the.bash_profile
file. To confirm, do the following:Open a new terminal window using your terminal emulator of choice. This will reread the either the
.bash_profile
file or the.bashrc
. If the new gcc version is not returned when typingthen your terminal emulator may be reading the
.bashrc
file.- You can fix this one of two ways
Create a symbolic link called
.bashrc
that points to.bash_profile
by typingModify the order of directories that are searched for commands by typing
Related
/Mac Uninstaller /How to Uninstall Xcode on Mac Completely [2021 Update]
Today, Let's discuss how to uninstall Xcode on Mac to free up more space.
Vizrt artist free download. Xcode is created by Apple as one of the best developer toolkits that they can use for iOS and Mac app development. However, the projects that are made using Xcode will take up a huge space on your Mac’s storage, sometimes even lead to your system running out of application memory.
If you want to get rid of Xcode 10, 11, 12 or other versions to free up more space on your Mac, we will show you about the tactics to uninstall Xcode on Mac as follow. Just keep on reading to find out!
Article GuidePart 1. Do I Need Xcode on My Mac?Part 2. How to Completely Delete Xcode on Mac?Part 3. How to Uninstall Xcode on Mac ManuallyPart 4. How to Delete Xcode Files Quickly from MacPart 5. Conclusion
Part 1. Do I Need Xcode on My Mac?
Xcode is a package wherein it is used to develop some tools on your Mac and iOS operating system. This actually includes several types of utilities that are actually useful and is required for a development process for applications.
Having this program installed on your Mac is just as simple as downloading it from the Mac store. But making use of the Xcode app for a long period of time can actually make gigabytes of data in your cached. The worst part of it is that it can even eat up some of your storage space even after your work is done. Some of its additional aspects can include other things like the Interface, iPhone Simulator, Quartz Composer, Dashcode, dtrace, perl, python, ruby, and so much more.
This app will also create a lot of temporary cache files and as time pass by, these files will become hidden and will take up your storage space, eventually make your Mac running slow. Also, these junks will slow your Xcode down, and worst, it will become unresponsive.
So, do you need Xcode on your Mac? Now, if this happens to your Mac, there might be a need for you to clean your Xcode by deleting some apps and all of your old caches. However, this cannot be done with just a normal process of uninstalling it if you want to clean uninstall xcode.
When you are going to uninstall Xcode on Mac, it is not as simple as dragging the icon to your Trash. This will not uninstall your Xcode completely. Some of its cache, files, and other things associated with it will remain in your hard drive.
With this issue, there are actually several questions that you might be dealing with now:
- Is it safe to delete Xcode?
- Can I delete Xcode from my Mac?
- Can I completely uninstall the Xcode from my Mac?
The answer to these questions is really simple and it is a big YES! We have included here ways on how you can actually completely remove the Xcode app from your Mac together with all the files that are associated with this app. And doing this will actually give you more disk space for your new apps and files and it will also boost the speed performance of your Mac.
Full Solutions to uninstall Xcode on Mac including 10, 11, 12, 13, or other versions are as follows.
Part 2. How to Completely Delete Xcode on Mac?
How to Completely Delete Xcode from Mac? Now that you are able to clean up any Xcode build files on your Mac PC using the iMyMac PowerMyMac, then the next thing that you should do is for you to completely remove Xcode from your Mac PC.
PowerMyMac allows you to uninstall all the apps like Microsoft Office that you no longer need from your Mac, then you can save more space to store other files or apps that you want. It will also help you locate the images on your Mac and get rid of the unnecessary photos to boost the speed performance of your Mac PC.
Before you delete some files from your Mac PC, you will be able to preview them first. This means that all the things or actions will be in control. Follow the steps below on how to completely uninstall xcode 10 or other versions:
Step 1. Download and Install iMyMac PowerMyMac on Your Mac
Download the iMyMac PowerMyMac for free from the official website https://www.imymac.com and then have it installed on your Mac PC. Then go ahead and run the program. Select the module “Uninstaller”.
Step 2. Scan All The Softwares on Your Mac
After choosing the Uninstaller, go ahead and click the Scan button. The program will then start scanning your applications on your Mac automatically.
Step 3. Choose and Clean The Unneeded Xcode on Mac
Once that the scanning is complete, you will be able to see all the software listed on your main screen. From that list, go ahead and choose the Xcode app. If you just want to delete older versions of Xcode, you can only choose the versions you want to remove and remain the latest version. After selecting that, go ahead and click on the Clean button to remove Xcode and the related files. That's all, how easy it is to uninstall Xcode on Mac with PowerMyMac!
Tip: Powerful Features of iMyMac PowerMyMac:
- It is powerful to uninstall apps or software unsafe/useless from your Mac PC.
- It is quick and efficient when it comes to scanning your Mac
- It will help you remove all the software together with its associated files that you no longer need.
- It will be able to show you all the scanned results and sizes, time, and more.
Part 3. How to Uninstall Xcode on Mac Manually
We are going to show you here that standard method on how you can remove your Xcode 10, 11 or other versions from your Mac PC.
Here are the steps that you need to take to uninstall Xcode on Mac:
- Go to your Applications folder.
- Drag the Xcode icon to your trash.
- Clean up your Trash bin.
Doing this will remove the main app. Let us proceed and remove the rest of your Xcode files.
All you have to do is to follow these simple instructions. Please keep in mind that you have to follow instructions carefully for you to avoid having bad consequences:
- Launch Finder on your Mac.
- From the menu, go ahead and click Go.
- After that, go ahead and go to Folder.
- Go to
~/Library/Developer/
. - After that, look for
Developer
folder. - Once you find that folder, delete it.
If you are actually using the earlier version of Xcode on your Mac like the 7 or 8, they will definitely leave some marks all over the place.
Now, for you to remove these marks or your old Xcode, proceed and do the following steps:
- Launch Terminal on your Mac.
- Run this access
sudo: /Developer/Library/uninstall-devtools --mode=all.
- Enter and confirm your admin password.
- This point, the script will run on your Mac. Wait for it to finish.
- One the script is done running, go ahead and quit the Terminal.
Now, there is just one more thing that you need to do for you to remove Xcode application cache completely from your Mac PC. In some cases, on some versions of the app, they are actually left during purging so if this is the case, you can go ahead and visit this directory.
This is for you to be assured that there are no files left:
- Search
~/Library/Caches/com.apple.dt.Xcode
file on Mac. - If you found out that there are some files left, you can go ahead and simply clean up the folder.
Once that you have fully removed all the traces of Xcode on your Mac PC, go ahead and reinstall the app. This time, you should be able to experience a faster experience using your Mac. You will also have more space on your Mac after you delete Xcode on Mac.
If you also want to uninstall Xcode command line tools, just follow the steps below:
- Find the tool in this directory '
/Library/Developer/CommandLineTools
' and delete it. - Launch the Terminal, enter this command '
sudo rm -rf /Library/Developer/CommandLineTools
' and hit enter to remove it. - You also need to reset the default command-line tools by entering this command '
sudo xcode-select -r
'
Part 4. How to Delete Xcode Files Quickly from Mac
Awecleaner professional 4.3. If you want to clean uninstall Xcode on Mac, you must remove the related files. About clean old file, here is the easiest way to do with iMyMac. If you are thinking that doing the manual way on deleting your Xcode on your Mac is too risky, we are going to show you another simplest and easiest method without having any risk.
Here are what you need to do using the iMyMac PowerMyMac:
- Launch the iMyMac PowerMyMac on your Mac and choose Master Scan from the left panel of your screen.
- Click on the Scan button.
- Choose the Xcode Junk from the category of junk files shown on your screen.
- After that, go ahead and click on the Clean button.
From here, you will be able to free up some of your storage space and boost up the speed performance of your Mac PC.
Part 5. Conclusion
Xcode is commonly used by developers of Mac app and for other iDevices. However, not all people will know about this because it is unlikely to be used. This is the reason why some users would want to uninstall Xcode on Mac. You can drag them to your Trash Bin but there will always be some file residue that will stay.
Luckily, we have here ways on how you can do this. You can either do it manually or in the easiest way using the iMyMac PowerMyMac. Doing this will maintain your Mac’s performance and will let you have more of your storage space which will give you the privilege to store other applications or files that you most need.
ExcellentThanks for your rating.
Rating: 4.4 / 5 (based on 71 ratings)
People Also Read:
PowerMyMac
A powerful all-in-one App for Mac
Download Xcode For Mac Free
Free DownloadDavy2018-12-19 06:04:06
Xcode For Mac 10.11.6
I have had the Xcode 10beta installed on my Mac but I always get a crash error during the course I take on Xcode, so I dragged it to trash but left some files. Thanks for your tips, now I have removed it completely!
iMyMac2018-12-19 09:13:05
Xcode On Mac
Happy to hear that.
Clean up and speed up your Mac with ease