Setting up Android Studio on a freshly reformatted MacBook, I got this error:Git is not installed
xcode-select: note: No developer tools were found, requesting install. If developer tools are located at a non-default location on disk, use sudo xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools, and cancel the installation dialog. See man xcode-select for more details.
Tag: Mac OS
-
Installing git on a macbook
-

Read & write to NTFS from your Mac computer
My external HDD is in NTFS format and the Mac I’m using at work cannot write files to it. I solved this issue by running NTFS-3G on my Mac OS X version 10.11.
Follow these simplified instructions to mount your NTFS drive as writeable in your Mac. If you encounter any problem, scroll down below the instructions to see solutions for errors I encountered.- Install Homebrew package manager by running the following command, as instructed in brew.sh:
1/usr/bin/ruby –e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
- Install osxfuse if you haven’t yet.
- Install NTFS-3G from Homebrew by typing this on your Terminal:
1brew install homebrew/fuse/ntfs–3g
- Plug your external drive into your Mac
- Unmount the external drive from your Mac if it’s already mounted. (Unmount, not unplug!)
- Run the following commands to manually mount the external HDD as NTFS-3G:
12sudo mkdir /Volumes/NTFSsudo /usr/local/bin/ntfs–3g /dev/disk1s1 /Volumes/NTFS –olocal –oallow_other
- Your external drive should now appear as NTFS-3G format drive, and you should be able to write on it now from your Mac.
Error Fixing
OsxfuseRequirement unsatisfied
I tried to install NTFS-3G on my personal MacBook Pro but it failed with this message after installing Homebrew:
123456789101112131415161718MacBook:~ toncatzu$ brew install homebrew/fuse/ntfs-3g==> Tapping homebrew/fuseCloning into ‘[…]/usr/local/Homebrew/Library/Taps/homebrew/homebrew-fuse’…remote: Counting objects: 34, done.remote: Compressing objects: 100% (34/34), done.remote: Total 34 (delta 0), reused 17 (delta 0), pack-reused 0Unpacking objects: 100% (34/34), done.Checking connectivity… done.Tapped 28 formulae (86 files, 74.6K)==> Installing ntfs-3g from homebrew/fusentfs-3g: OsxfuseRequirement unsatisfied!You can install with Homebrew Cask:brew cask install osxfuseYou can download from:https://osxfuse.github.io/Error: An unsatisfied requirement failed this build.So I run this command to install osxfuse:
1brew cask install osxfuseMy
brew install homebrew/fuse/ntfs-3gcommand moved past that issue after that.brew link errors
I got these errors after running the command
brew install homebrew/fuse/ntfs-3gagain:123Error: The `brew link` step did not complete successfully[…]Error: An unexpected error occurred during the `brew link` stepSo I ran
brew doctorand some of the results were these:Warning: The following directories are not writable:
/usr/local/share/manThis can happen if you “sudo make install” software that isn’t managed
by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step.You should change the ownership and permissions of these directories.
back to your user account.
sudo chown -R $(whoami) /usr/local/share/manWarning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Runbrew linkon these:
ntfs-3g
pkg-configFirst I ran this command for the permission issue:
sudo chown -R $(whoami) /usr/local/share/manThen ran this command too:
brew link ntfs-3gAfter the linking,
brew install homebrew/fuse/ntfs-3gfinally installed successfully!Failed to access volume /dev/disk1s1
After running the command
sudo /usr/local/bin/ntfs-3g /dev/disk1s1 /Volumes/NTFS -olocal -oallow_other, this error was shown:ntfs-3g: Failed to access volume ‘/dev/disk1s1’: No such file or directory
This means
disk1s1, as specified in the command, cannot be found. What you can do is find the IDENTIFIER of your external drive from the table that this command returns:1diskutil listReference(s): NTFS-3G on osxfuse
- Install Homebrew package manager by running the following command, as instructed in brew.sh: