[AWS] 스프링 부트 프로젝트 배포 Command 'yum' not found, did you...

[AWS] 스프링 부트 프로젝트 배포 Command 'yum' not found, did you...

728x90

반응형

AWS 로 스프링 배포 하는 법을 찾으려는데 여기서 부터 발목이 잡혔다 .

Command 'yum' not found, did you mean

명령어

sudo apt-get update

결과

ubuntu@ip-172-31-13-208:~$ sudo apt-get update Hit:1 http://repo.mysql.com/apt/ubuntu focal InRelease Hit:2 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu focal InRelease Hit:3 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:4 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease Reading package lists... Done

명령어

sudo apt-get remove yum

결과

Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package yum

기능RHEL/CentOSUbuntu

패키지 목록 갱신 yum 명령어 실행시 자동 갱신 apt update 저장소에서 패키지 설치 yum install package_name apt install package_name 로컬에 있는 패키지 설치 yum localinstall package.rpm dpkg --install package.deb 패키지 삭제 rpm -e package_name apt remove package_name 패키지 삭제(설정 파일 포함) yum remove package_name apt purge package_name 패키지 업그레이드 여부 체크 yum check-update apt -s upgrade

apt -s dist-upgrade 패키지 업데이트 yum update package_name apt upgrade 전체 시스템 업그레이드 yum upgrade apt dist-upgrade

728x90

반응형

from http://soobindeveloper8.tistory.com/615 by ccl(A) rewrite - 2021-12-18 17:27:36