Results 1 to 3 of 3

Thread: How to install all rpms together

  1. #1
    Member
    Join Date
    Aug 2011
    Posts
    38
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Post How to install all rpms together

    hi,

    There are some rpm's in a directory(/root/Desktop/chandu) and i want to install all the rpms at a time so i used ( rpm -ivh *.rpm) then it installed which is not installed then it has warned me package is already installed then how to upgrade and install all rpm's at a time.

  2. #2
    Junior Member
    Join Date
    Feb 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    You could probably try doing something like this:

    Code:
    find /root/Desktop/chandu -name *.rpm --exec echo rpm -Uvh {} ;/
    This would find any filename in /root/Desktop/chandu with .rpm at the end of the file, it would then echo out the commands to update the packages (I'm sure when you issue the -U flag if the package is not installed then it will install anyway). I normally run this command with the echo after the exec to see what will be run. When I am sure that it is doing what I need it to do I remove the echo and see what happens. If you run the above and post back your results I can have a look if you would like me to.

    R

  3. #3
    Junior Member BoogY's Avatar
    Join Date
    Feb 2013
    Posts
    3
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    0

    Default

    It is recommanded to use

    Code:
    yum localinstall
    rather tha rpm.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Finding RPMs
    By cryingthug in forum CentOS / RHEL / Fedora
    Replies: 3
    Last Post: 20th May 2010, 10:18 PM
  2. find out which rpms are installed
    By in forum Linux software
    Replies: 1
    Last Post: 10th January 2006, 12:25 PM
  3. Installing software Source RPMs
    By redhatnoob in forum Linux software
    Replies: 2
    Last Post: 24th December 2005, 12:20 AM

Tags for this Thread

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41