I have used only this command to install glances:
curl -L bit.ly/glances | sudo /bin/bash
Now I need to remove all the stuff that this command installed including glances. How can I do that?
thanks in advance.
I have used only this command to install glances:
curl -L bit.ly/glances | sudo /bin/bash
Now I need to remove all the stuff that this command installed including glances. How can I do that?
thanks in advance.
Glances author (Nicolas Hennion) just answered me that exact question.
The script is based on Pipy. So you can uninstall Glances with a simple:
sudo pip uninstall glances
pip
doesn't uninstall the dependencies. It only removes the specified package. As long as this issue isn't soved we can use pip-autoremove
.
bit.ly/glances
to see what need to be removed.
– Long
Jan 30 '21 at 09:24
You ran a script which have installed some packages on your system, what you have to do is to remove all of them.
Here is a list of packages:
git python-pip python-dev gcc lm-sensors wireless-tools
see which one of them you don't want anymore then remove them.
it also installs some requirements using pip
, I guess you can remove them using:
sudo pip uninstall -r glances/requirements.txt
sudo pip uninstall -r glances/optional-requirements.txt
it also creates a directory named glances
where you ran the installation script, remove it simple as rm -r glances
.
/usr/local/bin/glances
or /usr/bin/glances
and run pip uninstall glances
to remove Glances itself.
– Long
Jan 30 '21 at 09:25
pip
to installglances
. Do you seeglances
if you runpip list
? – edwinksl Jul 02 '17 at 17:10