Installing packages

 Installing packages

  1. Install package:
yum install package_name
  1. Package description: The info command is used to display brief details about a package.
yum info package_name
  1. Uninstall package: The remove command is used to remove or uninstall package name.
yum remove package_name
  1. Install package from local file:

It is also possible to install package from local file named package_name.rpm.

rpm -i package_name.rpm
  1. Install from source code:
tar zxvf sourcecode.tar.gz
cd sourcecode
./configure
make
make install

Comments