Skip to content

Instantly share code, notes, and snippets.

View liangmeijing89's full-sized avatar

Meijing Liang liangmeijing89

  • Washington State University
  • Pullman, WA
View GitHub Profile
@liangmeijing89
liangmeijing89 / gist:5cdbd200d319b50099eb0f6527d7e656
Created July 14, 2020 21:25 — forked from gaquino/gist:87bdf0e6e852e445c0489379d3e9732a
MacOS (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools))
If you are facing an error like that on new MacOS version.
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
It means that you need to install XCode command line, open a Terminal and run this command:
$ xcode-select --install
Note:
If you want to download and install Command Line tools manually, it can be downloaded from: https://developer.apple.com/download/more/
@liangmeijing89
liangmeijing89 / install-gcc-4.9.3.sh
Created October 30, 2018 17:21 — forked from jtilly/install-gcc-4.9.3.sh
Install GCC 4.9.3
#!/bin/bash
# this script installs GCC 4.9.3
# to use it navigate to your home directory and type:
# sh install-gcc-4.9.3.sh
# download and install gcc 4.9.3
wget https://ftp.gnu.org/gnu/gcc/gcc-4.9.3/gcc-4.9.3.tar.gz
tar xzf gcc-4.9.3.tar.gz
cd gcc-4.9.3