Skip to main content

Redhat Package Manager

rpm  is a useful Package Manager. It helps to install, update and uninstall softwares.

This command checks if java development kit is installed.
# rpm -qa jdk

This command uninstall gcc-java package
# rpm -e gcc-java

This command install java development kit
# rpm -ihv jdk-6u3-linux-amd64.rpm


Popular posts from this blog

Find and replace with sed command in Linux

Find and replace feature is always handy. It can turn into a torture when it comes to change or delete a simple constant string in a text file. There is a handy tool in linux for doing these kind of tihngs. Actually sed is not a text editor but it is used outside of the text file to make changes.