Installing packages on Redhat Enterprise Linux and SUSE Linux



The following commands are used to install packages on Redhat Enterprise Linux and SUSE Linux respectively:

  • The yum command is used to install packages on Redhat Enterprise Linux
  • The zypper command is used to install packages on SUSE Linux

Redhat Enterprise Linux examples

For example, the following commands install the required packages:

  • yum install sysstat
  • yum install dos2unix
  • yum install lsof
  • yum install java-17-openjdk-devel

SUSE Linux examples

For example, the following commands install the required packages:

  • zypper install sysstat
  • zypper install dos2unix
  • zypper install lsof
  • zypper install java-17-openjdk-devel

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*