TurnKey Linux Virtual Appliance Library

LAMP Stack Appliance version 11.2 fails on php extensions for curl, xmlrpc, gd, intl

Hi all

Newbie questions, first time run Turnkey Linux via VMware ESXi. Not sure if this will be sufficient for anyone to point me in the right direction;

Welcome to Lamp, TurnKey Linux 11.2 / Ubuntu 10.04 Lucid LTS
System information (as of Sat Oct 01 15:55:56 2011)
    System load:  0.09              Memory usage:  19%
    Processes:    102               Swap usage:    0%
    Usage of /:   3.0% of 33.73GB

root@lamp ~# aptitude install php5-curl
-bash: aptitude: command not found

root@lamp ~# apt-get install php5-xmlrpc
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Couldn't find package php5-xmlrpc

root@lamp ~# apt-get install php-intl
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Couldn't find package php-intl

root@lamp ~# sudo apt-get install php5-gd
-bash: sudo: command not found

 

Many thanks, keep up the good work!
 

Jeremy's picture

A few things...

As you have seen:

  • aptitude is not installed by default
  • sudo is not installed by default (and as by default you log as root it is not required unless you want to have additional users with sudo rights)
  • apt-get update needs to be run prior to installing software via apt (apt-get update updates the apt package database).

So try running this:

apt-get update
apt-get install php5-curl php5-xmlrpc php-intl php5-gd

If that still doesn't work, check your networking and make sure you're not behind a firewall and/or a proxy.

You only really need to run apt-get update once for every session when you are installing software. If you wish to use aptitude instead of apt-get, just install that first with apt get install (after updating).

You can also check for packages using the apt-cache search command, eg:

apt-get update
apt-cache search php5

Will list all the packages that include php5 in their name. You can also search for packages via the Ubuntu Package Search webpage.

I am interested in the php-intl module

But it does not exist in lucid repositories, it is only available for the latest ubuntu. How can I add it ?

thanks in advance

Didier

Jeremy's picture

You could try just downloading the .deb

And see if it will install with dpkg -i but you'll need to make sure you install all the dependancies (using apt-get install) first and they may not be able to be fullfilled (because of version numbers). It may be best to check that they can be first. Or you could compile from source. This page will help regardless of which way you go.

thanks, I'll see what I can

thanks, I'll see what I can achieve.

Didier


Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)