Linux – rhn-channel and Spacewalk

The Spacewalk server is your custom rpm server which hosts all your rpm packages. If you want to connect to an Spacewalk server, you need to viers install the following package:


I have released my new course on Udemy, Kubernetes By Example. Sign up now to get free lifetime access!
$ yum install rhn-setup

the following lists all channels a machine is subscribed to:

# rhn-channel --list

Alternatively do:

$ spacewalk-channel --list

to register a client to a spacewalk server, you use the rhnreg_ks command:

$ rhnreg_ks --activationkey {channel name}

To subscribe to a new channel, we do:

See also:

also run the following command to check what repos you’re connected to:

$ yum repolist