How To Install reuse on Fedora 34
Introduction
In this tutorial we learn how to install reuse
on Fedora 34.
What is reuse
A tool for compliance with the REUSE recommendations. Essentially, it is a linter that checks for a project’s compliance, and a compiler that generates a project’s bill of materials.
We can use yum
or dnf
to install reuse
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install reuse.
Install reuse on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install reuse
using dnf
by running the following command:
sudo dnf -y install reuse
Install reuse on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install reuse
using yum
by running the following command:
sudo yum -y install reuse
How To Uninstall reuse on Fedora 34
To uninstall only the reuse
package we can use the following command:
sudo dnf remove reuse
reuse Package Contents on Fedora 34
/usr/bin/reuse
/usr/lib/python3.9/site-packages/reuse
/usr/lib/python3.9/site-packages/reuse-0.12.1-py3.9.egg-info
/usr/lib/python3.9/site-packages/reuse-0.12.1-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/reuse-0.12.1-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/reuse-0.12.1-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/reuse-0.12.1-py3.9.egg-info/entry_points.txt
/usr/lib/python3.9/site-packages/reuse-0.12.1-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/reuse-0.12.1-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/reuse/__init__.py
/usr/lib/python3.9/site-packages/reuse/__main__.py
/usr/lib/python3.9/site-packages/reuse/__pycache__
/usr/lib/python3.9/site-packages/reuse/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/__main__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/__main__.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/_comment.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/_comment.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/_format.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/_format.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/_licenses.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/_licenses.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/_main.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/_main.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/_util.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/_util.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/download.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/download.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/header.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/header.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/init.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/init.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/lint.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/lint.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/project.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/project.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/report.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/report.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/spdx.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/spdx.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/vcs.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/reuse/__pycache__/vcs.cpython-39.pyc
/usr/lib/python3.9/site-packages/reuse/_comment.py
/usr/lib/python3.9/site-packages/reuse/_format.py
/usr/lib/python3.9/site-packages/reuse/_licenses.py
/usr/lib/python3.9/site-packages/reuse/_main.py
/usr/lib/python3.9/site-packages/reuse/_util.py
/usr/lib/python3.9/site-packages/reuse/download.py
/usr/lib/python3.9/site-packages/reuse/header.py
/usr/lib/python3.9/site-packages/reuse/init.py
/usr/lib/python3.9/site-packages/reuse/lint.py
/usr/lib/python3.9/site-packages/reuse/locale
/usr/lib/python3.9/site-packages/reuse/locale/de
/usr/lib/python3.9/site-packages/reuse/locale/de/LC_MESSAGES
/usr/lib/python3.9/site-packages/reuse/locale/de/LC_MESSAGES/reuse.mo
/usr/lib/python3.9/site-packages/reuse/locale/eo
/usr/lib/python3.9/site-packages/reuse/locale/eo/LC_MESSAGES
/usr/lib/python3.9/site-packages/reuse/locale/eo/LC_MESSAGES/reuse.mo
/usr/lib/python3.9/site-packages/reuse/locale/es
/usr/lib/python3.9/site-packages/reuse/locale/es/LC_MESSAGES
/usr/lib/python3.9/site-packages/reuse/locale/es/LC_MESSAGES/reuse.mo
/usr/lib/python3.9/site-packages/reuse/locale/fr
/usr/lib/python3.9/site-packages/reuse/locale/fr/LC_MESSAGES
/usr/lib/python3.9/site-packages/reuse/locale/fr/LC_MESSAGES/reuse.mo
/usr/lib/python3.9/site-packages/reuse/locale/gl
/usr/lib/python3.9/site-packages/reuse/locale/gl/LC_MESSAGES
/usr/lib/python3.9/site-packages/reuse/locale/gl/LC_MESSAGES/reuse.mo
/usr/lib/python3.9/site-packages/reuse/locale/it
/usr/lib/python3.9/site-packages/reuse/locale/it/LC_MESSAGES
/usr/lib/python3.9/site-packages/reuse/locale/it/LC_MESSAGES/reuse.mo
/usr/lib/python3.9/site-packages/reuse/locale/nl
/usr/lib/python3.9/site-packages/reuse/locale/nl/LC_MESSAGES
/usr/lib/python3.9/site-packages/reuse/locale/nl/LC_MESSAGES/reuse.mo
/usr/lib/python3.9/site-packages/reuse/locale/pt
/usr/lib/python3.9/site-packages/reuse/locale/pt/LC_MESSAGES
/usr/lib/python3.9/site-packages/reuse/locale/pt/LC_MESSAGES/reuse.mo
/usr/lib/python3.9/site-packages/reuse/locale/tr
/usr/lib/python3.9/site-packages/reuse/locale/tr/LC_MESSAGES
/usr/lib/python3.9/site-packages/reuse/locale/tr/LC_MESSAGES/reuse.mo
/usr/lib/python3.9/site-packages/reuse/project.py
/usr/lib/python3.9/site-packages/reuse/report.py
/usr/lib/python3.9/site-packages/reuse/resources
/usr/lib/python3.9/site-packages/reuse/resources/exceptions.json
/usr/lib/python3.9/site-packages/reuse/resources/exceptions.json.license
/usr/lib/python3.9/site-packages/reuse/resources/licenses.json
/usr/lib/python3.9/site-packages/reuse/resources/licenses.json.license
/usr/lib/python3.9/site-packages/reuse/spdx.py
/usr/lib/python3.9/site-packages/reuse/templates
/usr/lib/python3.9/site-packages/reuse/templates/default_template.jinja2
/usr/lib/python3.9/site-packages/reuse/templates/default_template.jinja2.license
/usr/lib/python3.9/site-packages/reuse/vcs.py
/usr/share/doc/reuse
/usr/share/doc/reuse/CHANGELOG.md
/usr/share/doc/reuse/README.md
/usr/share/doc/reuse/html
/usr/share/doc/reuse/html/_modules
/usr/share/doc/reuse/html/_modules/index.html
/usr/share/doc/reuse/html/_modules/reuse
/usr/share/doc/reuse/html/_modules/reuse.html
/usr/share/doc/reuse/html/_modules/reuse/download.html
/usr/share/doc/reuse/html/_modules/reuse/header.html
/usr/share/doc/reuse/html/_modules/reuse/init.html
/usr/share/doc/reuse/html/_modules/reuse/lint.html
/usr/share/doc/reuse/html/_modules/reuse/project.html
/usr/share/doc/reuse/html/_modules/reuse/report.html
/usr/share/doc/reuse/html/_modules/reuse/spdx.html
/usr/share/doc/reuse/html/_modules/reuse/vcs.html
/usr/share/doc/reuse/html/_sources
/usr/share/doc/reuse/html/_sources/api
/usr/share/doc/reuse/html/_sources/api/modules.rst.txt
/usr/share/doc/reuse/html/_sources/api/reuse.download.rst.txt
/usr/share/doc/reuse/html/_sources/api/reuse.header.rst.txt
/usr/share/doc/reuse/html/_sources/api/reuse.init.rst.txt
/usr/share/doc/reuse/html/_sources/api/reuse.lint.rst.txt
/usr/share/doc/reuse/html/_sources/api/reuse.project.rst.txt
/usr/share/doc/reuse/html/_sources/api/reuse.report.rst.txt
/usr/share/doc/reuse/html/_sources/api/reuse.rst.txt
/usr/share/doc/reuse/html/_sources/api/reuse.spdx.rst.txt
/usr/share/doc/reuse/html/_sources/api/reuse.vcs.rst.txt
/usr/share/doc/reuse/html/_sources/authors.rst.txt
/usr/share/doc/reuse/html/_sources/history.md.txt
/usr/share/doc/reuse/html/_sources/index.rst.txt
/usr/share/doc/reuse/html/_sources/readme.md.txt
/usr/share/doc/reuse/html/_sources/usage.rst.txt
/usr/share/doc/reuse/html/_static
/usr/share/doc/reuse/html/_static/basic.css
/usr/share/doc/reuse/html/_static/css
/usr/share/doc/reuse/html/_static/css/badge_only.css
/usr/share/doc/reuse/html/_static/css/theme.css
/usr/share/doc/reuse/html/_static/doctools.js
/usr/share/doc/reuse/html/_static/documentation_options.js
/usr/share/doc/reuse/html/_static/file.png
/usr/share/doc/reuse/html/_static/jquery-3.5.1.js
/usr/share/doc/reuse/html/_static/jquery.js
/usr/share/doc/reuse/html/_static/js
/usr/share/doc/reuse/html/_static/js/badge_only.js
/usr/share/doc/reuse/html/_static/js/theme.js
/usr/share/doc/reuse/html/_static/language_data.js
/usr/share/doc/reuse/html/_static/minus.png
/usr/share/doc/reuse/html/_static/plus.png
/usr/share/doc/reuse/html/_static/pygments.css
/usr/share/doc/reuse/html/_static/searchtools.js
/usr/share/doc/reuse/html/_static/underscore-1.3.1.js
/usr/share/doc/reuse/html/_static/underscore.js
/usr/share/doc/reuse/html/api
/usr/share/doc/reuse/html/api/modules.html
/usr/share/doc/reuse/html/api/reuse.download.html
/usr/share/doc/reuse/html/api/reuse.header.html
/usr/share/doc/reuse/html/api/reuse.html
/usr/share/doc/reuse/html/api/reuse.init.html
/usr/share/doc/reuse/html/api/reuse.lint.html
/usr/share/doc/reuse/html/api/reuse.project.html
/usr/share/doc/reuse/html/api/reuse.report.html
/usr/share/doc/reuse/html/api/reuse.spdx.html
/usr/share/doc/reuse/html/api/reuse.vcs.html
/usr/share/doc/reuse/html/authors.html
/usr/share/doc/reuse/html/genindex.html
/usr/share/doc/reuse/html/history.html
/usr/share/doc/reuse/html/index.html
/usr/share/doc/reuse/html/objects.inv
/usr/share/doc/reuse/html/py-modindex.html
/usr/share/doc/reuse/html/readme.html
/usr/share/doc/reuse/html/search.html
/usr/share/doc/reuse/html/searchindex.js
/usr/share/doc/reuse/html/usage.html
/usr/share/licenses/reuse
/usr/share/licenses/reuse/Apache-2.0.txt
/usr/share/licenses/reuse/CC-BY-SA-4.0.txt
/usr/share/licenses/reuse/CC0-1.0.txt
/usr/share/licenses/reuse/GPL-3.0-or-later.txt
References
Summary
In this tutorial we learn how to install reuse
on Fedora 34 using yum and dnf.