[AWS] 리눅스 명령어 PPA 저장소 사용
2022. 5. 31. 14:33

: Personal Package Archive 개인 패키지 저장소

: PPA는 런치패드(유명한 패키지 저장소중 하나)에서 제공하는 우분투의 공식 패키지 저장소에 없는 서드 파티 소프트웨어(이 용어는 무시하셔도 됩니다.)를 위한 개인용 소프트웨어 패키지 저장소

: ppa 저장소를 추가 시키면, 명령어나 우분투 소프트웨어로 추가된 프로그램을 설치할 수 있다.

 

0. 추가, 삭제

- 추가 : sudo add-apt-repository '저장소 이름'

- 삭제 : sudo add-apt-repository --remove '저장소 이름'

 

1. sudo apt remove tomcat9

: tomcat9의 설정파일은 지우지 않음

- sudo apt --purge remove tomcat9

: 설정 파일까지 모두 지움

 


https://launchpad.net/ubuntu/+ppas 

 

Personal Package Archives : Ubuntu

Ubuntu also includes a wide variety of software through its network of software repositories. Once your system is installed you can simply call up a list of all the existing tools out there and choose any of them for immediate installation over the interne

launchpad.net

- apt 저장소에 없는것들 추가하는 사이트


2. sudo apt update 

: 추가한 tomcat8.5를 apt에 추가하는 명령어

 

3. sudo apt install tomcat8.5

: 추가한 tomcat8.5를 설치

 

★ update를 하려는데 다음과 같은 오류가 날 경우

이유 : 우분투에는 버전이 있는데, 위와 같이 버전에 따른 코드명이 따로 있음

https://launchpad.net/ubuntu/+ppas?name_filter=tomcat8 

 

Personal Package Archives : Ubuntu

Ubuntu also includes a wide variety of software through its network of software repositories. Once your system is installed you can simply call up a list of all the existing tools out there and choose any of them for immediate installation over the interne

launchpad.net

톰캣을 해당 버전인 Focal Fossa에 맞는 tomcat8.5를 다시 검색해서

설치하기 전 기존의 tomcat8.5를 삭제해야함

- 삭제 명령어 : sudo add-apt-repository --remove ppa:rivergod/tomcat8.5

- 삭제후에 재설치 : sudo add-apt-repository ppa:ttyrnpuu/tomcat