Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all i installed php5 using the command bellow: apt-get install php5 but how can i remove it? i tried to use this command: apt-get remove php5 but it tells ...
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Posts
    6

    how to remove package??

    Hi all

    i installed php5 using the command bellow:

    apt-get install php5

    but how can i remove it?

    i tried to use this command:
    apt-get remove php5
    but it tells me that the php5 is not installed.. how can i remove php5 ?

    and what about the .gzip and tar files that i extract them to /usr/local/ and install them using make and make install....how can i remove them? is it just by removing them using rm -rf or what?

    thanx in advance...

  2. #2
    Linux User
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    401
    try this to check if a package is installed:

    Code:
    dpkg -l | grep php5
    If it outputs a double i (ii), it means the package is installed.

    About packages compiled manually, you should be able to uninstall the software doing

    Code:
    make uninstall
    When using Windows, have you ever told "Ehi... do your business?"
    Linux user #396597 (http://counter.li.org)

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Location
    Czech Republic
    Posts
    35
    php5 is just a meta-package. Try removing php5-common as well.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •