Rebuilded RPM product path for Rpmbuild --tb on CentOS

 1. dnf install rpm-build / yum install rpm-build

2. download tarball source from website, eg. Intel ixgbe 10G ethernet driver 

https://downloadcenter.intel.com/download/14687/Ethernet-Intel-Network-Adapter-Driver-for-PCIe-Intel-10-Gigabit-Ethernet-Network-Connections-under-Linux-

3.execute rpmbuild instruction from README file in extracted folder

> rpmbuild -tb ixgbe-5.11.3.tar.gz

when compile and rebuild is finish, its RPM file is located in /root/rpmbuild/RPMS/ixgbe-5.11.3-1.x86_64.rpm

 

4. rpm ivh  /root/rpmbuild/RPMS/ixgbe-5.11.3-1.x86_64.rpm

 

p.s. if the source file is .rpms  source

> rpmbuild --rebuild  rpm-source.rpms

這個網誌中的熱門文章

取消Excel與word網際網路與網路路徑超連結自動格式

Installing VMware workstation pro on Ubuntu 22.X (Jammy Jellyfish)