VOOZH about

URL: https://repost.aws/questions/QU5Uzy5GILSiyISY93CNyn0A/vscode-no-longer-support-for-amazon-linux-2

⇱ VSCode no longer support for Amazon Linux 2 | AWS re:Post


Skip to content

VSCode no longer support for Amazon Linux 2

1

Following the recent update from VSCode v1.86, they will no longer support Linux distro with glibc <2.28 and libstdc++ < 3.4.25. Is there any plan from the AWS team to update this?

Topics
Compute
Language
English

asked 2 years ago6.6K views

4 Answers
  • Newest
  • Most votes
  • Most comments
1
Accepted Answer

Hello,

Lundi here, thank you for reaching out with your question,

I would like to mention that our internal teams are aware of the mentioned issue whereby Starting with version 1.86, Visual Studio Code will require a minimum GNU C Library (glibc) version of 2.28. AL2 ships with glibc version 2.26, and currently, Amazon Linux does not provide a path to upgrade this library in AL2.

On 2024-02-08, Microsoft released a new build 1.86.1 that will work with older versions of glibc. If you encounter any issues with 1.86.1, please comment here.

https://code.visualstudio.com/updates/v1_86

SUPPORT ENGINEER

answered 2 years ago

EXPERT

reviewed a year ago

  • Dammy
    2 years ago

    Thank you for this. The PM on the Git hub tread mentioned this and we have updated it. However, he also mentioned that this will be only for one year(https://github.com/microsoft/vscode/issues/203375#issuecomment-1927893504). This is a bit worrying as the main reason why we use AL2 is that currently, the tesseract OCR package is not support on AL2023 and we use this package in our SaaS app and unfortunately, we have not found a suitable substitute. What will you advise we do?

0

Hi Dammy

Thank you for the feedback, I'm tracking this issue further internally and will provide further updates once received on my end. You are more then welcome to open a support case and reference this post so that our team can track this internally as well.

SUPPORT ENGINEER

answered 2 years ago

0

Apologies if this question is considered answered and I should be responding separately, but I'm still unable to install VSCode 1.86.1 on AL2. I used the following RPM:

https://update.code.visualstudio.com/1.87.1/linux-rpm-x64/stable

Running an install results in a failure due to dependency resolution. Are there more specific instructions of what's required to get this working?

answered 2 years ago

0

I was getting an error when trying to install 1.87.1 and 1.86.1 as per below. I dropped a couple versions to 1.82.1 and that worked for me.

Steps that succeeded for me:

  1. Download VSCode 1.82.1 RPM from https://update.code.visualstudio.com/1.82.1/linux-rpm-x64/stable
  2. Execute sudo yum localinstall ./code-1.82.1-1694163779.el7.x86_64.rpm
Loaded plugins: amzn_workspaces_filter_updates, halt_os_update_check, priorities, update-motd
Examining ./code-1.82.1-1694163779.el7.x86_64.rpm: code-1.82.1-1694163779.el7.x86_64
Marking ./code-1.82.1-1694163779.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package code.x86_64 0:1.82.1-1694163779.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
...
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
 Installing : code-1.82.1-1694163779.el7.x86_64 1/1 
 Verifying : code-1.82.1-1694163779.el7.x86_64 1/1 

Installed:
 code.x86_64 0:1.82.1-1694163779.el7 

Complete!

Error I was getting with later versions:

$ sudo yum localinstall ./code-1.87.1-1709685844.el8.x86_64.rpm

Loaded plugins: amzn_workspaces_filter_updates, halt_os_update_check, priorities, update-motd
Examining ./code-1.87.1-1709685844.el8.x86_64.rpm: code-1.87.1-1709685844.el8.x86_64
Marking ./code-1.87.1-1709685844.el8.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package code.x86_64 0:1.87.1-1709685844.el8 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.28)(64bit) for package: code-1.87.1-1709685844.el8.x86_64
--> Finished Dependency Resolution
Error: Package: code-1.87.1-1709685844.el8.x86_64 (/code-1.87.1-1709685844.el8.x86_64)
 Requires: libc.so.6(GLIBC_2.28)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigesthttps://repost.aws/questions/QU5Uzy5GILSiyISY93CNyn0A/vscode-no-longer-support-for-amazon-linux-2

answered 2 years ago