From the course: Linux Tips

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Adding third-party repositories with Yum

Adding third-party repositories with Yum - Linux Tutorial

From the course: Linux Tips

Adding third-party repositories with Yum

- [Instructor] In addition to adding third party repositories to systems running Apt, we can add them to systems using Yum as well. For this episode, we'll use the information for Plex, a home media server application that's found on their forums. Yum reads repository information in the etc yum.conf file. And from files in etc yum.repos.d. Modifying the conf file keeps things centralized, and creating a standalone file in the yum.repos.d directory keeps everything modular. The approach you take is up to you. I'll create a file in the yum.repos.d directory. With vi etc yum.repos.d, and I'll call it plex.repo. And here I'll add an entry for the repository. You can copy and paste from the plex article to save some typing. But I'll type it out, and then we'll take a look at each line. The first line here in brackets is the identifier of the repository. Next, there's the human readable name. Baseurl is the address for the repository. And enabled equals one means that this repository is…

Contents