일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 인증서 저장 실패
- 엑셀 사용자 편의 기능
- 375926784
- 버프슈트
- 명령어 튜토리얼
- ##_revenue_list_upper_##
- SFTP
- 사무실 필수 엑셀 기능
- burpsuite
- pfx 파일 오류
- 엑셀 화면 크기 조정
- 블로그 광고 설정
- AWS
- 코드 수정 가이드
- 파일업로드다운로드
- pam_tally2.so
- 엑셀 화면 설정
- 비밀번호 복구
- shell 스크립트
- 엑셀 문자열 처리
- 리눅스 활용법
- 광고 삽입 방법
- 셀 값 변환
- 목록 광고
- Burp Suite
- sleep 명령어
- ##_revenue_list_lower_##
- 엑셀 화면 최적화
- 버프스위트
- 엑셀 작업 효율화
Archives
- Yesterday
- Today
- Total
250x250
반응형
리눅스 CentOS7 YUM 사용 방법 본문
728x90
반응형
1. yum이란?
YUM (Yellowdog Updater, Modified) 명령어는 CentOS 및 Red Hat Enterprise Linux (RHEL)과 같은 RPM 기반 리눅스 배포판에서 사용되는 패키지 관리자입니다. YUM을 사용하면 쉽게 소프트웨어를 설치, 업데이트, 삭제할 수 있습니다.
2. yum 명령어 정리
2_1) yum 패키지 설치하기
- 명령어 : yum install 패키지이름
yum install 패키지이름
[root@localhost ~]# yum install telnet
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.kakao.com
* extras: mirror.kakao.com
* updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package telnet.x86_64 1:0.17-66.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================================================================
Installing:
telnet x86_64 1:0.17-66.el7 updates 64 k
Transaction Summary
==============================================================================================================================================================================================================
Install 1 Package
Total download size: 64 k
Installed size: 113 k
Is this ok [y/d/N]: y
Downloading packages:
telnet-0.17-66.el7.x86_64.rpm | 64 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:telnet-0.17-66.el7.x86_64 1/1
Verifying : 1:telnet-0.17-66.el7.x86_64 1/1
Installed:
telnet.x86_64 1:0.17-66.el7
Complete!
[root@localhost ~]#

2_2) yum 패키지 업데이트하기
- 명령어 : yum update 패키지이름
[root@localhost ~]# yum update telnet
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.kakao.com
* extras: mirror.kakao.com
* updates: mirror.kakao.com
No packages marked for update
[root@localhost ~]#

2_3) yum 패키지 삭제하기
- 명령어 : yum remove 패키지이름
yum remove 패키지이름
[root@localhost ~]# yum remove telnet
Loaded plugins: fastestmirror
Resolving Dependencies
--> Running transaction check
---> Package telnet.x86_64 1:0.17-66.el7 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================================================================
Removing:
telnet x86_64 1:0.17-66.el7 @updates 113 k
Transaction Summary
==============================================================================================================================================================================================================
Remove 1 Package
Installed size: 113 k
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : 1:telnet-0.17-66.el7.x86_64 1/1
Verifying : 1:telnet-0.17-66.el7.x86_64 1/1
Removed:
telnet.x86_64 1:0.17-66.el7
Complete!
[root@localhost ~]#

2_4) yum 패키지 검색하기
- 명령어 : yum search 검색어
yum search 검색어
[root@localhost ~]# yum search telnet
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.kakao.com
* extras: mirror.kakao.com
* updates: mirror.kakao.com
============================================================================================ N/S matched: telnet =============================================================================================
perl-Net-Telnet.noarch : Net-Telnet Perl module
telnet.x86_64 : The client program for the Telnet remote login protocol
telnet-server.x86_64 : The server program for the Telnet remote login protocol
tn5250.i686 : 5250 Telnet protocol and Terminal
tn5250.x86_64 : 5250 Telnet protocol and Terminal
Name and summary matches only, use "search all" for everything.
[root@localhost ~]#

2_5) yum 패키지 정보 확인
- 명령어 : yum info 패키지이름
yum info 패키지이름
[root@localhost ~]# yum info telnet
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.kakao.com
* extras: mirror.kakao.com
* updates: mirror.kakao.com
Installed Packages
Name : telnet
Arch : x86_64
Epoch : 1
Version : 0.17
Release : 66.el7
Size : 113 k
Repo : installed
From repo : updates
Summary : The client program for the Telnet remote login protocol
URL : http://web.archive.org/web/20070819111735/www.hcs.harvard.edu/~dholland/computers/old-netkit.html
License : BSD
Description : Telnet is a popular protocol for logging into remote systems over the
: Internet. The package provides a command line Telnet client
[root@localhost ~]#

728x90
반응형
'리눅스 > Linux 공부내용' 카테고리의 다른 글
리눅스 CentOS7 아이노드(i-node) full 이슈 해결 방법(svn: Can't find a temporary directory: Internal error) (0) | 2023.05.20 |
---|---|
리눅스 CentOS7 아이노드(i-node) (0) | 2023.05.19 |
리눅스 CentOS7 RPM 사용 방법 (0) | 2023.05.02 |
리눅스 CentOS7 TELNET 설치 방법 (0) | 2023.05.01 |
리눅스 CentOS7 httpd 설치 방법 (0) | 2023.03.11 |