Skip to main content

RPM

Supported Commands

Use these commands with the RepoFlow server:

Command Line
yum-config-manager --add-repo
yum install
rpm -ivh

Note: Commands that run locally are not listed here but will work as expected.

Configure an authenticated RPM repository

Store credentials in a .netrc file so they do not need to be embedded in the repository URL.

1. Add credentials

Create or update the .netrc file for the user running YUM:

Command Line
echo "machine api.repoflow.io
login <username>
password <password>" >> ~/.netrc
chmod 600 ~/.netrc

2. Add the repository

Command Line
yum-config-manager --add-repo https://api.repoflow.io/rpm/<workspace-name>/<repository-name>

Replace the credential and repository placeholders with your actual values.