Find the answer to your Linux question:
Results 1 to 5 of 5
How can i uninstall an RPM. How can i know where and wat install in my system. Thanks....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Zig
    Zig is offline
    Just Joined!
    Join Date
    Jun 2003
    Posts
    35

    uninstalling RPM


    How can i uninstall an RPM. How can i know where and wat install in my system. Thanks.

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    To uninstall an RPM by package name, use "rpm -e packagename". To find out what package a certain file belongs to, use "rpm -qf /path/to/file". To list all files belonging to a package, use "rpm -ql packagename". To list all packages installed on the system, use "rpm -qa". The last is useful in conjunction with grep, eg. "rpm -qa | grep -i php" will list all packages with php in their names.

  3. #3
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    Yea, RPM did have that feature where you can see which package a software came from. I wonder if dpkg or apt has that feature. It's time for the man pages.
    The best things in life are free.

  4. #4
    Linux User
    Join Date
    May 2003
    Location
    Hong Kong, China
    Posts
    256
    when you uninstall, make sure you noe the software dependencies issue.
    Signature removed by moderator - please see forum rules

  5. #5
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    Use

    Code:
    rpm -e
    to uninstall a rpm-package and

    Code:
    rpm -qa | grep packagename
    this is for guery the rpm-database.

    Regads
    Regards

    Andutt

Posting Permissions

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