Skip to content

Commit

Permalink
pyenv installation steps (#234)
Browse files Browse the repository at this point in the history
Co-authored-by: rakhanda <rakhanda@rakhandas-MBP.attlocal.net>
  • Loading branch information
RaviKhandavilli and rakhanda committed Sep 21, 2022
1 parent e8c0ed3 commit e7f3257
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/02-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ Depending on Linux distributions, several package managers such as `apt`, `yum`,
```bash
brew install go
brew install golangci-lint
```
Then install pyenv (Note : For configuring the pyenv please follow the output of the pyenv init command)
```bash
brew install pyenv
pyenv init
pyenv install 3.9.6
pyenv global 3.9.6
pyenv version
Expand All @@ -27,6 +32,25 @@ The following shows how to install the above packages in Ubuntu.
```bash
sudo apt install golang
sudo snap install golangci-lint
```
Then install pyenv
```bash
sudo apt-get update; sudo apt-get install make build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev

curl https://pyenv.run | bash

# pyenv
#Add the following entries into your ~/.bashrc or ~/.bash_profile file:
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv virtualenv-init -)"
#restart the shell
exec $SHELL
#OR source the shell
source ~/.bashrc source ~/.bash_profile

pyenv install 3.9.6
pyenv global 3.9.6
pyenv version
Expand Down

0 comments on commit e7f3257

Please sign in to comment.