mirror of
https://github.com/asdf-community/asdf-python
synced 2024-10-06 08:32:06 +08:00
Ubuntu dependencies
This commit is contained in:
parent
8505457c66
commit
57f05741d1
18
README.md
18
README.md
@ -29,9 +29,25 @@ Check [asdf](https://github.com/asdf-vm/asdf) readme for instructions on how to
|
||||
Please make sure you have the required [system dependencies](https://github.com/pyenv/pyenv/wiki#suggested-build-environment) installed before trying to install Python.
|
||||
|
||||
Under the hood, asdf-python uses [python-build](https://github.com/yyuu/pyenv/tree/master/plugins/python-build)
|
||||
to build and install Python, check its [README](https://github.com/yyuu/pyenv/tree/master/plugins/python-build)
|
||||
To build and install Python, check its [README](https://github.com/yyuu/pyenv/tree/master/plugins/python-build)
|
||||
for more information about build options and the [common build problems](https://github.com/pyenv/pyenv/wiki/Common-build-problems) wiki page for any issues encountered during installation of python versions.
|
||||
|
||||
## Ubuntu
|
||||
|
||||
For Ubuntu 20 and 22
|
||||
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
then
|
||||
|
||||
```
|
||||
asdf install python latest
|
||||
```
|
||||
|
||||
## Using multiple versions of Python
|
||||
|
||||
A common request for Python is being able to use the `python2` and `python3` commands without needing to switch version.
|
||||
|
Loading…
Reference in New Issue
Block a user