2

I'm using Ubuntu 11.10, which has libmongodb-perl 0.39-1 available through apt-get. I see that version 0.45 is availble in the "precise" (12.04) universe.

How can I update apt to install version 0.45 of this driver?

Eric Wilson
  • 1,016

2 Answers2

1

You can easily download a single .deb package from any series. In your case the steps will be:

  • Go to http://packages.ubuntu.com
  • Search for package libmongodb in precise
  • Select appropriate result.
  • In section Download libmongodb-perl click on the desired architecture.
  • Choose mirror (or click on any of them). The download will start.
  • Install the downloaded .deb file. Either:
    • open it with Ubuntu Software Center, or
    • use sudo dpkg -i file.deb

Similar procedure works for any package you want. Good luck!

0

If that is where the package is at and you want to add the package with apt-get then you need to add the repository to your sources list.

deb http://archive.ubuntu.com/ubuntu precise universe
deb-src http://archive.ubuntu.com/ubuntu precise universe

Then run sudo apt-get update then install the package required.

Be warned, as this may have undesired effects on the system and related packages.

Ringtail
  • 16,285