Category Archives: InstallTips

How to extract and rebuild RPM


[root@svrrepo rpm]# ls -l redhat-logos-60.0.14-10.el6.centos.noarch.rpm
-rw-r–r– 1 root root 10978244 Jul 13 14:38 redhat-logos-60.0.14-10.el6.centos.noarch.rpm

 

[root@svrrepo rpm]# rpm2cpio redhat-logos-60.0.14-10.el6.centos.noarch.rpm |cpio -idv > output 2>&1


[root@svrrepo rpm]# more output


cpio: ./boot/grub/splash.xpm.gz not created: newer or same age version exists
./boot/grub/splash.xpm.gz
cpio: ./etc/favicon.png not created: newer or same age version exists
./etc/favicon.png
./usr/lib/anaconda-runtime
./usr/lib/anaconda-runtime/boot
./usr/lib/anaconda-runtime/boot/syslinux-splash.png
./usr/lib/anaconda-runtime/splashtolss.sh
./usr/lib/anaconda-runtime/syslinux-vesa-splash.jpg
./usr/share/anaconda
./usr/share/anaconda/pixmaps
./usr/share/anaconda/pixmaps/anaconda_header.png
./usr/share/anaconda/pixmaps/progress_first-lowres.png
./usr/share/anaconda/pixmaps/progress_first.png
./usr/share/anaconda/pixmaps/splash.png
./usr/share/anaconda/pixmaps/syslinux-splash.png
./usr/share/backgrounds/default.png
./usr/share/backgrounds/default.xml
./usr/share/backgrounds/default_1920x1200.png
./usr/share/backgrounds/default_1920x1440.png
./usr/share/backgrounds/simple_waves.jpg
./usr/share/doc/redhat-logos-60.0.14
./usr/share/doc/redhat-logos-60.0.14/COPYING
./usr/share/firstboot/themes/RHEL
./usr/share/firstboot/themes/RHEL/firstboot-left.png
./usr/share/firstboot/themes/RHEL/firstboot-small.png
./usr/share/firstboot/themes/RHEL/splash-small.png
./usr/share/firstboot/themes/RHEL/workstation.png
./usr/share/gnome-background-properties/desktop-backgrounds-default.xml
./usr/share/icons/System/16×16/places/start-here.png
./usr/share/icons/System/24×24/places/start-here.png
./usr/share/icons/System/32×32/places/start-here.png
./usr/share/icons/System/36×36/places/start-here.png
./usr/share/icons/System/48×48/places/start-here.png
./usr/share/icons/System/96×96/places/start-here.png
./usr/share/icons/hicolor
./usr/share/icons/hicolor/16×16/apps/system-logo-icon.png
./usr/share/icons/hicolor/24×24/apps/system-logo-icon.png
./usr/share/icons/hicolor/32×32/apps/system-logo-icon.png
./usr/share/icons/hicolor/36×36/apps/system-logo-icon.png
./usr/share/icons/hicolor/48×48/apps/system-logo-icon.png
./usr/share/icons/hicolor/96×96/apps/system-logo-icon.png
./usr/share/icons/hicolor/scalable/apps/xfce4_xicon1.svg
./usr/share/kde-settings
./usr/share/kde-settings/kde-profile
./usr/share/kde-settings/kde-profile/default
./usr/share/kde-settings/kde-profile/default/share
./usr/share/kde-settings/kde-profile/default/share/icons
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/16×16
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/16×16/places
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/16×16/places/start-here.png
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/24×24
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/24×24/places
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/24×24/places/start-here.png
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/32×32
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/32×32/places
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/32×32/places/start-here.png
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/36×36
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/36×36/places
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/36×36/places/start-here.png
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/48×48
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/48×48/places
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/48×48/places/start-here.png
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/96×96
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/96×96/places
./usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE/96×96/places/start-here.png
./usr/share/kde4/apps
./usr/share/kde4/apps/kdm/themes/CentOS6
./usr/share/kde4/apps/kdm/themes/CentOS6/KdmGreeterTheme.desktop
./usr/share/kde4/apps/kdm/themes/CentOS6/background.png
./usr/share/kde4/apps/kdm/themes/CentOS6/box.png
./usr/share/kde4/apps/kdm/themes/CentOS6/centos6.xml
./usr/share/kde4/apps/kdm/themes/CentOS6/screenshot.png
./usr/share/kde4/apps/kdm/themes/CentOS6/session_button-li.png
./usr/share/kde4/apps/kdm/themes/CentOS6/session_button.png
./usr/share/kde4/apps/kdm/themes/CentOS6/system-logo-white.png
./usr/share/kde4/apps/kdm/themes/CentOS6/system_button-li.png
./usr/share/kde4/apps/kdm/themes/CentOS6/system_button.png
./usr/share/kde4/apps/ksplash/Themes/CentOS6
./usr/share/kde4/apps/ksplash/Themes/CentOS6/1920×1200
./usr/share/kde4/apps/ksplash/Themes/CentOS6/1920×1200/background.png
./usr/share/kde4/apps/ksplash/Themes/CentOS6/1920×1200/description.txt
./usr/share/kde4/apps/ksplash/Themes/CentOS6/1920×1200/progressbar1.png
./usr/share/kde4/apps/ksplash/Themes/CentOS6/1920×1200/progressbar2.png
./usr/share/kde4/apps/ksplash/Themes/CentOS6/1920×1200/progressbar3.png
./usr/share/kde4/apps/ksplash/Themes/CentOS6/1920×1200/progressbar4.png
./usr/share/kde4/apps/ksplash/Themes/CentOS6/1920×1200/progressbar5.png
./usr/share/kde4/apps/ksplash/Themes/CentOS6/1920×1200/splash.png
./usr/share/kde4/apps/ksplash/Themes/CentOS6/Preview.png
./usr/share/kde4/apps/ksplash/Themes/CentOS6/Theme.rc
./usr/share/pixmaps/poweredby.png
./usr/share/pixmaps/redhat
./usr/share/pixmaps/redhat/rhad.png
./usr/share/pixmaps/redhat/rpm.tif
./usr/share/pixmaps/redhat/rpmlogo-200.png
./usr/share/pixmaps/redhat/rpmlogo-32.png
./usr/share/pixmaps/redhat/rpmlogo-48.png
./usr/share/pixmaps/redhat/rpmlogo-64.png
./usr/share/pixmaps/redhat/rpmlogo-mini.png
./usr/share/pixmaps/redhat/shadowman-transparent.png
./usr/share/pixmaps/system-logo-small.png
./usr/share/pixmaps/system-logo-white.png
./usr/share/pixmaps/system-logo.png
./usr/share/pixmaps/system-release-white.png
./usr/share/plymouth/themes/rings
./usr/share/plymouth/themes/rings/animation-00.png
./usr/share/plymouth/themes/rings/animation-01.png
./usr/share/plymouth/themes/rings/animation-02.png
./usr/share/plymouth/themes/rings/animation-03.png
./usr/share/plymouth/themes/rings/animation-04.png
./usr/share/plymouth/themes/rings/animation-05.png
./usr/share/plymouth/themes/rings/animation-06.png
./usr/share/plymouth/themes/rings/animation-07.png
./usr/share/plymouth/themes/rings/animation-08.png
./usr/share/plymouth/themes/rings/animation-09.png
./usr/share/plymouth/themes/rings/animation-10.png
./usr/share/plymouth/themes/rings/animation-11.png
./usr/share/plymouth/themes/rings/animation-12.png
./usr/share/plymouth/themes/rings/animation-13.png
./usr/share/plymouth/themes/rings/header-image.png
./usr/share/plymouth/themes/rings/progress-00.png
./usr/share/plymouth/themes/rings/progress-01.png
./usr/share/plymouth/themes/rings/progress-02.png
./usr/share/plymouth/themes/rings/progress-03.png
./usr/share/plymouth/themes/rings/progress-04.png
./usr/share/plymouth/themes/rings/progress-05.png
./usr/share/plymouth/themes/rings/progress-06.png
./usr/share/plymouth/themes/rings/progress-07.png
./usr/share/plymouth/themes/rings/progress-08.png
./usr/share/plymouth/themes/rings/progress-09.png
./usr/share/plymouth/themes/rings/progress-10.png
./usr/share/plymouth/themes/rings/progress-11.png
./usr/share/plymouth/themes/rings/progress-12.png
./usr/share/plymouth/themes/rings/progress-13.png
./usr/share/plymouth/themes/rings/progress-14.png
./usr/share/plymouth/themes/rings/progress-15.png
./usr/share/plymouth/themes/rings/progress-16.png
./usr/share/plymouth/themes/rings/progress-17.png
./usr/share/plymouth/themes/rings/progress-18.png
./usr/share/plymouth/themes/rings/progress-19.png
./usr/share/plymouth/themes/rings/progress-20.png
./usr/share/plymouth/themes/rings/progress-21.png
./usr/share/plymouth/themes/rings/progress-22.png
./usr/share/plymouth/themes/rings/progress-23.png
./usr/share/plymouth/themes/rings/progress-24.png
./usr/share/plymouth/themes/rings/progress-25.png
./usr/share/plymouth/themes/rings/progress-26.png
./usr/share/plymouth/themes/rings/progress-27.png
./usr/share/plymouth/themes/rings/progress-28.png
./usr/share/plymouth/themes/rings/progress-29.png
./usr/share/plymouth/themes/rings/progress-30.png
./usr/share/plymouth/themes/rings/progress-31.png
./usr/share/plymouth/themes/rings/progress-32.png
./usr/share/plymouth/themes/rings/progress-33.png
./usr/share/plymouth/themes/rings/progress-34.png
./usr/share/plymouth/themes/rings/progress-35.png
./usr/share/plymouth/themes/rings/throbber-00.png
./usr/share/plymouth/themes/rings/throbber-01.png
./usr/share/plymouth/themes/rings/throbber-02.png
./usr/share/plymouth/themes/rings/throbber-03.png
./usr/share/plymouth/themes/rings/throbber-04.png
./usr/share/plymouth/themes/rings/throbber-05.png
./usr/share/plymouth/themes/rings/throbber-06.png
./usr/share/plymouth/themes/rings/throbber-07.png
./usr/share/plymouth/themes/rings/throbber-08.png
./usr/share/plymouth/themes/rings/throbber-09.png
./usr/share/plymouth/themes/rings/throbber-10.png
./usr/share/plymouth/themes/rings/throbber-11.png
./usr/share/plymouth/themes/rings/throbber-12.png
./usr/share/plymouth/themes/rings/throbber-13.png
./usr/share/plymouth/themes/rings/throbber-14.png
./usr/share/plymouth/themes/rings/throbber-15.png
./usr/share/plymouth/themes/rings/throbber-16.png
./usr/share/plymouth/themes/rings/throbber-17.png
./usr/share/plymouth/themes/rings/throbber-18.png
./usr/share/plymouth/themes/rings/throbber-19.png
./usr/share/plymouth/themes/rings/throbber-20.png
./usr/share/plymouth/themes/rings/throbber-21.png
./usr/share/plymouth/themes/rings/throbber-22.png
./usr/share/plymouth/themes/rings/throbber-23.png
./usr/share/wallpapers/CentOS6
./usr/share/wallpapers/CentOS6/contents
./usr/share/wallpapers/CentOS6/contents/images
./usr/share/wallpapers/CentOS6/contents/images/1920×1200.png
./usr/share/wallpapers/CentOS6/contents/images/1920×1440.png
./usr/share/wallpapers/CentOS6/contents/images/simple_waves.jpg
./usr/share/wallpapers/CentOS6/metadata.desktop
22701 blocks

How can i change image “png & jpg” and rebuild again to “redhat-logos-60.0.14-10.el6.centos.noarch.rpm”  ???

Thanks

Advertisements

RPM QUERY | %{NAME}-%{VERSION}-%{RELEASE} %{ARCH}


[root@localhost Packages]# rpm -qa –queryformat “%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH}\n”

[root@localhost Packages]# rpm -q –queryformat “%{NAME}-%{VERSION}-%{RELEASE} %{ARCH}\n” nmap-5.21-4.el6.x86_64

for i in `cat /tmp/i386`;
do
echo $i;
mv /distro/eCentrix/Packages/$i /tmp/packagei386/
done

 

for i in `rpm -qa –qf “%{NAME} %{VENDOR}\n” |\
grep -i centos | awk ‘{ print $1 }’`
do yum -y reinstall $i
done

http://www.rpm.org/max-rpm/s1-rpm-query-parts.html

Isntall Lame On centos 6.2 64 bit


lame -b 32 –resample 8 -a <wavefilename> <mp3filename>

rpm -Uvh http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

yum clean all

yum search lame

yum install lame

shisdew

Listens until think alike

moses.spaceku@yahoo.com / voip ipbx

Hosted PBX, IP-PBX SOHO/ CALL CENTER, VOICE GATEWAY, VOICE CARD, COST EFECTIVE SOLUTIONS (LCR), GSM/CDMA GATEWAY

%d bloggers like this: