Saturday, April 26, 2014

rpm

  •   rpm command example
 
To install apache using rpm.


# rpm -ivh httpd-2.2.3-22.0.1.el5.i386.rpm
To upgrade apache using rpm.
# rpm -uvh httpd-2.2.3-22.0.1.el5.i386.rpm
To uninstall/remove apache using rpm.
# rpm -ev httpd
 
More rpm examples: RPM Command: 15 Examples to Install, Uninstall, Upgrade,Query RPM Packages 
 
 

Related Posts:

  • pwd   pwd command  pwd is Print working directory. What else can be said about the good old pwd who has been printing the current directory name for ages. … Read More
  • locate   locate command examples Using locate command you can quickly search for the location of a specific file (or group of files). Locate command uses the database created by updatedb. The example below shows all f… Read More
  • ps    ps command examples ps command is used to display information about the processes that are running in the system. While there are lot of arguments that could be passed to a ps command, following are some o… Read More
  • mv mv command examples Rename file1 to file2. if file2 exists prompt for confirmation before overwritting it. $ mv -i file1 file2 Note: mv -f is just the opposite, which will overwrite file2 without prompting… Read More
  • ls ls command examples Display filesize in human readable format (e.g. KB, MB etc.,) $ ls -lh -rw-r----- 1 linxcare team-dev 8.9M Jun 12 15:27 arch-linux.txt.gz Order Files Based on Last Modified Time (In Reverse Ord… Read More

0 comments:

Post a Comment