[SOLVED] remove python 3.8.5 packages and dependencies completely from rhel 8
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
Unless sabsac changed something, they would have gone into the Python installation directory in /opt.
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.