remove python 3.8.5 packages and dependencies completely from rhel 8
How to remove python 3.8.5 and including its packages and dependencies completely from red hat linux 8 enterprise version from gcp instance? please provide step by step approach. can we use yum or dnf? I installed it thru /opt folder using wget command and untarring it. it was not set up successfully hence I want to remove it.
|
If you installed it into /opt, then just delete it with "rm -rf".
|
and the dependencies?
|
You downloaded it with wget and untarred it. What dependencies are you referring to?
|
you need to know what did you download and untar. If you did not use any package management tool (like rpm, dnf, yum) you can just remove everything what was stored.
Also if you executed some python setup.py <whatever> or pip install <whatever> you need to know what was that and how it was invoked and also you need to remove the directory created by that command. |
Quote:
|
Personally, I would update myself on the '--do-it-anyhow' and '--shut-up' type switches in dnf or rpm.
All the apps will want to hang onto python3, as they use it. All the modules can go, unless the apps depend on them. Apt is nasty for that imho, but rpm, dnf & co. is more evil when last I met them. I would try:
|
All times are GMT -5. The time now is 08:25 AM. |