How To Install createrepo.noarch on Amazon Linux 2
In this tutorial we learn how to install createrepo.noarch in Amazon Linux 2. createrepo.noarch is Creates a common metadata repository
Introduction
In this tutorial we learn how to install createrepo.noarch
on Amazon Linux 2.
What is createrepo.noarch
This utility will generate a common metadata repository from a directory of rpm packages.
We can use yum
to install createrepo.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install createrepo.noarch.
Install createrepo.noarch on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install createrepo.noarch
using yum
by running the following command:
sudo yum -y install createrepo.noarch
How To Uninstall createrepo.noarch on Amazon Linux 2
To uninstall only the createrepo.noarch
package we can use the following command:
sudo yum remove createrepo.noarch
createrepo.noarch Package Contents on Amazon Linux 2
//etc
/etc/bash_completion.d
/etc/bash_completion.d/createrepo
/etc/bash_completion.d/genpkgmetadata.py
/etc/bash_completion.d/mergerepo
/etc/bash_completion.d/mergerepo.py
/etc/bash_completion.d/modifyrepo
/etc/bash_completion.d/modifyrepo.py
/usr/bin/createrepo
/usr/bin/mergerepo
/usr/bin/modifyrepo
/usr/lib/python2.7/site-packages/createrepo
/usr/lib/python2.7/site-packages/createrepo/__init__.py
/usr/lib/python2.7/site-packages/createrepo/__init__.pyc
/usr/lib/python2.7/site-packages/createrepo/deltarpms.py
/usr/lib/python2.7/site-packages/createrepo/deltarpms.pyc
/usr/lib/python2.7/site-packages/createrepo/merge.py
/usr/lib/python2.7/site-packages/createrepo/merge.pyc
/usr/lib/python2.7/site-packages/createrepo/readMetadata.py
/usr/lib/python2.7/site-packages/createrepo/readMetadata.pyc
/usr/lib/python2.7/site-packages/createrepo/utils.py
/usr/lib/python2.7/site-packages/createrepo/utils.pyc
/usr/lib/python2.7/site-packages/createrepo/yumbased.py
/usr/lib/python2.7/site-packages/createrepo/yumbased.pyc
/usr/share/createrepo
/usr/share/createrepo/genpkgmetadata.py
/usr/share/createrepo/mergerepo.py
/usr/share/createrepo/modifyrepo.py
/usr/share/createrepo/worker.py
/usr/share/doc/createrepo-0.9.9
/usr/share/doc/createrepo-0.9.9/COPYING
/usr/share/doc/createrepo-0.9.9/COPYING.lib
/usr/share/doc/createrepo-0.9.9/ChangeLog
/usr/share/doc/createrepo-0.9.9/README
/usr/share/man/man1/mergerepo.1
/usr/share/man/man1/modifyrepo.1
/usr/share/man/man8/createrepo.8
References
Summary
In this tutorial we learn how to install createrepo.noarch
on Amazon Linux 2 using yum.