Visit Our UNIX and Linux User Community


How to update all rpms using single command option


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat How to update all rpms using single command option
# 1  
Old 08-03-2009
How to update all rpms using single command option

Can any one help me to know the command option that will update all rpms

Thanks in advance..
# 2  
Old 08-03-2009
If you had all the updated RPM files in your current folder you can run something like:
Code:
# rpm --freshen -vh *.rpm

By using freshen option to the rpm command then only the RPMs you have installed will get updated, RPMs in the folder for software that you do not have installed will not get applied, very useful.
# 3  
Old 08-04-2009
Thank u...Smilie Tony

Previous Thread | Next Thread
Test Your Knowledge in Computers #456
Difficulty: Easy
An application programming interface (API) is a graphical-based interface for viewing client-server data.
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

What is RPMs?

Would you please give us the definition and usage of RPMs in linux? thanks to reply.... (1 Reply)
Discussion started by: jaydul
1 Replies

2. Shell Programming and Scripting

Update single line

Hi everyone i need one help don't know whether it is simple or difficult but not able to solve it. here is the problem suppose my code is time_def=3 r=0 while ] do echo "time left is $time_def " ((time_def=time_def-1)) done and the output is time left is 3 time left... (6 Replies)
Discussion started by: aishsimplesweet
6 Replies

3. UNIX for Dummies Questions & Answers

Building single rpm from 2 different rpms?

Hi all, I have to automate server installation. For this its needed to install 2 - 3 different RPMs. Is there any way of creating a single rpm from these two rpms? How the spec file will look like? thanks... (0 Replies)
Discussion started by: zing_foru
0 Replies

4. Solaris

Update single zone in alternate boot environment.

I 'm having a weired situation my system has 8 zones, running fine on solaris x86_u4. I installed the live upgrade bundle patch and did a live upgrade. The new BE was created but it missed one of the zone and now if i mount the new BE i do not see that zone in the environment so my question is how... (3 Replies)
Discussion started by: fugitive
3 Replies

5. Shell Programming and Scripting

-F option and - V in a single awk statment

Please let me know if I can use -F option and - V in a single awk statment. I want to import some comma separated shell variables using -F option and defining some static variables inside awk using -v option. (2 Replies)
Discussion started by: kalee
2 Replies

6. Solaris

patch update with single user mode

Hi All, How do I execute patch update on a single user mode? Please give me the steps by step procedures? Is single user mode the same as run level 1? Thanks. (2 Replies)
Discussion started by: itik
2 Replies

7. Red Hat

get default rpms on RH4 for Oracle 9i

Hi all, please advise. i need to install Oracle 9i database on RHES4 and i've totally screwed up with RPMs trying to install the wrong (i386) on 64bit machine. my question is: how do i can get back to the whole default bunch of RPMs and start from the beginning? (1 Reply)
Discussion started by: MarGur
1 Replies

8. Shell Programming and Scripting

How to update a single row in a file with sed

Hi. I want to be able to update only one line in a file that matches a key using sed, but I can't seem to get this (the key is right at the beginning of each row) Here is what I have tried so far, but every row is being updated. I want the end result to be that the input file only has the single... (6 Replies)
Discussion started by: brendanf
6 Replies

9. UNIX for Dummies Questions & Answers

option for ls command

i'm using SunOS 5.7 and I know theres a ls option for seeing what kind of files are in a directory. I was wondering if there was a ls option that could see if the files are txt or files that can be opened in vi (1 Reply)
Discussion started by: eloquent99
1 Replies

10. UNIX for Dummies Questions & Answers

rpms vs make

Ok, this is probably a real simple question....I have RH 7.1 and i wanted to know do I have to install the RPM packages for software or can i use the binaries and do make ...make install. ?? (6 Replies)
Discussion started by: macdonto
6 Replies

Featured Tech Videos