How To Install crypto-policies-scripts on Fedora 36

In this tutorial we learn how to install crypto-policies-scripts in Fedora 36. crypto-policies-scripts is Tool to switch between crypto policies

Introduction

In this tutorial we learn how to install crypto-policies-scripts on Fedora 36.

What is crypto-policies-scripts

This package provides a tool update-crypto-policies, which applies the policies provided by the crypto-policies package. These can be either the pre-built policies from the base package or custom policies defined in simple policy definition files. The package also provides a tool fips-mode-setup, which can be used to enable or disable the system FIPS mode.

We can use yum or dnf to install crypto-policies-scripts on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install crypto-policies-scripts.

Install crypto-policies-scripts on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install crypto-policies-scripts using dnf by running the following command:

sudo dnf -y install crypto-policies-scripts

Install crypto-policies-scripts on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install crypto-policies-scripts using yum by running the following command:

sudo yum -y install crypto-policies-scripts

How To Uninstall crypto-policies-scripts on Fedora 36

To uninstall only the crypto-policies-scripts package we can use the following command:

sudo dnf remove crypto-policies-scripts

crypto-policies-scripts Package Contents on Fedora 36

/usr/bin/fips-finish-install
/usr/bin/fips-mode-setup
/usr/bin/update-crypto-policies
/usr/share/crypto-policies/python
/usr/share/crypto-policies/python/__pycache__
/usr/share/crypto-policies/python/__pycache__/build-crypto-policies.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/__pycache__/build-crypto-policies.cpython-310.pyc
/usr/share/crypto-policies/python/__pycache__/update-crypto-policies.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/__pycache__/update-crypto-policies.cpython-310.pyc
/usr/share/crypto-policies/python/build-crypto-policies.py
/usr/share/crypto-policies/python/cryptopolicies
/usr/share/crypto-policies/python/cryptopolicies/__init__.py
/usr/share/crypto-policies/python/cryptopolicies/__pycache__
/usr/share/crypto-policies/python/cryptopolicies/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/cryptopolicies/__pycache__/__init__.cpython-310.pyc
/usr/share/crypto-policies/python/cryptopolicies/__pycache__/alg_lists.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/cryptopolicies/__pycache__/alg_lists.cpython-310.pyc
/usr/share/crypto-policies/python/cryptopolicies/__pycache__/cryptopolicies.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/cryptopolicies/__pycache__/cryptopolicies.cpython-310.pyc
/usr/share/crypto-policies/python/cryptopolicies/alg_lists.py
/usr/share/crypto-policies/python/cryptopolicies/cryptopolicies.py
/usr/share/crypto-policies/python/cryptopolicies/validation
/usr/share/crypto-policies/python/cryptopolicies/validation/__init__.py
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/__init__.cpython-310.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/alg_lists.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/alg_lists.cpython-310.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/general.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/general.cpython-310.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/rules.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/rules.cpython-310.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/scope.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/scope.cpython-310.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/alg_lists.py
/usr/share/crypto-policies/python/cryptopolicies/validation/general.py
/usr/share/crypto-policies/python/cryptopolicies/validation/rules.py
/usr/share/crypto-policies/python/cryptopolicies/validation/scope.py
/usr/share/crypto-policies/python/policygenerators
/usr/share/crypto-policies/python/policygenerators/__init__.py
/usr/share/crypto-policies/python/policygenerators/__pycache__
/usr/share/crypto-policies/python/policygenerators/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/__init__.cpython-310.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/bind.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/bind.cpython-310.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/configgenerator.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/configgenerator.cpython-310.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/gnutls.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/gnutls.cpython-310.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/java.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/java.cpython-310.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/krb5.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/krb5.cpython-310.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/libreswan.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/libreswan.cpython-310.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/libssh.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/libssh.cpython-310.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/nss.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/nss.cpython-310.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/openssh.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/openssh.cpython-310.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/openssl.cpython-310.opt-1.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/openssl.cpython-310.pyc
/usr/share/crypto-policies/python/policygenerators/bind.py
/usr/share/crypto-policies/python/policygenerators/configgenerator.py
/usr/share/crypto-policies/python/policygenerators/gnutls.py
/usr/share/crypto-policies/python/policygenerators/java.py
/usr/share/crypto-policies/python/policygenerators/krb5.py
/usr/share/crypto-policies/python/policygenerators/libreswan.py
/usr/share/crypto-policies/python/policygenerators/libssh.py
/usr/share/crypto-policies/python/policygenerators/nss.py
/usr/share/crypto-policies/python/policygenerators/openssh.py
/usr/share/crypto-policies/python/policygenerators/openssl.py
/usr/share/crypto-policies/python/update-crypto-policies.py
/usr/share/man/man8/fips-finish-install.8.gz
/usr/share/man/man8/fips-mode-setup.8.gz
/usr/share/man/man8/update-crypto-policies.8.gz

References

Summary

In this tutorial we learn how to install crypto-policies-scripts on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).