mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-14 14:23:53 -05:00
clean up MacOS section
32
Home.md
32
Home.md
@@ -28,28 +28,26 @@ distros like Alma/Rocky Linux 8 and Ubuntu 20.04. See [PEP
|
|||||||
brew install openssl readline sqlite3 xz zlib bzip2 tcl-tk@8 libb2 zstd
|
brew install openssl readline sqlite3 xz zlib bzip2 tcl-tk@8 libb2 zstd
|
||||||
```
|
```
|
||||||
|
|
||||||
For older operating systems `Homebrew` might not be available so install `pyenv` with:
|
As an alternative to Homebrew, you can use dependencies from [MacPorts](https://www.macports.org/install.php):
|
||||||
|
|
||||||
```sh
|
|
||||||
curl https://pyenv.run | bash
|
|
||||||
```
|
|
||||||
|
|
||||||
`xcode-select --install` might not be available on older macOS's so use [this script](https://gist.github.com/rtrouton/f92f263414aaeb946e54) instead or [this page](https://xcodereleases.com/) as well as directly from Apple downloads:
|
|
||||||
|
|
||||||
https://developer.apple.com/download/more/
|
|
||||||
|
|
||||||
And search for:
|
|
||||||
```
|
|
||||||
command line tools <version number>
|
|
||||||
```
|
|
||||||
like `command line tools 10.9`
|
|
||||||
|
|
||||||
For dependencies use [MacPorts](https://www.macports.org/install.php):
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo port install pkgconfig openssl zlib bzip2 xz gdbm tcl tk +quartz sqlite3 sqlite3-tcl zstd
|
sudo port install pkgconfig openssl zlib bzip2 xz gdbm tcl tk +quartz sqlite3 sqlite3-tcl zstd
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* **Older MacOS releases**
|
||||||
|
|
||||||
|
For older MacOS releases, `Homebrew` might not be available so install `pyenv` [in one of the other ways](https://github.com/pyenv/pyenv/blob/master/README.md#a-getting-pyenv) and use MacPorts (see above) for dependencies.
|
||||||
|
|
||||||
|
`xcode-select --install` might not be available on older macOS's so use [this script](https://gist.github.com/rtrouton/f92f263414aaeb946e54) instead or [this page](https://xcodereleases.com/) as well as directly from Apple downloads:
|
||||||
|
|
||||||
|
https://developer.apple.com/download/more/
|
||||||
|
|
||||||
|
And search for:
|
||||||
|
```
|
||||||
|
command line tools <version number>
|
||||||
|
```
|
||||||
|
like `command line tools 10.9`
|
||||||
|
|
||||||
* **Ubuntu/Debian/Mint:**
|
* **Ubuntu/Debian/Mint:**
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|||||||
Reference in New Issue
Block a user