Overview#

  • Author: Fu Yin

  • Update: Dec 14, 2022

  • Reading: 10 min


Warning

This tutorial supports MacOS M1 (Ventura 13.0.1), and may also be valid for the Monterey, Big Sur, and Catalina. MacOS M2 will be supplemented in the future.

Reinstall MacOS#

Reinstall Monterey system as follows:

  • Restart the computer, and hold Command + R key until Apple logo appears.

  • Enter Disk Utility and Erase the hard disk.

  • Select reinstall macOS Monterey.

Working…

APP#

Complete list in my mac please check Mac-Software.md list. Here are several resources website.

  • awesome-mac is a github collecting awesome macOS software.

Genuine Software:

Pirated Software. Refuse piracy from me. Software vendors can go to these places rights.

Rice University Software for Student:

USTC Software for Student:

SUSTech Software for Student:

File managment#

Toctree Mac finder as follows:

cd ~
tree -L 1

## output
.
├── Applications # built-in
├── Applications (Parallels)
├── Desktop
├── Documents
├── Downloads
├── Library
├── Movies
├── Music
├── Parallels
├── Pictures
├── Public
├── Rice Geophysics Dropbox
├── Zotero
├── bin
├── data
├── learn
├── me
├── miniconda3
├── package
├── project
├── share1
├── share2
├── src
└── workspace

24 directories, 0 files

Applications#

  • Store apps downloaded from App Store and Internet, such as Chrome, Wechat…

Desktop#

  • Some temporary files

Documents#

  • Some softwares use this folder to store files, such as Matlab/Adobe, but I don’t usually use it to store my files.

Download#

  • Default directory of browser downloads

me#

  • ~/me stores my personal files.

bin#

  • ~/bin stores simple executable code and tool-based scripts, such as rdseed. And also put executable files of large programs here, such specfem and matlab.

  • Add the directory’s path to the environment variable PATH.

  • More information please check Geo-Software.md list.

src#

  • ~/code stores source code wrote by myself, and it’s my personal code.

  • More information please check Geo-Software.md list.

Note

Remember that after compiling, put the executable code in the ~/bin folder.

package#

  • ~/src stores source code from other institutions’ software, such as SAC, Specfem-2D…

  • More information please check Geo-Software.md list.

Note

Remember that after compiling, put the executable code in the ~/bin folder.

data#

  • ~/data stores some common data, such as seismic waveform, fault data, earthquake catalog, etc., which can be shared by multiple different research projects.

  • ~/data also stores my Bachelor & Master Thesis, meeting report slides (Group/SSA/AGU/CGU…), and some meeting video.

learn#

  • ~/learn stores some reference books about seismology, and some seismology lesson.

  • ~/learn also stores skill lessons such as Bayes and C++.

project#

  • ~/project store research project, such as ~/project/MCMTpy a earthquake source project.

workspace#

  • ~/workspace is a directory for doing tests or simple experiments.

yinfu#

  • /Users/yinfu equals to ~ which is the user’s root path.