Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I started playing with ubuntu server edition. I'm still extremely new to ubuntu, but I can't seem to figure this problem out. I am running Ubuntu 12.04 LTS server. I need to use htpasswd to generate some password hashes, but bcrypt is supported only in apache2-utils 2.4.

The latest version of this package is 2.2.22 in ubuntu 12.04 repository. I don't want to install it by source since that is extremely messy and hard to remove it in the future.

Is there an official ppa by apache to get the latest version? Or is there a another relatively easy and secure way of updating to the latest?


share|improve this question

I was going to leave this as a comment, but I don't have enough rep to post a comment. So I will write it as an answer. This might help your cause or might not or maybe you have already found another solution. In any case, here is my solution. Adding a ppa that carries the latest package you are looking for. You can find one that fits your need. Or you can add this one, ppa:ondrej/php5. I use this ppa to stay up to date with php, but he started adding latest apache as well. Hope it helps, you or anyone else that might be looking for an answer. Thank you.

add-apt-repository ppa:ondrej/php5
share|improve this answer

Repositories are not the only way to install. You can also use Gdebi. Get the .deb from And use Gdebi to install it. (You might have to uninstall 2.2 first).

share|improve this answer
You should not mix debian and ubuntu packages! – Braiam Aug 28 '13 at 10:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.