Need help updating openssl to 1.0.1g on Ubuntu 12.04

Greetings,
I would like to upgrade openssl on my Ubuntu 12.04 server to version 1.0.1g.

ItTried apt-get update and apt-get upgrade, but after that I did a "openssl version" command and got this:

OpenSSL 1.0.1 14 Mar 2012

So then I tried "sudo apt-get install openssl"

This is the result:
openssl is already the newest version.
The following package was automatically installed and is no longer required:
  libtommath0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

But when I do a "openssl version" , I still get this:
OpenSSL 1.0.1 14 Mar 2012

If anyone could tell me how to upgrade to 1.0.1g I would really appreciate it (and of course will award 500 points too!)

Thanks in advance!
bradberAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
1.0.1g is not available for Ubuntu 12.04 but a different fix is available on this page: http://www.ubuntu.com/usn/usn-2165-1/
Dave HoweSoftware and Hardware EngineerCommented:
that is correct output for 1.0.1g.

to check the required version is installed, instead run:
openssl version -a

Open in new window

This should show
built on: Mon Apr  7 20:33:29 UTC 2014

alternatively, check the package itself with dpkg:
dpkg -l | grep openssl

Open in new window

This should show:
ii  openssl  1.0.1-4ubuntu5.12

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bradberAuthor Commented:
Thank you Dave,  that is what I needed to know. I do have the updated version installed, it was the Mar 2012 part that was throwing me off, I should have read further.
OpenSSL 1.0.1 14 Mar 2012
built on: Mon Apr  7 20:33:29 UTC 2014
Dave HoweSoftware and Hardware EngineerCommented:
Yeah. debian maintainer was clumsy in updating the package, left the old version data intact.

Threw me off when I first updated too, had to go check twice...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.