HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - Install an rpm with all its dependencies in RHEL5
 
Operating System - Linux
        1840125
        Members
    
    
        2386
        Online
    
    
        110161
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
07-10-2007 12:52 AM
07-10-2007 12:52 AM
			
				
					
						
							Install an rpm with all its dependencies in RHEL5
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
Please suggest how to install an rpm and all its dependencies.
As far as I know, we can use the "rpm -ivh --aid" command.
However this does not seem to work on RHEL5.
I can use the up2date command to do this, but would like to use the local nfs repository of all the rpms instead.
On earlier version of Redhat, after installing rpmdb-redhat package we were able to use the --aid rpm option to install a package with all its dependencies.
However, rpmdb-redhat package does not seem to be available for RHEL5.
Thanks, 
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
Please suggest how to install an rpm and all its dependencies.
As far as I know, we can use the "rpm -ivh --aid
However this does not seem to work on RHEL5.
I can use the up2date command to do this, but would like to use the local nfs repository of all the rpms instead.
On earlier version of Redhat, after installing rpmdb-redhat package we were able to use the --aid rpm option to install a package with all its dependencies.
However, rpmdb-redhat package does not seem to be available for RHEL5.
Thanks,
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
07-10-2007 01:21 AM
07-10-2007 01:21 AM
			
				
					
						
							Re: Install an rpm with all its dependencies in RHEL5
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						--aid has been deprecated. Also, I believe that up2date no longer exists. Red Hat seems to have made a switch to yum. You could create your own repo of the dvd/cd media and use it.
					
				
			
			
				
		
		
	
	
	
	"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
07-10-2007 02:13 AM
07-10-2007 02:13 AM
			
				
					
						
							Re: Install an rpm with all its dependencies in RHEL5
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						http://searchenterpriselinux.techtarget.com/tip/0,289483,sid39_gci1244274,00.html
					
				
			
			
				
		
		
	
	
	
	"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
07-11-2007 09:14 PM
07-11-2007 09:14 PM
			
				
					
						
							Re: Install an rpm with all its dependencies in RHEL5
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						indeed, you will always need a repository, otherwise it will never work automaticly.
so it is no good just putting all the rpms in a directory and just using 'rpm -i' and thinking that will work.
yum is pretty sweet, it has one great advantage up2date does not have (or at least, i don't know about it) and that is the option '-localinstall'.
this enables you to install rpm's from outside the regular RH repos but yum will still resolve the dependencies for you.
anyway, setting up your own repo is not that hard. in fact it is good practise, certainly if you have a lot of RH servers around.
see here for example: http://www.webmo.net/support/yum_repository.html
		
		
	
	
	
so it is no good just putting all the rpms in a directory and just using 'rpm -i' and thinking that will work.
yum is pretty sweet, it has one great advantage up2date does not have (or at least, i don't know about it) and that is the option '-localinstall'.
this enables you to install rpm's from outside the regular RH repos but yum will still resolve the dependencies for you.
anyway, setting up your own repo is not that hard. in fact it is good practise, certainly if you have a lot of RH servers around.
see here for example: http://www.webmo.net/support/yum_repository.html
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP