TurnKey Linux Virtual Appliance Library

how to install gcc on LAMP

 I installed LAMP on vmware server 1.06 virtual machine with intention of running plone on it. There is no gcc installed however. I am not familiar with Ubuntu. Webmin doesn't seem to help. Can somebody tell me how to install gcc? Thank you.

I managed to install build-essential, which installed gcc, but I was surprised that apt-get repositories were not set up. Is it assumed that no software is installed on an appliance? I couldn't find an editor - is there a detailed list of software included in the appliance? What's the typical usage scenario? If you charge $5/month for EC2 deployment, for which I signed up shouldn't you include some rudimentary documentation? 

Liraz Siri's picture

Install build-essential

Yep, TurnKey Linux appliances include the minimum components needed to get the job done, so the build chain needs to be installed separately. That's easy enough though:
apt-get update
apt-get install build-essential

Doesn't work out of the box

 I had to create the file: /etc/apt/sources.list. Then I had to run apt-get update. Then the command worked.

Liraz Siri's picture

You didn't need to to create the sources.list

The package management sources are defined in /etc/apt/sources.list.d/ so you don't need to create your own sources.list file.

You are right about apt-get update though. Maybe we should find a place to document that. Better yet we'll patch the appliance so that the next release runs "apt-get update" on first boot.

Sorry I imagine this can be a bit confusing to someone who isn't familiar with Debian / Ubuntu.

Liraz Siri's picture

Added documentation

Roman, you've inspired me to add a page on "Installing additional software via APT" to the documentation. Thanks for the feedback!

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)