Linux

Red Hat Enterprise Linux 8 Cheat Sheet Pdf [ Official ]

Red Hat Enterprise Linux 8 Cheat Sheet

Insight: Red Hat Enterprise Linux 8 Cheat Sheet [ Pdf ]

RHEL 8 or Red Hat Enterprise Linux 8 is the latest version and is based on Fedora 28. There are many changes and improvements has been made on latest version of RedHat Linux like security policy refinements for Security-Enhanced Linux (SELinux) mandatory access controls are part of Red Hat Enterprise Linux 8.

Well, Let’s look into the official cheat sheet from the RHEL.

Red Hat Enterprise Linux 8 Cheat Sheet

BASIC RED HAT ENTERPRISE LINUX COMMANDS

# yum search string - Search for packages matching a specific string
# yum install package_name - Install a package
# yum update package_name - It updates a package
# yum repolist - List all currently enabled repositories
# subscription-manager repos --enable repository - It enable a repository
# subscription-manager repos --disable repository -Itdisable a repository

WORKING WITH MODULES

The following commands must run with administrator privileges. Note also that some operations with  modules require changes to many packages.

# yum module enable module:stream 
enable a specific stream without installing packages
# yum module install module:stream/profile
install a specific stream
# yum module remove module && yum module disable module
disable a module stream and remove all packages provided by it

FINDING AND EXPLORING MODULES

# yum module list 
list all modules

# yum module list installed
list installed modules

# yum module provides package
find which module provides a package

# yum module info module
examine details of a module

# yum module info --profile module:stream
list packages installed by profiles of a module

# yum module list module
display the current status of a module

 

INSTALLING SPECIFIC APPLICATION STREAMS

The following table lists the most interesting Application Streams available in RHEL 8.

NET Core 2.1

sudo yum install dotnet

Ant 1.1

sudo yum install ant

Buildah 1.5 &  Podman 1.0

 sudo yum install buildah podman

Clang/LLVM 7.0

 sudo yum install llvm-toolset

GCC 8.2 plus complementarytools

sudo yum group install "Development Tools"

GO 1.11

sudo yum install go-toolset

For more, please download the cheat sheet from this download link.