Install RPM Packages Using Yum

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

After configuring the rpm-local repository in Artifactory, you need to configure your local machine to install software packages from it by executing the following steps:

  1. Edit the artifactory.repo file with root privileges

    sudo vi /etc/yum.repos.d/artifactory.repo
  2. Paste the following configuration into the artifactory.repo file:

    [Artifactory]
    name=Artifactory
    baseurl=http://localhost:8081/artifactory/rpm-local/
    enabled=1
    gpgcheck=0

Now, every RPM file deployed to the root of the rpm-local repository can be installed using:

yum install <package_name>