Posts

Showing posts with the label RPM

Updated: RPM package managment - Part 2

[root@RHEL6 ~]# rpm -qa |sort |less            //List all installed packages abrt-2.0.8-15.el6.centos.x86_64 abrt-addon-ccpp-2.0.8-15.el6.centos.x86_64 abrt-addon-kerneloops-2.0.8-15.el6.centos.x86_64 abrt-addon-python-2.0.8-15.el6.centos.x86_64 abrt-cli-2.0.8-15.el6.centos.x86_64 abrt-desktop-2.0.8-15.el6.centos.x86_64 abrt-gui-2.0.8-15.el6.centos.x86_64 abrt-libs-2.0.8-15.el6.centos.x86_64 abrt-tui-2.0.8-15.el6.centos.x86_64 abyssinica-fonts-1.0-5.1.el6.noarch acl-2.2.49-6.el6.x86_64 acpid-1.0.10-2.1.el6.x86_64 aic94xx-firmware-30-2.el6.noarch alsa-lib-1.0.22-3.el6.x86_64 alsa-plugins-pulseaudio-1.0.21-3.el6.x86_64 alsa-utils-1.0.22-5.el6.x86_64 anaconda-13.21.195-1.el6.centos.1.x86_64 anaconda-yum-plugins-1.0-5.1.el6.noarch anthy-9100h-10.1.el6.x86_64 ============================================================= [root@RHEL6 ~]# rpm -qf /etc/host.conf      //Identify the package associated with file setup-2.8.14-20....

RPM Tit-Bits ;-)

The -U qualifier is used for updating an RPM to the latest version, the -h qualifier gives a list of hash # characters during the installation and the -v qualifier prints verbose status messages while the command is run. Here is an example of a typical RPM installation command to install the MySQL server package: [root@localhost rajesh]# rpm -Uvh mysql-server-5.1.52-1.el6_0.1.x86_64 Preparing...        ####################### [100%]   1:mysql-server   ####################### [100%] Installing Source RPMs :- Compiling and installing source RPMs with Fedora can be done simply with the rpmbuild command [root@localhost rajesh]# rpmbuild --rebuild filename123.src.rpm [root@localhost rajesh]# rpm -qi openssh Name        : openssh                      Relocations: (not relocatable) Version...