scl command examples

scl command examples

scl – Setup and run software from Software Collection environment

scl enable example 'less --version'

runs command ‘less –version’ in the environment with collection ‘example’ enabled

scl enable foo bar bash

runs bash instance with foo and bar Software Collections enabled

cat my_command | scl enable baz -

run set of commands listed in my_command file in the environment with baz Software Collection enabled

scl -l list all installed collections
scl -l example

list all packages within example collection scl register /foo/bar registers new collection with a name bar

scl deregister bar --force

forces the deregistration of collection bar


Leave a Reply

Your email address will not be published. Required fields are marked *