2

I want to remove program "fio" from my Ubuntu. First, tried

apt-get remove fio

but it did not work. Then I tried to find its package name by

whereis fio 
dpkg-query -S /usr/local/bin/fio

but dpkg-query says "no path found matching pattern /usr/local/bin/fio". Any suggestion would be appreciated.

6
  • 1
    How did you install the program? Files from Ubuntu packages (.deb files) are usually not installed in /usr/local/. Jan 15, 2015 at 16:45
  • Cannot remember! Probably using source code and make etc. Jan 15, 2015 at 16:47
  • 1
    I see it as an un-installed package. I am pretty sure now that I have installed from source code using ./configure && make && make install . Jan 15, 2015 at 21:56
  • Did you try to run make uninstall from the same directory as make install? Mar 10, 2015 at 0:48
  • 1
    possible duplicate of How do I install applications in Ubuntu?
    – Fabby
    Aug 23, 2015 at 13:29

1 Answer 1

1

Now the problem is moot, but for the future:

Always use the same removal method as the installation method.

Therefore, use the following priority in installing software

  1. Install/remove from the standard Ubuntu repositories using the GUI of the Ubuntu Software center.
  2. Use the TUI of aptitude
  3. apt-get install szPackageName to install and apt-get purge szPackageName to completely remove and apt-get remove szPackageName to remove the application, but not its configuration files.
  4. Download and install a .deb file: use dpgk --install szPackageName and dpgk --purge szPackageName and dpgk --remove szPackageName as above.
  5. So if you do download and build from source, use CheckInstall to be able to remove more easily in the future.
1
  • And as you're a reputation 1 user: If this all works, don't forget to click the grey check-mark under the "0" at the left of this text, which means "yes, this answer is valid"! ;-)
    – Fabby
    Jan 16, 2015 at 17:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .