PDA

View Full Version : [ubuntu] LAMP-SERVER not on Desktop?



Bartly
January 31st, 2010, 05:16 AM
Just installed 9.10. Wanted to instal LAMP but sudo apt-get install lamp-server^ returned
barry@barry-laptop:~$ sudo apt-get install lamp-server^
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
E: Couldn't find task lamp-server

Also use used this:
barry@barry-laptop:~$ sudo apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package apache2

Is something wrong or does the desktop distro not come with these packages? I read a couple articles that this should work on desktop.

Bartly
January 31st, 2010, 05:18 AM
Oops, sorry folks, thought this meant desktop edition vs. server, but apparently this forum means desktop enviros. I'll repost.

mcduck
January 31st, 2010, 08:59 AM
try this:


sudo tasksel install lamp-server

Lars Noodén
January 31st, 2010, 12:11 PM
E: Couldn't find package apache2


It looks like your machine does not have any of the Ubuntu repositories available (https://help.ubuntu.com/community/Repositories) for the package manager or that you are offline or something.

Once the repositories are available, you should be able to see that the package is spelled correctly using apt-cache:



sudo apt-get update
apt-cache search apache2

rlj1965
January 31st, 2010, 11:36 PM
Have you added the required repositories?