Did you know  45Drives offers free  public and private  webinars ? Click here to learn more  & register! Build & Price

KB451400 – Using 45Drives Repositories

You are here:


  • This article will show how to enable 45drives package repositories in Rocky Linux and Ubuntu environments.


  • Ubuntu 20.04
  • Rocky Linux 8
  • CentOS 7/8
  • RHEL 7/8


Rocky Linux

Automated (Replaces Old Repositories)

[root@rocky-45d ~]# curl -sSL https://repo.45drives.com/setup | sudo bash


  • Pull down repository
[root@rocky-45d ~]# curl -o /etc/yum.repos.d/45drives.repo https://repo.45drives.com/lists/45drives.repo

Update dnf/yum cache

  • Clean and update dnf cache (Rocky Linux)
[root@rocky-45d ~]# dnf clean all && dnf makecache
  • Clean and update yum cache (CentOS 7)
[root@centos-45d ~]# yum clean all && yum makecache fast


Automated (Replaces Old Repositories)

root@ubuntu-45d:~# curl -sSL https://repo.45drives.com/setup | sudo bash


  • Install the repository signing key
root@ubuntu-45d:~# wget -qO - https://repo.45drives.com/key/gpg.asc | apt-key add -
  • Pull down repository .sources file
root@ubuntu-45d:~# curl -o /etc/apt/sources.list.d/45drives.sources https://repo.45drives.com/lists/45drives.sources

Update apt repository

  • Update apt repos
root@ubuntu-45d:~# apt update


  • You are now able to install 45drives packages by pulling them from 45drives repositories.
[root@rocky-45d ~]# dnf install cockpit-file-sharing cockpit-benchmark cockpit-navigator
root@ubuntu-45d:~# apt install cockpit-file-sharing cockpit-benchmark cockpit-navigator


  • Ensure that you are attempting to curl to the correct local path, and the correct URL.
  • Ensure you have external access on the machine you are trying to install the repositories on.

Further Reading

Was this article helpful?
Dislike 0
Views: 5114
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access