From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 1 Deploy, Configure, and Manage (2021)

Unlock the full course today

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

Install and remove packages

Install and remove packages

- [Instructor] Installing packages in groups with DNF is pretty easy. We'll need to elevate privileges to install though. If you don't want to press Y each time you install a package, just pass it as an option. For instance, type in sudo, Space dnf Space install, Space dash Y, Space tree and hit Enter. The tree command allows us to view our file system as a hierarchy on the command line. The G package did not have a dependency. Let's install something with dependencies. First, let's add a third party repository called extra packages for Enterprise Linux. Type in sudo, Space dnf, Space install, Space dash Y, Space epel, dash release and hit Enter. If it's already installed, no problem. This is a safe repository and I always install it on my CentOS machines. Now let's attempt to install the console terminal emulator. Type in clear and type in sudo, Space dnf, Space install, Space Konsole with a K. Do not add the dash Y…

Contents