How Do I Locate a Package in Ubuntu?
Contents

How do I find where a Linux package is installed?

Possible Duplicate:

  1. If your distribution uses rpm , you can use rpm -q –whatprovides to find the package name for a particular file and then rpm -q -a to find out what files a package installed. – …
  2. With apt-get , if the package is installed use dpkg -L PKGNAME , if it isn’t use apt-file list . –

How do I fix Ubuntu unable to locate a package?

Fixing ‘Unable to locate package error’ on Ubuntu

  1. Check the package name (no, seriously) This should be the first thing to check. …
  2. Update the repository cache. …
  3. Check if package is available for your Ubuntu version. …
  4. Check if you are using an active Ubuntu release.

22 февр. 2021 г.

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest