Results 1 to 4 of 4

Thread: How to install .rpm file in Linux

  1. #1
    Join Date
    Nov 2008
    Posts
    97

    How to install .rpm file in Linux

    I had completed my installation for Linux OS, it has absolutely no problem but when i try to run certain application it asks for .rpm file, i have mandrake linux 10 when i check for the files on the Linux CD if found one or two files but i am facing lots of problem regarding installation softwares in linux especially for .rpm files only, how to install these files please help.

  2. #2
    Join Date
    Oct 2008
    Posts
    117

    Re: How to install .rpm file in Linux

    rpm is a powerful Package Manager for Red Hat, Suse and Fedora Linux. It can be used to build, install, query, verify, update, and remove/erase individual software packages. Type the following on the command line;

    man rpm


    That should give you a nice little manual page about the rpm command. There are actually lot of commands but it is not necessary to mentioned all over here, you just check as per your requirement and do the needful.

  3. #3
    Join Date
    Oct 2008
    Posts
    68

    Re: How to install .rpm file in Linux

    You may also download the RPM viewer for your requirement it will also help you to solve your problem. Trial version for RPM viewer is available on the internet, here i will provide you some information regarding .rpm command which may help you.

    rpm -ql foo
    To list files in installed package. This command will list all of files in an installed RPM package. It works only when the package is already installed on your Linux system.

    rpm -qf {/path/to/file}
    Find out what package a file belongs to i.e. find what package owns the file.
    rpm -qf /etc/passwd
    rpm -qf /bin/bash

    To upgrade a RPM package. Using this command, RPM automatically uninstall the old version of the foo package and install the new package.

  4. #4
    Join Date
    Oct 2008
    Posts
    117

    Re: How to install .rpm file in Linux

    You need to Install a package
    rpm –ivh packagename
    Then upgrade the following package
    rpm –Uvh packagename
    Then you need to create a tar file
    tar –cvf myfiles.tar mydir/

    Then this would be the standard install from source
    tar –xvzf Apackage.tar.gz
    cd Apackage./configure
    Once this is done the installation file will be ready and you can make the installation.

Similar Threads

  1. What should I install 32-bit or 64-bit Linux
    By mewlyo in forum Operating Systems
    Replies: 4
    Last Post: 26-12-2010, 03:27 AM
  2. How to install .msi file in Linux
    By SANG18 in forum Operating Systems
    Replies: 5
    Last Post: 01-01-2010, 04:56 PM
  3. i need help to install linux red hat on my pc.
    By mayank27 in forum Operating Systems
    Replies: 1
    Last Post: 04-08-2009, 10:18 PM
  4. How to install linux on your ps3
    By Radley in forum Tips & Tweaks
    Replies: 2
    Last Post: 20-07-2009, 03:25 PM
  5. Install linux without a CD-Rom
    By Jocelyn_g in forum Operating Systems
    Replies: 5
    Last Post: 08-05-2009, 10:30 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,494,743.17378 seconds with 17 queries