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 am completely new to Linux/Ubuntu and command-line. At work I needed to install gearman server and workers on an Ubuntu 11.10 Rackspace box. I ran this command apt-get install gearman-job-server to install the server but it installed version 0.14 which is outdated from many years ago. Is there a way I can just upgrade the package to the latest via command line?

share|improve this question
up vote 2 down vote accepted

Each version of Ubuntu has a fixed set of packages and only minor version updates are provided by default package updater. Default apt-get can not install newer major version, to use the latest version, you must install it manually.

To manually install gearman-job-server, you can either compile and install it from source (instructions) or use the ppa:

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:gearman-developers/ppa
sudo apt-get update
sudo apt-get install gearman-job-server gearman-tools

but remeber to remove the old version first:

sudo apt-get remove gearman-job-server
share|improve this answer
Thanks for your help. I was able to get everything working. – Jared Eitnier Jan 23 '13 at 17:03
You may also need libgearman-dev if you want to install pecl extension for PHP – Hari K T Oct 15 '13 at 6:49

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.