LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do you update a driver after a fresh CentOS installation? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-update-a-driver-after-a-fresh-centos-installation-838156/)

beansbaxter 10-14-2010 09:59 PM

How do you update a driver after a fresh CentOS installation?
 
I've been a long time Debian user but now I'm working with Red Hat and I'm a bit lost. I just installed a fresh install of CentOS 5.5 on a new Dell server. Dell provides a current Red Hat 5.5 driver for mpt2sas. How do I install this driver?

The Dell instructions are not that helpful. They explain an RPM Install and a DKMS Install - what's the difference between the two?

Thanks in advance.

moniker117 10-15-2010 12:56 AM

Quote:

Originally Posted by beansbaxter (Post 4127843)
I've been a long time Debian user but now I'm working with Red Hat and I'm a bit lost. I just installed a fresh install of CentOS 5.5 on a new Dell server. Dell provides a current Red Hat 5.5 driver for mpt2sas. How do I install this driver?

The Dell instructions are not that helpful. They explain an RPM Install and a DKMS Install - what's the difference between the two?

Thanks in advance.

RPM is the package manager used in CentOS/RHEL. It's similar to Debian's DEB files. DKMS is the name of one of the packages Dell is offering, which should also be an RPM file (meaning it should be named dkms.rpm or dkms-2.1.1.2.rpm something like that). Is that what you're seeing? RPM packages in CentOS/RHEL can be installed with either the rpm command or the yum command. I think the rpm command is similar to Debian's dpkg command, and yum is similar to apt-get.

You can say:
rpm -ivh <packagename>.rpm

That will install an rpm package.

jmc1987 10-15-2010 01:45 AM

rpm -ivh <packagename>.rpm This installs
rpm -uvh <packagename>.rpm this upgrades.


All times are GMT -5. The time now is 05:26 AM.