Pages

Wednesday, August 8, 2012

RPM Install with automatic dependency

Install the RPM with Auto Dependency.

         While install the RPMs, most of the time we face the dependency issue. here is the solution to resolve the dependency issue.
                   
                  Mount the Installation Media to the CDROM, CD to the packages path and type the command to install automatically install with dependency.
# rpm -ivh --aid gcc4-4.1.0-18.EL4.i386.rpm
warning: gcc4-4.1.0-18.EL4.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:glibc-kernheaders ########################################### [ 20%]
2:glibc-headers ########################################### [ 40%]
3:glibc-devel ########################################### [ 60%]
4:libgomp ########################################### [ 80%]
5:gcc4 ########################################### [100%]


      If we don't actually bother about dependency then follow this command.

# rpm -ivh gcc4-4.1.0-18.EL4.i386.rpm --nodeps

No comments:

Post a Comment