레드햇에서 만든 패키지 관리 도구
패키지 이름 | 패키지 버전 | 패키지 릴리스 | 아키텍처 | 확장자 |
---|---|---|---|---|
mc | 4.8.7 | 11.el7 | x86_64 | rpm |
[root@localhost Desktop]# rpm -Uvh mc-4.8.7-11.el7.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:mc-1:4.8.7-11.el7 ################################# [100%]
[root@localhost ~]# rpm -q mc
mc-4.8.7-11.el7.x86_64
rpm -qa : 전체 패키지 목록 출력
rpm -qf [rpm제외 아무 파일]
특정 파일을 포함한 패캐지 확인
[root@localhost ~]# rpm -qf /etc/passwd
setup-2.8.71-11.el7.noarch
[root@localhost ~]# rpm -qi mc
Name : mc
Epoch : 1
Version : 4.8.7
Release : 11.el7
Architecture: x86_64
Install Date: Mon 16 May 2022 09:39:08 PM KST
Group : System Environment/Shells
Size : 5921990
License : GPLv3+
Signature : RSA/SHA256, Mon 21 Nov 2016 04:25:17 AM KST, Key ID 24c6a8a7f4a80eb5
Source RPM : mc-4.8.7-11.el7.src.rpm
Build Date : Sun 06 Nov 2016 08:18:37 AM KST
Build Host : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem <http://bugs.centos.org>
Vendor : CentOS
URL : http://www.midnight-commander.org/
Summary : User-friendly text console file manager and visual shell
Description :
Midnight Commander is a visual shell much like a file manager, only
with many more features. It is a text mode application, but it also
includes mouse support. Midnight Commander's best features are its
ability to FTP, view tar and zip files, and to poke into RPMs for
specific files.
[root@localhost Desktop]# rpm -qip mc-4.8.7-11.el7.x86_64.rpm
Name : mc
Epoch : 1
Version : 4.8.7
Release : 11.el7
Architecture: x86_64
Install Date: (not installed)
Group : System Environment/Shells
Size : 5921990
License : GPLv3+
Signature : RSA/SHA256, Mon 21 Nov 2016 04:25:17 AM KST, Key ID 24c6a8a7f4a80eb5
Source RPM : mc-4.8.7-11.el7.src.rpm
Build Date : Sun 06 Nov 2016 08:18:37 AM KST
Build Host : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem <http://bugs.centos.org>
Vendor : CentOS
URL : http://www.midnight-commander.org/
Summary : User-friendly text console file manager and visual shell
Description :
Midnight Commander is a visual shell much like a file manager, only
with many more features. It is a text mode application, but it also
includes mouse support. Midnight Commander's best features are its
ability to FTP, view tar and zip files, and to poke into RPMs for
specific files.
[root@localhost Desktop]# rpm -ql mc
/etc/mc
/etc/mc/edit.indent.rc
/etc/mc/filehighlight.ini
/etc/mc/mc.ext
/etc/mc/mc.keymap
/etc/mc/mc.keymap.default
/etc/mc/mc.keymap.emacs
/etc/mc/mc.menu
.....
[root@localhost Desktop]# rpm -qR mc
/bin/sh
/usr/bin/perl
config(mc) = 1:4.8.7-11.el7
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
.....
Rpm -e [패키지명]
(중요)패키지 일괄 삭제
[root@localhost Desktop]# rpm -e mc
[root@localhost Desktop]# rpm -q mc
package mc is not installed