amazonlinux / amazon-linux-2023

Amazon Linux 2023
https://aws.amazon.com/linux/amazon-linux-2023/
Other
531 stars 40 forks source link

[Package Request] - p7zip #591

Open czechnology opened 10 months ago

czechnology commented 10 months ago

What package is missing from Amazon Linux 2023? Please describe and include package name.

p7zip https://7-zip.org/

Is this an update to existing package or new package request?

An update to an existing package.

# dnf repoquery p7zip*
p7zip-16.02-20.amzn2023.0.4.x86_64
p7zip-doc-16.02-20.amzn2023.0.4.noarch
p7zip-plugins-16.02-20.amzn2023.0.4.x86_64

Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify.

Yes but in the same outdated version.

Any additional information you'd like to include. (use-cases, etc)

The current package is very outdated, released 7.5 years ago.

Version info from a new package:

# 7zip/7zz | head -n2 | tail -n1
7-Zip (z) 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20

Version info in AL2023:

# dnf install p7zip
...
# 7za | head -n2 | tail -n1
7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
daniejstriata commented 10 months ago

Not sure why but most distros still ship p7zip which is not from the same developer as 7zip itself. Work on the p7zip fork has been abandoned and stuck at 16.02. Redhat and the like would patch p7zip at times but I've not seen anyone shipping the official 7zip yet.
I've stopped installing p7zip myself and install 7z from the official page as you've demonstrated: https://www.7-zip.org/download.html

https://hardware.slashdot.org/story/21/03/12/2144238/7-zip-developer-releases-the-first-official-linux-version

stewartsmith commented 9 months ago

Not sure why but most distros still ship p7zip which is not from the same developer as 7zip itself. Work on the p7zip fork has been abandoned and stuck at 16.02. Redhat and the like would patch p7zip at times but I've not seen anyone shipping the official 7zip yet.

I've stopped installing p7zip myself and install 7z from the official page as you've demonstrated:

https://www.7-zip.org/download.html

https://hardware.slashdot.org/story/21/03/12/2144238/7-zip-developer-releases-the-first-official-linux-version

It could be just because of inertia and that 7zip just needs to be packaged. There could be some other implications in the dependency tree, but I haven't looked.

It does feel like a change that could be proposed in Fedora though. It would be interesting to see if anyone found reasons not to make the switch.

For Amazon Linux, this choice would be one we inherited from Fedora.