Menu

#39 Creating rpm file for RHEL using iperf-3.9 build

v1.0 (example)
open
nobody
None
5
2020-10-04
2020-10-04
Tim
No

I downloaded iperf-3.9 source file from here:
https://downloads.es.net/pub/iperf/iperf-3.9.tar.gz

I need to create an installation rpm file for RedHat Linux (3.10.0-1127.el7.x86_64) so that it could be installed on any machine.
I followed instructions online on how to create an RPM file using a spec file and I did that on one virtual machine. It did get created but with an error:

Transaction check error:
file /usr/share/man/man1 from install of iperf-3.9-1.el7.x86_64 conflicts with file from package filesystem-3.2-25.el7.x86_64

It seems I'm not able to install it properly using 'yum install' on this machine or when I copy the rpm file to another machine.
What seems to be the problem in building the rpm? I attached the rpm file I created.

I would actually greatly appreciate if someone could create an rpm file for RHEL and share the file and steps to do it.

Thank you in advance!!

1 Attachments

Discussion


Log in to post a comment.