type on command line
sudo dpkg --get-selections | grep apache
it will display below
apache2 install
apache2-doc install
apache2-mpm-prefork install
apache2-utils install
apache2.2-common install
libapache2-mod-auth-mysql install
libapache2-mod-php5 install
after that type this command to remove packet
sudo apt-get remove apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-auth-mysql libapache2-mod-php5
if have more packet you can add more command with sudo apt-get remove "packet "
when you ENTER you will get warning following this
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
ttf-wqy-zenhei ttf-kannada-fonts libaccess-bridge-java libmcrypt4 libt1-5 ttf-telugu-fonts rhino ttf-oriya-fonts dbconfig-common ttf-bengali-fonts
php5-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2.2-common jetty libapache2-mod-auth-mysql libapache2-mod-php5 php5 php5-curl php5-gd
php5-mcrypt php5-mysql phpmyadmin
0 upgraded, 0 newly installed, 14 to remove and 1 not upgraded.
After this operation, 39.1MB disk space will be freed.
Do you want to continue [Y/n]? y
it will ask you, do you want to remove? you can type y and ENTER
ไม่มีความคิดเห็น:
แสดงความคิดเห็น