I have a .bin file (Linux self extracting binary files), say installme.bin
I want to make an RPM out of it.
What would be the simplest strategy?
An almost empty spec file with:
%post
./installme.bin
Would it work?
Many thanks in advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It probably would install the software, but it wouldn’t work properly:
Unfortunately the only way to get around this is to install the package manually, then tar up the files that have been created and use that as the source file for the RPM. Depending on how well crafted the bin file is, that may or may not be an easy task. Typically these bin files ask where you want to install to. Try it as a non-root user and put it somewhere under your home directory. That way you can be sure that its not dumping files outside of what your user can write to. Once you know what its creating, install it as root in the final location – in case the install can’t be moved once it has been installed.