You are not logged in.
Half of year ago I have made fool mistake. I have installed python from source code with make install. Can anybody advice method to delete it without aftermath for system? Now I have python3.6 installed from source and python3.7 installed with pacman. Some troubles occurs. For example I need manually change name of python from python3 to python3.7 in bash scripts (e.g. reflector).
Last edited by Kirill Bugaev (2018-10-07 19:30:23)
Offline
pacman -S lostfiles
The lostfiles script will list files that pacman does not know about, which you may want to delete in order to clean up your system.
A more targeted solution, if you still have the python source code which you installed, is to try running make uninstall.
...
Most likely, everything that is relevant there will be in /usr/lib/python3.6
So,
pacman -Qo /usr/lib/python3.6
then remove this directory, clean up any remaining untracked files, and pacman -S python just to make sure that /usr/bin/python etc. are the right versions.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
eschwartz, thanks.
$ pacman -Qo /usr/lib/python3.6
error: No package owns /usr/lib/python3.6
I have removed this directory, /usr/local/lib/python3.6, /usr/local/include/python3.6m and python3* files in /usr/local/bin, then reinstall python.
Last edited by Kirill Bugaev (2018-10-07 19:24:23)
Offline