Forum: 

how to install gcc on LAMP

Roman Budzianowski's picture

 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

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
Roman Budzianowski's picture

 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

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

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