How Do I Install Longview on Rocky Linux or AlmaLinux?

Linode Staff

I'm trying to install Longview however I'm receiving the following error:

Error: Failed to download metadata for repo 'longview': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.


Status code: 404 for (IP:

How can I successfully install Longview on my Linode?

1 Reply

Longview doesn't currently support AlmaLinux or Rocky Linux, however it is possible to get Longview working on either of those distributions by forcing the installer to use our CentOS 8 packages.

The simplest way to accomplish this is by pipe the installation command supplied by the Cloud Manager through sed in order to force the installer to use the packages we want.

Note: Installation script URLs can only be accessed from their unique Cloud Manager URL once. If you visit or otherwise download the installation script for your Longview client, this method will not work. In that case, simply delete and generate a new Longview client to use the new URL.

Run the following two commands to install and restart Longview. You will need to replace the URL with the Longview URL provided to you by the Cloud Manager.

curl -s | sed 's/\$DIST/centos/' | sed 's/\$REV/8/' | sudo bash

systemctl restart longview

You should begin to see your data populate in your Longview client after a minute or so.

We also have a guide on manually installing Longview for those that are interested in manual installation. Following the steps for CentOS should allow you to install longview on both Rocky and AlmaLinux.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct