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?
You can easily download a single .deb package from any series. In your case the steps will be:
Similar procedure works for any package you want. Good luck!
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.
Be warned, as this may have undesired effects on the system and related packages.