일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- bwm-ng
- Linux
- stressapptest
- ipmi
- 사랑담은해물
- GCOV
- memtester
- ipmiutil
- iperf
- sysstat
- 복도새기
- bash
- Shell Script
- 몽상드애월
- ipmitool
- 애월맛집
- 표준 에러
- 제주도
- vnstat
- bwm
- 사랑담은 해물
- 숙이네보리빵
- 제주도맛집
- 표준 출력
- OS TEST
- 제주맛집
- iftop
- 표준 입력
- history 로그 남기기
- 살롱드라방
- Today
- Total
이런 세상..
[LINUX] RPM 본문
[LINUX] RPM
[1] 전체 리스트 출력
# rpm -qa
...생략...
# rpm -qa | grep vim
vim-minimal-7.2.411-1.8.el6.x86_64
vim-common-7.2.411-1.8.el6.x86_64
vim-X11-7.2.411-1.8.el6.x86_64
vim-enhanced-7.2.411-1.8.el6.x86_64
[2] 패키지에 포함된 파일리스트 출력
# rpm -ql vim-minimal-7.2.411-1.8.el6.x86_64
/bin/ex
/bin/rvi
/bin/rview
/bin/vi
/bin/view
/etc/virc
[3] 어떤 패키지에 포함된 파일인지 확인
# rpm -qf /bin/vi
vim-minimal-7.2.411-1.8.el6.x86_64
[4] 패키지 정보 출력
# rpm -qi vim-minimal-7.2.411-1.8.el6.x86_64
Name : vim-minimal Relocations: (not relocatable)
Version : 7.2.411 Vendor: CentOS
Release : 1.8.el6 Build Date:
Install Date: Build Host: c6b6.bsys.dev.centos.org
Group : Applications/Editors Source RPM: vim-7.2.411-1.8.el6.src.rpm
Size : 766050 License: Vim and GPLv2+ and BSD and LGPLv2+ and Open Publication
Signature : RSA/SHA1, 2012년 04월 05일 (목) 오후 06시 35분 05초, Key ID 0946fca2c105b9de
Packager : CentOS BuildSystem <http://bugs.centos.org>
URL : http://www.vim.org/
Summary : A minimal version of the VIM editor
Description :
VIM (VIsual editor iMproved) is an updated and improved version of the
vi editor. Vi was the first real screen-based editor for UNIX, and is
still very popular. VIM improves on vi by adding new features:
multiple windows, multi-level undo, block highlighting and more. The
vim-minimal package includes a minimal version of VIM, which is
installed into /bin/vi for use when only the root partition is
present. NOTE: The online help is only available when the vim-common
package is installed.
[5] 패키지 정상 여부 확인
# rpm -qs vim-minimal-7.2.411-1.8.el6.x86_64
정상(normal) /bin/ex
정상(normal) /bin/rvi
정상(normal) /bin/rview
정상(normal) /bin/vi
정상(normal) /bin/view
정상(normal) /etc/virc
[6] 패키지 무결성(변조 여부) 확인
# rpm -V vim-minimal-7.2.411-1.8.el6.x86_64
[7] 패키지 설치
# rpm -ivh vim-minimal-7.2.411-1.8.el6.x86_64
[8] 패키지 업그레이드
# rpm -Uvh vim-minimal-7.2.411-1.8.el6.x86_64
[9] 패키지 제거
# rpm -e vim-minimal-7.2.411-1.8.el6.x86_64
'> [IT] > >> Linux' 카테고리의 다른 글
[LINUX] shell script - ftp 접속 및 파일 전송 (0) | 2016.01.15 |
---|---|
[LINUX] history 시간 출력 (0) | 2016.01.15 |
[LINUX] IPMI(Intelligent Platform Management Interface) (0) | 2016.01.15 |
[LINUX] 터미널에서 rz, sz 로 파일 전송 (0) | 2016.01.15 |
[LINUX] GTP 파티션을 ext3 로 파티셔닝 (0) | 2016.01.15 |