Yum repository on local machine If you want to install software/packages after installation of linux (CentOS, Fedora etc.). You can create…