I am trying to install package libfabric1, and I've perform apt-get update but still no success.

So I think the reason apt-get can't locate package may due to the repository not listed in the /etc/apt/sources.list.

So given a package, how do I know which repository to add in my sources.list ?

  • 2
    I don't see the package available for 14.04 (trusty) - packages.ubuntu.com/… – guiverc Mar 13 at 22:29
  • If you want to add a repo you're better off going through the 'Software & Updates' application > Other Software as it's less error prone. As for finding a repo that contains it, you can try searching the interwebs if it's not in any of the standard Ubuntu repos already. Just be careful with 3rd party repos. – Steve Mar 13 at 22:31
  • I am using the ubuntu 16.04, so my question is really (newbie), say, I want to install package pmdk, and my apt-cache shows nothing, how do I proceed next ? On the installation tutorial, it seems like this can be done through apt-get, so I assume there is a repository for this package ? – user2386301 Mar 13 at 22:34
  • Your question states 14.04 and not 16.04. If you're asking a new question, it should be put as a new question and not a comment. The link I provided can be used to search the database of available packages needing only a browser & no command knowledge (you can of course search by commands, but browser is newbie friendly albeit slower) – guiverc Mar 13 at 22:40
  • 1
    Install a bionic (18.04) package on a 14.04 system is not advisable for a newbie. If you look at that page it'll force the dependencies to be upgraded too, which may create a mess of a system . This is beyond a newbie level, and 14.04 will EOL next month, so you'll be upgrading anyway soon if not moving to 14.04 ESM – guiverc Mar 13 at 22:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.