LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-26-2010, 10:25 PM   #1
lobo2928
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
2. What does rpm –Uvh package.rpm do?


2. What does rpm –Uvh package.rpm do?
 
Old 07-26-2010, 10:33 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
man rpm

-U upgrades or installs a package to a newer version AND removes all other versions
-v gives you the output as the command is working
-h makes the display tidier by putting progress markers as the package is unpacked.
 
Old 07-27-2010, 07:17 AM   #3
lobo2928
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thank You Smoker

Thank you
 
Old 07-27-2010, 07:24 PM   #4
rahulkya
Member
 
Registered: Feb 2009
Location: New Delhi
Distribution: Linux mint,Ubuntu,Debian,RHEL 5,slackware 13.1, free BSD,solaris.
Posts: 186
Blog Entries: 3

Rep: Reputation: 33
if it is solved( i think) please mark it as a solved thread...

rahulkumar07
 
Old 07-27-2010, 08:35 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
this sounds like homework for a red hat class
please read the rpm man page
Code:
man rpm
 
Old 07-27-2010, 11:57 PM   #6
saifkhan123
Member
 
Registered: Apr 2009
Distribution: Red Hat/CentOS
Posts: 108

Rep: Reputation: 19
One suggestion for all the members, kindly do not solve homework type queries for the New Users, otherwise they won't be able to learn i think!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm -ivh vs. rpm -Uvh Eklipz Fedora 6 12-02-2013 01:51 AM
RPM -Uvh variable bspooner Red Hat 1 06-08-2010 01:55 PM
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
Is there an rpm for mozilla 1.5 so I can do -Uvh? Can't remove 1.2.1 so I can use tar RedHatMasta Linux - Software 3 01-17-2004 09:09 AM
rpm -Uvh or -ivh? chri5 Linux - Newbie 1 11-16-2003 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration