2

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?

2

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
2
  • 1
    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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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