-
Notifications
You must be signed in to change notification settings - Fork 0
Prepare myOS environment in macOS
Amr Aboelela edited this page May 18, 2024
·
17 revisions
Parent page: Prepare and install
- Install brew
% /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install these packages
% brew install python wget
-
Edit .zshrc file:
- Run:
~$ vim .zshrc
- Add:
alias lh='ls -ltrh'
alias lha='ls -ltrha'
alias python=python3
alias pip=pip3
export EDITOR="vim"
export SWIFT_PATH=~/swift
export TWISTER_PATH=~/twister
export PATH=~/resources/git-plus:$PATH
- Run:
~$ source .zshrc
- Install Deep Learning packages for Tensorflow
% pip install tensorflow scikit-learn tensorflow_hub matplotlib pandas
Install resources
- Create resources directories:
~$ mkdir backup
~$ mkdir resources
~$ cd resources
- Install Git Plus
resources$ git clone https://github.com/tkrajina/git-plus
resources$ git clone https://github.com/amraboelela/ldb-dump
etc/hosts
~ % cd /etc
~ % sudo vi hosts
Add
10.0.0.138 ai
10.0.0.238 alya
10.0.0.237 bilal