Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing bmon #106

Open
Wcarn1 opened this issue Jul 31, 2024 · 5 comments
Open

Removing bmon #106

Wcarn1 opened this issue Jul 31, 2024 · 5 comments

Comments

@Wcarn1
Copy link

Wcarn1 commented Jul 31, 2024

How to remove bmon from the Ubuntu command line?

@blastmaster
Copy link
Contributor

blastmaster commented Jul 31, 2024 via email

@Wcarn1
Copy link
Author

Wcarn1 commented Aug 1, 2024

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
Copy link
Contributor

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
Copy link
Author

Wcarn1 commented Aug 6, 2024

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

@blastmaster
Copy link
Contributor

blastmaster commented Sep 13, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants