1 Answer
- Newest
- Most votes
- Most comments
1
It looks like your EC2 is running Amazon Linux 2 which doesn't use the apt
package manager, but instead uses yum
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/find-install-software.html
The latest version - AL 2023 - uses the successor to yum
called dnf
https://docs.aws.amazon.com/linux/al2023/ug/package-management.html
YUM installation of VS Code is described here https://code.visualstudio.com/docs/setup/linux#_rhel-fedora-and-centos-based-distributions
Relevant content
- asked a year ago
- Accepted Answerasked 5 years ago
- asked 8 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 10 months ago