Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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
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
add comment

Your Answer

 
discard

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.