You are not logged in.
I have jupyter installed on my system:
➜ ~ sudo find / -name "jupyter"
[sudo] password for david:
/run/user/1000/jupyter
/home/david/.local/share/jupyter
/home/david/.local/etc/jupyter
/home/david/.local/bin/jupyter
/usr/bin/jupyter
/usr/share/jupyter
And I would like to get rid of it because I'm using now virtualenvs. It seems that pacman can't find it:
➜ ~ sudo pacman -R jupyter
error: can't find package: jupyter
How to remove it?
Thanks in advance.
Last edited by doblerone (2019-08-14 19:22:46)
Offline
Pacman didn't install it, so why would it be tracking it? Unintstall it the same way you installed it.
Offline
Thanks for the fast reply.
It's a community package, that's why I thought it was installed via pacman.
Offline
Those files belong to other packages:
$ pkgfile /usr/bin/jupyter
community/python-jupyter_core
$ pkgfile -d /usr/share/jupyter/
community/jupyter-widgetsnbextension
community/jupyterlab
community/python-ipykernel
community/python2-ipykernel
community/sagemath-jupyter
Offline
Those files belong to other packages:
$ pkgfile /usr/bin/jupyter community/python-jupyter_core $ pkgfile -d /usr/share/jupyter/ community/jupyter-widgetsnbextension community/jupyterlab community/python-ipykernel community/python2-ipykernel community/sagemath-jupyter
I don't have any of those packages installed neither.
Offline
pacman -Qo /usr/bin/jupyter
If pacman is not tracking the file because it did not install it, pacman can not remove it.
See also Pacman#Querying_package_databases and Tips_and_tricks#Identify_files_not_owned_by_any_package
Edit:
Have you ever used pip install without --user or make install on the system?
Last edited by loqs (2019-08-14 19:25:10)
Offline
Pacman -Qo /usr/bin/jupyter
If pacman is not tracking the file because it did not install it, pacman can not remove it.
See also Pacman#Querying_package_databases and Tips_and_tricks#Identify_files_not_owned_by_any_package
Edit:
Have you ever used pip install without --user or make install on the system?
Aha, there it is! Installation could have been done via pip!
I'll marked it as solved.
Offline