tgraf / bmon

bandwidth monitor and rate estimator
Other
1.2k stars 98 forks source link

Removing bmon #106

Open Wcarn1 opened 4 months ago

Wcarn1 commented 4 months ago

How to remove bmon from the Ubuntu command line?

blastmaster commented 4 months ago

Thats actually not a bmon issue but if you have installed bmon via the package manager apt remove bmon should do the job.

Am 31. Juli 2024 14:30:33 MESZ schrieb Wcarn1 @.***>:

How to remove bmon from the Ubuntu command line?

-- Reply to this email directly or view it on GitHub: https://github.com/tgraf/bmon/issues/106 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

Wcarn1 commented 3 months ago

It is not deleted:

root@tiu:~# apt remove bmon
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'bmon' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

installed as per instructions:

git clone https://github.com/tgraf/bmon.git cd bmon apt-get install build-essential make libconfuse-dev libnl-3-dev libnl-route-3-dev libncurses-dev pkg-config dh-autoreconf ./autogen.sh ./configure make make install bmon

blastmaster commented 3 months ago

Ok, you installed it from source. Than its on your own. You can delete the binary with rm $(which bmon) but other artifacts might remain on your system. You can also look at the config.log file from the build and see what was installed where but you have to do the removal by hand.

Wcarn1 commented 3 months ago

Thanks for the support. I did not find config.log. In which file can I see which files were installed and where?

blastmaster commented 2 months ago

Ok, I assume that you just run something like configure; make ; make install. You can run which bmon what might show something like /usr/bin/bmon. This is the place where your executable is placed. Bmon might install also other resources e.g. manpages and a config file. Unfortunately, autotools based installed software does not provide a way to automatically remove them. So you might have to run find / -type f -iname "bmon*" to find everything on you file system. For the future, I would suggest to build software that are not installed by your systems package manager into a different place e.g. /opt.