![]() ![]() ![]() How to Install Node.js on Ubuntu and Update npm to the Latest Version.7-Zip for Linux - Download Best Archiver for your Linux Distro.Remove Directory in Linux: How to Delete Files and Folders.You can download them from the same location (Warning: long directory listing here, it might take a while to take the whole list.) It is possible that this is not the only package you’ll need, I suggest you look at all the packages starting with python-*, since many subpackages ( python-libs is one obvious case, but there might be others) might have been overwritten as well. Using -oldpackage will allow you to reinstall the same version, or even install an older version, which is possible since you might have gotten package updates that are more recent than version you downloaded.) ![]() (The rpm -F command, -F for “freshen”, will update packages that were already installed. Then, change directory to the one where you downloaded the package to, and install it using: $ sudo rpm -Fvh -oldpackage python-*.rpm Since yum is not working, you’ll have to do most of it manually, by downloading the packages and reinstalling them using rpm directly.įor example, you can find a Python 2.7 RPM here (for CentOS 7 on x86_64): (See below as for why you should reinstall, and how you should manage newer versions of software in a distro such as CentOS.) Reinstalling older Python from RPM To fix this problem, you should reinstall Python 2.7 shipped with CentOS 7. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |