LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install dependencies in Red Hat via command (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-dependencies-in-red-hat-via-command-4175462782/)

saybash 05-20-2013 09:11 PM

How to install dependencies in Red Hat via command
 
Hi Everyone,

I am new to Linux. I wanted to install a software, and it gave me a message that it needs a certain dependency. I was able to download the dependency on a LInux that had Gui interface, and make it work.

My question is. HOw can i Download a dependency via Command Line? Do i need to connect to a website via command line, and download it?

some advise on this would help.

Thanks in advance,

cortman 05-20-2013 09:17 PM

Yum handles dependencies automatically.

Code:

yum install package_name
Why not use it?

John VV 05-20-2013 09:21 PM

First red hat is not a free operating system .
You have to buy the required support contract ( no way around that )
https://www.redhat.com/apps/store/desktop/

then you have to register the install with red hat ( handy desktop icon for this )

then you use "yum" to install software from the RHN repo
yum takes care of getting and installing dependencies
see the help and manual page
Code:

su -
----- your root password when asked for --------
yum --help
----- and this manual page -----
man yum

hit the "q" to exit the manual

it you did not buy the license or not going to .Then install the free rebuild of rhel
CentOS 6.4


Centos is a free version of rhel

for installing software see the red hat documentation
https://access.redhat.com/site/docum...erprise_Linux/

saybash 05-21-2013 07:59 AM

Thanks Guys, That saved me a lot of time.


All times are GMT -5. The time now is 08:42 AM.