I can't find size of Ubuntu Lamp Server under packages - Please Help?

Asked by Christine

Hello,

I want to install Lamp (Apache, PHP, MySQL) on my Ubuntu Jaunty Desktop Edition 32 bit PC.

There are many tutorials online showing how to do the installation, but I am unable to ascertain the size of the LAMP package. I have been to http://packages.ubuntu.com but I am unable to find the relevant package.

My mobile internet connection is not always reliable and I pay for every MegaByte, therefore I do need to ascertain the size of the relevant package before downloading.

Questions:
1) Where can I go to find out the size of the Lamp Package that is retrieved from the repository and installed via Synaptic?
2) (My Linux computer is not connected to the internet due to modem driver issues.) If possible, I would prefer to download the Lamp Package from the internet ( http://packages.ubuntu.com ) using my Windows PC, and then write the appropriate Lamp Package to CD. Is this possible? If so, can somebody please provide me with the url where I can download the package?

I look forward to your help.

Thank you.

Best Regards,
Christine

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ernst Zlo (ernst-zlo) said :
#1

I'm no big help in this case, but as far as I know LAMP is no package, it's only an available choice, while setting up an Ubuntu server. (besides mailserver etc.)

I always installed Apache, PHP, MySQL 'by hand'.

Search for the metapackages

apache2
php5
mysql-server

in the Synaptic

hope this can help you to get a step forward ...

Revision history for this message
Ernst Zlo (ernst-zlo) said :
#2

hmm always in 2 posts (sorry for that)

When you right click in the Synaptic on mysql-server and chose properties, there is a line with the file size
But be careful, if you right click on a metapackage it will tell you the size of that meta-package. (not the needed parts!)

So to find out the complete download size you have to:
mark the above metapackages for installation.
Save those into a file ("file" "save markings as") LAME on your Desktop
DON'T klick on the Apply button but CLOSE the Synaptic
Open that file LAME on your Desktop and search for all parts with right click in the synaptic again.

I really hope for you, that someone else has a better method, but with this method you find out what parts really are needed on your Ubuntu PC. (some of them allready could be there, so it's no use when I send you my "LAME")

Besides: have you ever thought about connecting your Ubuntu PC to your Windows PC and use the internet-connection of your Windows PC ?

Revision history for this message
pablitofuerte (pablitofuerte) said :
#3

For me the easiest way to install LAMP is using tasksel:
https://help.ubuntu.com/community/Tasksel#Installation

So it would be as simple as ...

sudo tasksel install lamp-server

For complete options, see the tasksel manpage:
man tasksel

 You can either do it with Synaptic:
 Open Synaptic ... Edit .... Mark packages by task ---- "LAMP Server"

You can see a visual HOWTO: http://www.blazingmoon.org/guides/k3-on-u810-3.html

As said above LAMP-SERVER is no package, its a task (with many packages: apache2, php5, mysql-server and dependecies as Ernst Zlo said)
Ej:
$ sudo tasksel --task-packages lamp-server
mysql-server-core-5.0
libwrap0
apache2
mysql-client-5.0
tcpd
libapache2-mod-php5
apache2.2-common
apache2-utils
php5-common
libaprutil1
php5-mysql
libmysqlclient15off
libdbi-perl
mysql-server
libplrpc-perl
mysql-server-5.0
libdbd-mysql-perl
libhtml-template-perl
libnet-daemon-perl
libapr1
libpq5
ssl-cert
apache2-mpm-prefork
mysql-common

- You can download all those packages from your Ubuntu machine with apt-get or aptitude:

$ sudo aptitude download mysql-server-core-5.0 libwrap0 apache2 mysql-client-5.0 tcpd libapache2-mod-php5 apache2.2-common apache2-utils php5-common libaprutil1 php5-mysql libmysqlclient15off libdbi-perl mysql-server libplrpc-perl mysql-server-5.0 libdbd-mysql-perl libhtml-template-perl libnet-daemon-perl libapr1 libpq5 ssl-cert apache2-mpm-prefork mysql-common phpmyadmin

I would be downloaded to your home directory. Once downloaded you can move then to /var/cache/apt/archives/ to install them with the instruction above "sudo tasksel install lamp-server".

I can't say the size of Ubuntu Lamp-Server (all those packages)

Maybe you could be interested as well on Apache-and-friends webpage the LAMPP (renamed it to »XAMPP for Linux, and with many more features like ProFTPD, Webalizer, phpmyadmin, etc) they have a vesión XAMPP Linux 1.7.2 63 MB, so the download should be less than that amount.
http://www.apachefriends.org/en/xampp-linux.html#374

- If you prefer to do it from your windows machine I'm affraid you will have to search all those packages by hand in http://packages.ubuntu.com/jaunty/allpackages (one by one, use Ctrl+F to search) and download them (if anybody doesn't have a better idea) and then place them on your Ubuntu /var/cache/apt/archives/ directory to install them.

Revision history for this message
pablitofuerte (pablitofuerte) said :
#4

Sorry, just one correction (for making your life easier). Before downlading all those files place yourself in /var/cache/apt/archives/:

cd /var/cache/apt/archives/

With this all those packages will be downloaded to your /var/cache/apt/archives/ directory (so you don't have to move anything) and then ...

sudo aptitude download mysql-server-core-5.0 libwrap0 apache2 mysql-client-5.0 tcpd libapache2-mod-php5 apache2.2-common apache2-utils php5-common libaprutil1 php5-mysql libmysqlclient15off libdbi-perl mysql-server libplrpc-perl mysql-server-5.0 libdbd-mysql-perl libhtml-template-perl libnet-daemon-perl libapr1 libpq5 ssl-cert apache2-mpm-prefork mysql-common phpmyadmin

Hope that helps.

Can you help with this problem?

Provide an answer of your own, or ask Christine for more information if necessary.

To post a message you must log in.