EC2 OpenJdk rpm update

0

I have an EC2 instance that has currently java-11-openjdk-11.0.15.0.9-2.el7_9 installed. How do I update it to java-11-openjdk-11.0.16.0.9-2.el7_9 without removing it?

질문됨 2년 전243회 조회
1개 답변
0

Hello,

You can update your Java version via the Command Line Interface (CLI) using the command “sudo yum update” (without quotations). There is no need to worry about removing previously installed updates on your instance.

This documentation gives more generalized instructions on installing packages within a Linux instance via the CLI: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-updates.html

Additionally, this 3rd-party documentation can provide a more detailed look into your specific question: https://thesmartpanda.com/aws-ec2-update-java/ (please note this is not an official AWS document).

Brett_C
답변함 2년 전
AWS
지원 엔지니어
검토됨 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠