English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How do I install/configure these on ubuntu? I keep following the commands however I keep getting the error: C compiler cannot create executables
any idea whats up?? Im new to linux so it might just be something REALLY simple!!

2007-06-19 00:11:45 · 5 answers · asked by Greg S 3 in Computers & Internet Programming & Design

Like I said I'm REALLY new to linux so another quick q!! tried that suggestion but I now get:
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

2007-06-19 00:25:56 · update #1

5 answers

I wouldn't install from source code. Just:

apt-get install libapache2-mod-php5

And let the package management system sort it out. You'll get the latest versions that have been packaged up for Ubuntu, which are usually pretty recent. It is unlikely you need that exact version of apache.

2007-06-19 00:15:30 · answer #1 · answered by David D 7 · 0 0

David is absolutely right. Stay clear of source. One of the great things about ubuntu is the package management stuff

You may also need a sudo in front of the apt-get since by default ubuntu doesn't encourage you to be root.

sudo apt-get install

When it asks you for a password, enter you normal password

This will give the 'apt-get' command root privileges to do the installation.

The other thing about apt-get is that it will config apache and php (and if you install it mysql) for you so the servers start up automatically.

2007-06-19 00:40:57 · answer #2 · answered by baldric_the_question_answerer 2 · 0 0

Like was stated by others you need to be root in order to install
I believe ubuntu doesn't by default allow you to 'su' it wants you to 'sudo' instead. a way to get around this is to 'sudo passwd'
then enter a root password and confirm it. Then you can 'su' like any other linux system. Also if you are new it might be easier to use the GUI front end to apt. it is called 'synaptic'. try typing
'sudo synaptic' if it is not installed then type
'sudo apt-get install synaptic' and it will install it, but I think it is included in the default install. Good Luck :)

2007-06-19 02:55:03 · answer #3 · answered by Anonymous · 0 0

Use the apt-get as stated above.. Before your do.. type su root and enter the root password.

That way your are running as root to allow the installation.

2007-06-19 00:56:11 · answer #4 · answered by Tracy L 7 · 0 0

desirable thank you to earnings linux is to objective it...it is value and could run element by utilizing skill of element with your present day OS. you could create an instant social gathering of a LAMP server making use of XAMPP...ameliorations exist for the two residing domicile windows and linux. Books are a lifelike thank you to earnings...bit boring, yet optimal smart a as a reference for advice i could connect a Linux magazine and watch Linux academic video clips connect the debate board of the extremely distro you have an activity in and seek for/ask for help as quickly as you % on it...as promptly as you be attentive to adequate you could initiate helping others.

2016-10-18 00:23:12 · answer #5 · answered by ja 4 · 0 0

fedest.com, questions and answers