Problems with Terminal

[email protected]:~# apt-get install
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[email protected]:~# php5 php5-cli php5-mysql mysql-server php-pear php-db openssh-server
The program ‘php5’ is currently not installed. You can install it by typing:
apt-get install php5-cli
bash: php5: command not found
[email protected]:~# curl sox apache2 subversion build-essential libncurses5-dev libssl-dev
The program ‘curl’ is currently not installed. You can install it by typing:
apt-get install curl
bash: curl: command not found
[email protected]:~# linux-headers-uname -r libmysqlclient15-dev
bash: linux-headers-2.6.28-11-generic: command not found
[email protected]:~# apt-get install php5 php5-cli php5-mysql mysql-server php-pear php-db openssh-server
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5
libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libhtml-template-perl
libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0
mysql-common mysql-server-5.0 mysql-server-core-5.0 php5-common
Suggested packages:
apache2-doc apache2-suexec apache2-suexec-custom dbishell
libipc-sharedcache-perl mysql-doc-5.0 tinyca mailx rssh molly-guard
openssh-blacklist openssh-blacklist-extra php5-dev php4-dev
The following NEW packages will be installed:
apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5
libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libhtml-template-perl
libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0
mysql-common mysql-server mysql-server-5.0 mysql-server-core-5.0
openssh-server php-db php-pear php5 php5-cli php5-common php5-mysql
0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
Need to get 47.0MB of archives.
After this operation, 142MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Abort.
[email protected]:~#

It wont let me install it keeps saying abort after i say yes…what am i doing wrong??

im using this guide http://www.freepbx.org/support/documentation/installation/install-process-for-ubuntu-6-06

the part that wont work is when i do this apt-get install
php5 php5-cli php5-mysql mysql-server php-pear php-db openssh-server
curl sox apache2 subversion build-essential libncurses5-dev libssl-dev
linux-headers-uname -r libmysqlclient15-dev

any help is appreciated…

Followup

I ended up just installing each apt individually…but now im really really confused with this guide… whats the next step after i installed all of these

apt-get install
php5 php5-cli php5-mysql mysql-server php-pear php-db openssh-server
curl sox apache2 subversion build-essential libncurses5-dev libssl-dev
linux-headers-uname -r libmysqlclient15-dev

Now from reading the guide provided above…i dont know what my next steps are.

Thanks for any help in advance