How to install software development tools on OS X [closed] - macos

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am very new to using a Unix environment. I have started development on MAC OS X. Where ever I go I see references to the /usr/local/ directory for installing software, but I don't see that folder by default on my Mac. Should I create this folder in order to do any development?

OSX hides various parts of the system (including /usr/local) from the Finder. So you won't see this folder while in a Finder window, if that's what you mean when you say you can't see it.
You should look into using a package manager to install software, rather than trying to do it all yourself. Two popular options for OSX are Homebrew and MacPorts. Most likely before you use either of those, you will need to install Xcode through the App Store and then install the Command Line Tools (go to Preferences and then Downloads in Xcode).

Open up a terminal and "cd /usr/local". It should be there. The main idea of this directory is that you can install programs there and they will be "integrated" with the rest of the system, in the sense that the default command search path includes /usr/local/bin, the library path includes /usr/local/lib and so on. But you're by no means required to use this directory. Instead, while developing it might be better to use a subdirectory in your personal /home (or /Users) directory.

Related

Download a package copy of Rosetta to manually transfer to another Mac without internet [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
I have an odd situation here — I need to get a copy of Rosetta (the translation program that let's x86 software run on Apple silicon Macs) onto a Mac that can't connect to the internet (yet). I'm hoping someone knows how to download a .zip of it that I can use a hard drive to port to the internet-less computer.
Kind of a long story, but I recently reformatted an Apple Silicon Mac and used migration assistant to clone a copy of my work setup onto it, only the profiles in this employeer build require activation via the corporate network before you can connect to the internet. Normally this is done via the VPN client that comes pre-installed on their machines, only, I can't run that VPN client because it's x86 and the computer is Apple Silicon... but I can't install Rosetta in order to run it either because I can't connect to the internet.
Thus I need to download Rosetta on another computer, put it on a hard drive, and open it on the first computer. Just can't seem to find a file-copy of Rosetta anywhere is the problem.
Install Rosetta on an Apple Silicon Mac with internet:
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
Run the following script to find the installation folder:
grep "RosettaUpdateAuto.pkg" /var/log/install.log
The installation folder path will be something like:
/var/folders/f5/_hdu19hcuin1ckjnqkjcndwkcnadskjnckjqwn/T/OAHSoftwareUpdate/RosettaUpdateAuto.pkg
Go to the installation folder, copy the RosettaUpdateAuto.pkg file and install it on the Mac that is offline.

Can't update Xcode 11 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
Trying to update from Xcode 11 GM to 11.1 always fail.
I tried moving /Applications/Xcode.app first... nothing works
This is my commerce log:
2019-10-08 12:29:08+01 leviathan installd[556]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=501 "The package is attempting to install content to the system volume." UserInfo={NSLocalizedDescription=The package is attempting to install content to the system volume.} {
Manual download
The always working and preferred workaround!
Download directly from Apple:
Latest Release version or
Latest Beta version or
Any version you need and all other downloadable contents
Then extract and move it where you like. This has so many benefits comparing to AppStore updates. (like the ability to resume download, not replacing the old one, not wasting hidden directories and etc.)
Note that you should use safari to download it.
Force App Store to re-download.
Apple suggested this workaround but many developers (including me)prefer manual download to save a lot of network traffic!
Since This is Known Issues
Xcode may fail to update from the Mac App Store after updating to macOS Catalina. (56061273)
Apple suggest this:
To trigger a new download you can delete the existing Xcode.app or temporarily change the file extension so it is no longer visible to the App Store.

Can't run windows executable in Wine on Mac [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Getting this output: http://pastebin.com/PzQULCtx
Trying to run program called Chess Position Trainer with Wine on my Mac. I have tried VMs but they make the program run way too slow. A friend suggested Wine but I'm having trouble getting to running. I made a prefix with WineBottler to create the app. When I click on the .exe it bounces on my dock for a bit and then closes. When I try to run it through my terminal it gives me that above output. Tried googling this issue but not gleaning anything from my search. Any ideas?
You need to find the location of the Wine installation by running the program directly, one of the optional File paths is the location of the Wine or for mac you should be using the new version WineBottler which is now trademarked for Mac OS X and included Wine and Winebottler. Once you run the program directly your .exe will be in the system files in the same way Windows would store the files under Wine-1.7/Program Files. You might want to reinstall so that you have an easily accessible folder. Make sure to delete all Wine Folders first if you do so. Right now I'm trying to get serial bus and internet functionality within my applications and the new version includes a list of optional services called winetricks that can be applied from the menu, but right now I'm staring at a seemingly hung DOT NET 3.5 SP1 which I'm probably going to let run all day because if it's installing service packs, I've seen those take weeks on old Windows computers.

Yosemite Boot Up USB [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I need to create a USB Boot Up containing the Yosemite Installer. All the methods i have found on the internet insist that i have the Yosemite.app installer, to create the USB before installing the OS. I don't have the installer in my applications folder it's been a while since i installed the Yosemite. How can i create the USB Boot up now since i don't have the Yosemite.app ? I tried to use a third party application like the DiskMAker application but it also needs that i have the installer.. Any Ideas?
It turned out that there is no other way to do it without re-downloading the file once again from the app store. Maybe Apple should take care of that matter
You should be able to redownload the "Install Yosemite.app" from the App Store even on a Mac running 10.10. The App Store will display a warning about Yosemite being already installed, but you can simply click "Continue".
Once downloaded, you can use any guide out there to create a USB Installer, for example this one, which also talks about redownloading the Installer.

What are these hidden files in my home directory? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
A friend of mine is showing me how to use the shell (on my mac) and I used ls -a to look at all of the files in my home directory and there are a few that I'm wondering if they're garbage.
The ones that seem non-native to the computer (I'm running Mountain Lion)
.cups
.drjava
.nbprofiler
.netbeans
.profile
I googled netbeans (and "cups" unsuccessfully) and it seems like netbeans is an IDE, but I never installed it and it's not on my computer. I'm just curious if some of these files are garbage that piggybacked here on other downloads. Thanks for any knowledge you guys might have of this!
All of the files that you mentioned are part of Mac OS X already. Cups is to manage printers, netbeans is an IDE, drjava is for writing java applications, nbprofiler is to uncover memory leaks, and .profile can be used to set up aliases that act as shortcuts to commands. It is an optional file which tells the system which commands to run when the user whose profile file it is logs in. Hope this helped!

Resources