Installing nload on Amazon Linux 2023 instance

0

I have to monitor the performance metrics like bandwidth and gain insights of the traffic. I am working on Amazon Linux 2023 m7 instance type. I am not able to install nload or any alternative tool for this purpose. Can someone please let me know the steps for the installation?

profile pictureAWS
EXPERT
asked 2 months ago325 views
1 Answer
3
Accepted Answer

Hello.

Since nload is included in the Fedora repository, how about adding the repository to Amazon Linux 2023 and installing it using the steps below?
I tried it with my AWS account and was able to install it and confirm that the command works.
https://src.fedoraproject.org/rpms/nload

sudo vi /etc/yum.repos.d/fedora.repo

Contents to be written in fedora.repo

[fedora]
name=Fedora 41 - $basearch
#baseurl=http://download.example/pub/fedora/linux/releases/41/Everything/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-41&arch=$basearch
enabled=0
countme=1
metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=https://getfedora.org/static/fedora.gpg
skip_if_unavailable=False
sudo dnf --enablerepo=fedora install nload
profile picture
EXPERT
answered 2 months ago
profile picture
EXPERT
reviewed 2 months ago
profile picture
EXPERT
reviewed 2 months ago
profile picture
EXPERT
reviewed 2 months ago
  • Or how about building it from the source package using "rpm-build" as shown below? The nload file is located at the following URL. https://dl.fedoraproject.org/pub/epel/9/Everything/source/tree/Packages/n/

    wget https://dl.fedoraproject.org/pub/epel/9/Everything/source/tree/Packages/n/nload-0.7.4-23.el9.src.rpm
    sudo dnf install rpm-build -y
    sudo dnf install gcc gcc-c++ make ncurses-devel -y
    sudo useradd -s /sbin/nologin mockbuild
    sudo rpmbuild --rebuild nload-0.7.4-23.el9.src.rpm
    sudo rpm -ivh /root/rpmbuild/RPMS/x86_64/nload-0.7.4-23.amzn2023.x86_64.rpm
    

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions