Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, My platform is fc8 X86_64. I'm going to install p7zip, so I downloaded a rpm for it, the file name was ``p7zip-4.51-3.fc8.x86_64.rpm''. I used the command --- #rpm -ivh ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    2

    A question about RPM : is this software installed after all?


    Hi,

    My platform is fc8 X86_64. I'm going to install p7zip, so I downloaded a rpm for it, the file name was ``p7zip-4.51-3.fc8.x86_64.rpm''. I used the command
    ---
    #rpm -ivh p7zip-4.51-3.fc8.x86_64.rpm
    Preparing... ########################################### [100%]
    package p7zip-4.51-3.fc8 is already installed

    ===
    to install it, and as you see, the system said it was installed. But, when I verified if it is really installed, as shown below, the system said that it was not installed.
    ---
    # rpm -q p7zip-4.51-3.fc8.x86_64.rpm
    package p7zip-4.51-3.fc8.x86_64.rpm is not installed
    ===

    Can any one tell me what is happening?

    thanks in adv.

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    HI julianLiu, Welcome to LinuxForums.
    Try using just the package name when querying rpm packages.
    rpm -q p7zip
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Once you have installed an rpm package, you simply use the name of the package for most operations and omit the "rpm" extension. You can also omit version numbers, except for kernels (specifically if you have multiple kernels installed).

  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
  •