1 Answer
- Newest
- Most votes
- Most comments
1
Got the solution for this issue. Below are the steps to compile and install the net-utils in the CenOS7
# yum -y install git make systemd systemd-units rpm-build
# git clone --branch=1.x --single-branch --depth 1 https://github.com/aws/amazon-ec2-net-utils.git
# cd amazon-ec2-net-utils/
# curl -LO 'https://github.com/aws/amazon-ec2-net-utils/archive/1.5.tar.gz'
# rpmbuild --define "_sourcedir $PWD" -bb amazon-ec2-net-utils.spec
# ls ~/rpmbuild/RPMS/noarch/
# yum localinstall ls ~/rpmbuild/RPMS/noarch/amazon-ec2-net-utils-1.5-1.el7.noarch.rpm
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Got the solution for this issue. Below are the steps to compile and install the net-utils in the CenOS7
yum -y install git make systemd systemd-units rpm-build
git clone --branch=1.x --single-branch --depth 1 https://github.com/aws/amazon-ec2-net-utils.git
cd amazon-ec2-net-utils/
curl -LO 'https://github.com/aws/amazon-ec2-net-utils/archive/1.5.tar.gz'
rpmbuild --define "_sourcedir $PWD" -bb amazon-ec2-net-utils.spec
ls ~/rpmbuild/RPMS/noarch/
yum localinstall ls ~/rpmbuild/RPMS/noarch/amazon-ec2-net-utils-1.5-1.el7.noarch.rpm