Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] - amazon-linux-extras: command not found on 2023.0.20230315.0 #290

Closed
wojaczek opened this issue Mar 16, 2023 · 8 comments
Closed
Labels
documentation Improvements or additions to documentation

Comments

@wojaczek
Copy link

We used to run amazon-linux-extras to install various additional packages on amazonlinux. Starting from the latest push command disappeared.

To Reproduce
FROM public.ecr.aws/amazonlinux/amazonlinux:latest
RUN amazon-linux-extras install python3.8
=> ERROR [ 2/13] RUN amazon-linux-extras install python3.8 1.3s

Expected behavior
Proceed with python3.8 installation

@wojaczek
Copy link
Author

Ok, I see what's happened. amazon-linux-extras retried with amazonlinux2023. Will update my Docker builds and stop yelling.

@stewartsmith
Copy link
Member

Do let us know if there's anything that would be good to have on https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html that isn't there already!

@wojaczek
Copy link
Author

I found that python-devel is not there. In my usecase I need that to compile pycurl module, and this one, in turn, is required to run celery on SQS. I'd greatly appreciate adding this to the package base.

@nmeyerhans
Copy link
Contributor

I found that python-devel is not there. In my usecase I need that to compile pycurl module, and this one, in turn, is required to run celery on SQS. I'd greatly appreciate adding this to the package base.

You want python3-devel. The standard in the python community is that unversioned "python" refers to python 2, which we do not ship. Python 3 packages would typically be named python3-*

@wojaczek
Copy link
Author

wojaczek commented Mar 16, 2023 via email

@nmeyerhans
Copy link
Contributor

They're definitely there:

$ dnf list python3.11-devel python3-devel
Last metadata expiration check: 1:46:11 ago on Thu Mar 16 13:08:07 2023.
Installed Packages
python3-devel.x86_64                       3.9.16-1.amzn2023.0.3                    @amazonlinux
Available Packages
python3.11-devel.x86_64                    3.11.2-2.amzn2023.0.6                    amazonlinux 

The page you cited lists only source (main) packages, not subpackages. python3-devel is a subpackage of python3, which is listed there.

@stewartsmith
Copy link
Member

I have had it in the back of my mind that we could add binary packages to the comparison with AL2 and all packages page. It shouldn't be terribly hard to do.... the trickiest bit being working out how to render the HTML to show it.

@stewartsmith
Copy link
Member

FYI, a couple of months ago we did add the binary RPMs to all the package comparison pages in the AL2023 documentation. So you can now see more in-depth changes between AL2 and AL2023.

@stewartsmith stewartsmith added the documentation Improvements or additions to documentation label Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants