1

I have multiple versions of Python on my machine, and attempting to install Pip for each of them. I have already installed Pip 21.2.3 for Python 3.10 and am now trying to install Pip 20.3.X (specific version number isn't much of an issue) for Python 3.9. Can I use DNF to install Pip 20.3 after I have already installed a more recent release, and if so, how?

Fedora Linux 35, DNF version 4.14.0.

1 Answer 1

2

You would need to do a 'manual' setup.

First you need to download the exact package, with specifying which exact version you want, and what is a folder to keep the package:

$ dnf download --downloadonly --downloaddir=/downloadpath package-a.b.c 

Then you can do a setup, into specific dir

$ dnf install --installroot=/installpath /downloadpath/package-a.b.c 

All paths must be absolute.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.