45Drives Knowledge Base
KB451400 - Using 45Drives Repositories
https://knowledgebase.45drives.com/kb/kb451400-using-45drives-repositories/

KB451400 - Using 45Drives Repositories

Posted on July 5, 2021 by Brett Kelly


Scope/Description

Prerequisites

Steps

Rocky Linux

Automated (Replaces Old Repositories)

# curl -sSL https://repo.45drives.com/setup | sudo bash

Manual

# curl -o /etc/yum.repos.d/45drives.repo https://repo.45drives.com/lists/45drives.repo

Update dnf/yum cache

# dnf clean all && dnf makecache
# yum clean all && yum makecache fast

Ubuntu

Automated (Replaces Old Repositories)

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

Manual

root@ubuntu-45d:~# wget -qO - https://repo.45drives.com/key/gpg.asc | apt-key add -
root@ubuntu-45d:~# curl -o /etc/apt/sources.list.d/45drives.sources https://repo.45drives.com/lists/45drives.sources

Update apt repository

root@ubuntu-45d:~# apt update

Verification

# dnf install cockpit-file-sharing cockpit-benchmark cockpit-navigator
root@ubuntu-45d:~# apt install cockpit-file-sharing cockpit-benchmark cockpit-navigator

Troubleshooting

Further Reading

KB451400 - Using 45Drives Repositories - 45Drives Knowledge Base
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:

Scope/Description

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

Prerequisites

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

Steps

Rocky Linux

Automated (Replaces Old Repositories)

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

Manual

  • 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

Ubuntu

Automated (Replaces Old Repositories)

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

Manual

  • 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

Verification

  • 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

Troubleshooting

  • 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: 4803
© 2024 - 45Drives Knowledge Base
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access