1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-14 14:23:53 -05:00

clean up MacOS section

native-api
2025-08-28 09:09:39 +03:00
parent 0458518e0d
commit 43458be462

14
Home.md

@@ -28,12 +28,16 @@ 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
```
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
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/
@@ -44,12 +48,6 @@ distros like Alma/Rocky Linux 8 and Ubuntu 20.04. See [PEP
```
like `command line tools 10.9`
For dependencies use [MacPorts](https://www.macports.org/install.php):
```sh
sudo port install pkgconfig openssl zlib bzip2 xz gdbm tcl tk +quartz sqlite3 sqlite3-tcl zstd
```
* **Ubuntu/Debian/Mint:**
```sh