Now i can manage software yum is really cool it does

Info icon This preview shows pages 53–54. Sign up to view the full content.

switched to my root user. Now I can manage software. Yum is really cool. It does two key things that make it almost indispensable for someone who's managing Linux systems. First of all, it can go out on the Internet to software repositories maintained by Red Hat who produce the Fedora Linux distribution, and automatically download whatever software we tell it to and install it on the system. And that's really useful. I don't have to open up a web browser and search all over the Internet, trying to find a malware-free version of the software that I'm looking for, download it manually, and so on. Instead, yum knows exactly where to get clean software, right from Red Hat, and it knows how to pick the right version for this particular version of Fedora and also how to install it on this Fedora system.The second thing that yum does very nicely is that it calculates dependencies. Understand that on a Linux system, some software is dependent on other software already being installed before it can be run. Well, yum goes out and calculates those dependencies for you, so if I tell yum to install a particular package on this system, and it discovers that that package has to have, say, six other packages already installed before it can run, yum will automatically calculate those dependencies for you, download the necessary software, install it first, and then install the software that you asked it to install. That makes life very easy for the system administrator. Now there are many different options you can use with the yum command. If you want to just see a list of all the software that's available on Red Hat's Fedora repositories, you use the list option with the yum command. Press Enter, it'll take just a minute to calculate, it's got to go out on the Internetand find what software is currently available on the repository site, and then displays a list of all the software that's currently available. In addition to viewing all the software available, you can view information about a specific package that you want to install prior to installing it. To do this you type yum, list, again, but this time we provide it with the name of the package we want to view information about. For example, g-c- c. The gcc package installs a C compiler on the systemthat you can use to write your own software with. So it tells us that this gcc package is available, and here's its version number. If we want to install it, we type yum install dcc. I'm going to press enter, and when I do, yum will go out to the Fedora repository on the Internet, download the gcc package, calculate dependencies, install all the software necessary, and then install gcc itself on the system. Notice here it has decided that in order to install the gcc package, that it first has to install all the dependent packages first and it also needs to update this software that's already on the system, but is currently out of date. That's why I love yum. It takes care of all that for me. I don't have to worry about it. I say yes, please, go ahead and update dependencies, install new dependencies, then install the package for me.
Image of page 53

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 54
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '14
  • Task Manager, Hard disk drive

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern