, , , , ,

محاضرة عن استخدام rpm

هذا تسجيل لجلسة تمت على قناة linuxac على IRC

التحضيرات

بدء المحاضرة

[alsadi@pc1 ~]$ rpm -qi gedit
Name        : gedit                        Relocations: (not relocatable)
Version     : 2.26.3                            Vendor: Fedora Project
Release     : 2.fc11                        Build Date: Mon 09 Nov 2009 09:33:48 PM EET
Install Date: Fri 27 Nov 2009 08:52:13 PM EET      Build Host: x86-1.fedora.phx.redhat.com
Group       : Applications/Editors          Source RPM: gedit-2.26.3-2.fc11.src.rpm
Size        : 13486240                         License: GPLv2+ and GFDL
Signature   : RSA/8, Tue 10 Nov 2009 09:11:25 PM EET, Key ID 1dc5c758d22e77f2
Packager    : Fedora Project
URL         : http://projects.gnome.org/gedit/
Summary     : Text editor for the GNOME desktop
Description :
gedit is a small, but powerful text editor designed specifically for
the GNOME desktop. It has most standard text editor functions and fully
supports international text in Unicode. Advanced features include syntax
highlighting and automatic indentation of source code, printing and editing
of multiple documents in one window.
 
gedit is extensible through a plugin system, which currently includes
support for spell checking, comparing files, viewing CVS ChangeLogs, and
adjusting indentation levels. Further plugins can be found in the
gedit-plugins package.
[alsadi@pc1 ~]$ rpm -qd httpd
/usr/share/doc/httpd-2.2.14/ABOUT_APACHE
/usr/share/doc/httpd-2.2.14/CHANGES
/usr/share/doc/httpd-2.2.14/LICENSE
/usr/share/doc/httpd-2.2.14/NOTICE
/usr/share/doc/httpd-2.2.14/README
/usr/share/doc/httpd-2.2.14/VERSIONING
/usr/share/man/man8/apachectl.8.gz
/usr/share/man/man8/htcacheclean.8.gz
/usr/share/man/man8/httpd.8.gz
/usr/share/man/man8/rotatelogs.8.gz
/usr/share/man/man8/suexec.8.gz
[alsadi@pc1 ~]$ rpm -qc php-common
/etc/php.d/curl.ini
/etc/php.d/dbase.ini
/etc/php.d/json.ini
/etc/php.d/zip.ini
/etc/php.ini
rpm -qf /etc/issue
ojuba-release-11-6.oj3.noarch
rpm -ql php-common | less
rpm -qlp /path/to/gedit-2.26.3-2.fc11.i586.rpm
[alsadi@pc1 ~]$ rpm -qR kernel
rpmlib(VersionedDependencies) <= 3.0.3-1
fileutils  
module-init-tools  
initscripts >= 8.11.1-1
mkinitrd >= 6.0.61-1
kernel-firmware >= 2.6.30.10-105.2.16.fc11
/sbin/new-kernel-pkg  
/bin/sh  
/bin/sh  
/bin/sh  
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(VersionedDependencies) <= 3.0.3-1
fileutils  
module-init-tools  
initscripts >= 8.11.1-1
mkinitrd >= 6.0.61-1
kernel-firmware >= 2.6.30.10-105.2.23.fc11
/sbin/new-kernel-pkg  
/bin/sh  
/bin/sh  
/bin/sh  
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
initscripts >= 8.11.1-1
mkinitrd >= 6.0.61-1
rpm --qf 'version of %{Name} is %{Version}\n' -q gedit
rpm --qf 'size of %{Name} is %{size}\n' -q gedit
[alsadi@pc1 ~]$ rpm -V httpd
S.5....T.  c /etc/httpd/conf/httpd.conf
 ..?......    /usr/sbin/suexec
 ....L....    /var/www/html
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
rpm -qip ftp://ftp.pbone.net/mirror/ftp.pld-linux.org/dists/3.0/PLD/i486/RPMS/gedit2-2.26.2-1.i486.rpm
warning: ftp://ftp.pbone.net/mirror/ftp.pld-linux.org/dists/3.0/PLD/i486/RPMS/gedit2-2.26.2-1.i486.rpm: Header V4 DSA/SHA1 Signature, key ID e4f1bc2d: NOKEY