Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I tried to remove an installed program using rm -rf prog_name but it seemed that its shared files were not removed. How can I remove this? Is there any ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    10

    how to remove installed programs including their shared libraries


    Hi,

    I tried to remove an installed program using

    rm -rf prog_name

    but it seemed that its shared files were not removed. How can I remove this? Is there any command that will remove all the files related to the prog that is to be deleted?

    thanks,

    noldar

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    You should not delete installed packages and avoid rm -rf command. Use Package Manager to Un-install packages.

    Which Linux distro are you using?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    2,003

    distros remove

    if you are using any of the "easier" distros there's typically an easy command. For Ubuntu if you type sudo apt-get remove ProgramName it will do what you are looking for. I believe most other distros have something similar.

  4. $spacer_open
    $spacer_close

Posting Permissions

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