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.

user3684042
  • 153
  • 1
  • 5

1 Answers1

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.
Fabby
  • 34,259
  • 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 '15 at 17:57