Presentation is loading. Please wait.

Presentation is loading. Please wait.

Managing Software using RPM. ♦ Overview In Linux, Red Hat Package Manager referred as RPM is a tool used for managing software packages and its main function.

Similar presentations


Presentation on theme: "Managing Software using RPM. ♦ Overview In Linux, Red Hat Package Manager referred as RPM is a tool used for managing software packages and its main function."— Presentation transcript:

1 Managing Software using RPM

2 ♦ Overview In Linux, Red Hat Package Manager referred as RPM is a tool used for managing software packages and its main function is to permit the installation and deletion of software packages. This module deals with the installation, verification and deletion of software using rpm. ♦ Lesson covered in this lesson ► Installing Software ► Viewing Software ► Removing Software Module 8 – Managing Software using RPM

3 Managing Software using RPM Lesson 1 – Installing Software Lesson1 - Installing Software ♦ Introduction Red Hat Package Manager referred as RPM is a tool or in Linux for software package management that is used to maintain a database of software and their files. RPM is used to install software. ♦ Topics covered in this lesson ► Red Hat Package Manager ► Installing Software through Command Line Interface ► Installing Software through Graphical Method

4 Managing Software using RPM Topic 1 – Red Hat Package Manager ♦ Red Hat Package Manager, referred as RPM is a tool in Linux for software package management. ♦ A RPM file comprises of all the files essential for running a specific program, and the important scripts to carry out the installation on its own ♦ The RPM tool carries out common management of all the RPM packages, which are installed on a particular host

5 Managing Software using RPM ♦ RPM packages are installed using the –i option to the rpm command. ♦ For example if the package, bash-3.0-18.src.rpm has to be installed then the below command can be given. ♦ Conventionally –i option is also used with –v option that makes rpm to be more verbose. ♦ The –h option makes rpm to display progress meters as given below # rpm -ivh evolution-2.0.4-6.src.rpm Topic 2 - Installing Software through Command Line Interface

6 Managing Software using RPM Topic 3 - Installing Software through Graphical Method ♦ To install new software using Graphical method, go to Main Menu =>Systems and Settings=>Add or Remove Packages Package Management

7 Managing Software using RPM Topic 3 - Installing Software through Graphical Method ♦ Select the RPM check box that has to be updated and click on Update Package Details

8 Managing Software using RPM ♦ This will display the Completed System Preparation panel. Click on Continue Completed System Preparation Topic 3 - Installing Software through Graphical Method

9 Managing Software using RPM Topic 3 - Installing Software through Graphical Method Updating System

10 Managing Software using RPM Topic 3 - Installing Software through Graphical Method ♦ After updating, it will ask for the disk to install the software package. To continue with it, insert a disk and click on OK Disk needed to install packages

11 Managing Software using RPM Lesson 2 – Viewing Software ♦ Introduction Once the software is installed, enquiry can be made on the software package and check whether the RPMs are installed. This process is querying. ♦ Topics Covered in this lesson Querying the Software Package Verifying the Installed Software Package

12 Managing Software using RPM Topic 1- Querying the Software Package ♦ The enquiry of the installed software packages can be done using the command [root@localhost ~]# rpm –q ♦ If the details about the software package i.e. name, version and release number of the installed software package has to be displayed, then the following command can be run. [root@localhost ~]# rpm –q

13 Managing Software using RPM Topic 2 – Verifying the Installed Software Package ♦ The software package that is installed has to be checked whether the installation has been successfully or not. So verification is done. ♦ The command used to verify a software package is [root@localhost ~]# rpm –V To verify a software package having a specific file: [root@localhost ~]# rpm –Vf /usr/home/user1 To verify all installed software packages: [root@localhost ~]# rpm – Va

14 Managing Software using RPM Graphical Method to Verify the software package ♦ Click on Main Menu => Systems and Settings => Add/Remove Packages and click on the software installed and click on Details. Package Management

15 Managing Software using RPM Graphical Method to Verify the software package ♦ Check the RPMs whose check boxes are enabled. Package Management Package Details

16 Managing Software using RPM Lesson 3 – Removing Software ♦ Introduction Software can be removed or uninstalled using RPM. The software, which is not in use currently, has to be removed so that the space occupied by it is saved for other programs. Software can be uninstalled using RPM on a command line interface and on a graphical interface as well. ♦ Topics covered in this Lesson 1. Uninstalling Software using RPM

17 Managing Software using RPM Topic 1 – Uninstalling Software using RPM ♦ Software applications can be uninstalled using the -e option to the rpm command: ] [root@localhost ~] # rpm -e [root@localhost ~] # ♦ Only the name of the software package is used when the software has to be uninstalled.

18 Managing Software using RPM Graphical method of Uninstalling Software ♦ Click on Main Menu => Systems and Settings => Add or Remove Packages. ♦ Click on Details on the software that has to be installed. Add/Remove Programs

19 Managing Software using RPM Graphical method of Uninstalling Software ♦ Uncheck the check boxes of the software package and this way the software can be uninstalled from the system. ♦ Package Details

20 Managing Software using RPM Conclusion  Summary ♦ Red Hat Package Manger, RPM is helpful in the management of software in the database ♦ While installing the software RPM traces whether the software required for software being installed is in the database or not ♦ When software is installed, it can be queried and the details about the rpms can be seen. ♦ Software that is not currently used has to be removed or uninstalled  Question and Answer Session


Download ppt "Managing Software using RPM. ♦ Overview In Linux, Red Hat Package Manager referred as RPM is a tool used for managing software packages and its main function."

Similar presentations


Ads by Google