include rust inst. step in standalone installation

also include protobuf uninstall if installed previously
This commit is contained in:
mauwii 2022-09-18 18:48:05 +02:00
parent cdc78cc6a1
commit 578638c258
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB

View File

@ -33,10 +33,20 @@ some time:
While that is downloading, open a Terminal and run the following commands: While that is downloading, open a Terminal and run the following commands:
```bash title="install brew (and Xcode command line tools)" !!! todo "Homebrew"
/bin/bash -c \
"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" === "no brew installation yet"
```
```bash title="install brew (and Xcode command line tools)"
/bin/bash -c \
"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
=== "brew is already installed"
Only if you installed protobuf in a previous version of this tutorial, otherwise skip
`#!bash brew uninstall protobuf`
!!! todo "Conda Installation" !!! todo "Conda Installation"
@ -54,8 +64,7 @@ While that is downloading, open a Terminal and run the following commands:
=== "M1 arm64" === "M1 arm64"
```bash ```bash title="Install miniconda for M1 arm64"
# install miniconda for M1 arm64:
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh \ curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh \
-o Miniconda3-latest-MacOSX-arm64.sh -o Miniconda3-latest-MacOSX-arm64.sh
/bin/bash Miniconda3-latest-MacOSX-arm64.sh /bin/bash Miniconda3-latest-MacOSX-arm64.sh
@ -63,8 +72,7 @@ While that is downloading, open a Terminal and run the following commands:
=== "Intel x86_64" === "Intel x86_64"
```bash ```bash title="Install miniconda for Intel"
# OR install miniconda for Intel:
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh \ curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh \
-o Miniconda3-latest-MacOSX-x86_64.sh -o Miniconda3-latest-MacOSX-x86_64.sh
/bin/bash Miniconda3-latest-MacOSX-x86_64.sh /bin/bash Miniconda3-latest-MacOSX-x86_64.sh
@ -72,13 +80,15 @@ While that is downloading, open a Terminal and run the following commands:
=== "with pyenv" === "with pyenv"
```bash ```{.bash .annotate}
brew install pyenv-virtualenv # you might already have this installed, no problem brew install rust pyenv-virtualenv # (1)
pyenv install anaconda3-2022.05 pyenv install anaconda3-2022.05
pyenv virtualenv anaconda3-2022.05 pyenv virtualenv anaconda3-2022.05
eval "$(pyenv init -)" eval "$(pyenv init -)"
pyenv activate anaconda3-2022.05 pyenv activate anaconda3-2022.05
``` ```
1. you might already have this installed, no problem
```{.bash .annotate title="local repo setup"} ```{.bash .annotate title="local repo setup"}
# clone the repo # clone the repo