-
-
Notifications
You must be signed in to change notification settings - Fork 325
docs: change .sh to .rpm for Linux binary distribution #6113
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
base: develop
Are you sure you want to change the base?
Conversation
✅ Maven Staging Tests PassedMaven artifacts successfully generated and validated. Ready for Maven deployment to GitHub Packages. |
1 similar comment
✅ Maven Staging Tests PassedMaven artifacts successfully generated and validated. Ready for Maven deployment to GitHub Packages. |
| 2. You have installed the HDF5 library built with CMake, by executing | ||
| the HDF Install Utility (the *.msi file in the binary package for | ||
| Windows or the *.sh on Linux). You can obtain pre-built binaries | ||
| Windows or the *.rpm on Linux). You can obtain pre-built binaries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, this would depend on which binary you use, since there are three types, sh. rpm and deb.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@byrnHDF , I don't see .sh type. Where can I download it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are three linux (ubuntu files) the tar.gz file when uncompressed should have a sh file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@byrnHDF , I couldn't find .sh file when I uncompressed the tar.gz.
|
Well I guess I might have it confused with HDFView.
________________________________________
From: H. Joe Lee ***@***.***>
Sent: Wednesday, December 17, 2025 5:10 PM
To: HDFGroup/hdf5
Cc: Allen Byrne; Mention
Subject: Re: [HDFGroup/hdf5] docs: change .sh to .rpm for Linux binary distribution (PR #6113)
@hyoklee commented on this pull request.
________________________________
In HDF5Examples/Using_CMake.txt<#6113 (comment)>:
@@ -32,7 +32,7 @@ I. Preconditions
2. You have installed the HDF5 library built with CMake, by executing
the HDF Install Utility (the *.msi file in the binary package for
- Windows or the *.sh on Linux). You can obtain pre-built binaries
+ Windows or the *.rpm on Linux). You can obtain pre-built binaries
@byrnHDF<https://github.com/byrnHDF> , I couldn't find .sh file when I uncompressed the tar.gz.
—
Reply to this email directly, view it on GitHub<#6113 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AL77KBQWBC77SJYQIZUZPM34CHPFJAVCNFSM6AAAAACPIRXD52VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTKOJQGAYTMMBQHE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
The most appropriate binary for Ubuntu would be the .deb file. I tried it on an Ubuntu24.04 EC2 instance. It did install, though the output misled me to believe it was already installed. The files are installed in /HDFGroup/HDF5/2.0.0/. At Claud's suggestion I ran "sudo ln -s /HDF_Group/HDF5/2.0.0/lib/* /usr/local/lib/" and similar commands for include and bin. That seems to work, but I think it would be better to use something like CMAKE_INSTALL_PREFIX=/usr/local for Ubuntu? The rpm file can potentially be used for ubuntu but requires additional processing to create a .deb file. It should be usable on linux machines with yum (centos, rocky9, probably fedora). I tried it on rocky9, but it complained that nothing provides libc.so.6 and libstdc++.so.6, even though they are present on the machine in /lib64. I'm not sure whether the version is incorrect, or the location. I'll investigate further, and maybe try having CMake build the rpm binary on one of those machines instead of on ubuntu, with a different CMAKE_INSTALL_PREFIX. I remember the .sh ffile; Allen said it was created in the past, but maybe was dropped in the workflow files at some point. I'll look for that, too. |
There is no .sh file.
Ref:
Important
Update
Using_CMake.txtto correct Linux binary distribution file extension from.shto.rpm.Using_CMake.txtto change Linux binary distribution file extension from.shto.rpm.This description was created by
for c67ffca. You can customize this summary. It will automatically update as commits are pushed.