For installing packages on redhat based systems, we use rpm (Red Hat Package Manager) command.
To install a rpm package using command line on redhat based system use -i command line switch with rpm command.
# rpm -i package-1.2.3.rpm
In case if we need to remove any package use -e command line switch with package name.
# rpm -e package-1.2.3.rpm