From the course: Linux: Package Managers and Repositories

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Searching for a package

Searching for a package - Linux Tutorial

From the course: Linux: Package Managers and Repositories

Start my 1-month free trial

Searching for a package

- [Instructor] There are two ways to find packages to install. The first is to browse the web and download an RPM file. The other way to search for a package is using the search capacity of a package manager. The command line interface for yum provides a few ways of searching for packages and package information. The most obvious command, search, can be used to look through the names and descriptions of packages included in the repositories which yum knows about. These default repositories should be enough for us to get started and we'll take a look at adding others later on. Let's search for a package that I like to use called tree. Tree displays the file system a little diagram instead of a just a list of files, so to search for the package here at the command line I'll just write yum search tree. And I see that there's more than a few results here. The search command looks for a matching text in both the name of a package, as you can see over here, and the description here on the…

Contents