Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ There are a few common ways to `install ScanCode <https://scancode-toolkit.readt
- `Run in a Docker container with a git clone and "docker run"
<https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#installation-via-docker>`_

- In Fedora 40+ you can `dnf install scancode-toolkit`


Quick Start
===========
Expand Down Expand Up @@ -258,4 +260,4 @@ the third-party code used in ScanCode for more details.

.. |release-github-actions| image:: https://github.com/nexB/scancode-toolkit/actions/workflows/scancode-release.yml/badge.svg?event=push
:target: https://github.com/nexB/scancode-toolkit/actions/workflows/scancode-release.yml
:alt: Release tests
:alt: Release tests
21 changes: 21 additions & 0 deletions docs/source/getting-started/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ For advanced usage and experienced users, you can also use any of these mode:
``pip``. This is recommended for developers or users familiar with Python
that want to embed ScanCode as a library.

- :ref:`fedora_install`

ScanCode is part of main Fedora Linux repository. It will automatically install
all dependencies. This is recommended for production deployments.

----

Before Installing
Expand Down Expand Up @@ -412,6 +417,22 @@ To uninstall, run::
pip uninstall scancode-toolkit


----

.. _fedora_install:

Install from Fedora's repository
--------------------------------

The package is available in Fedora 40 and newer. Run:
Comment thread
xsuchy marked this conversation as resolved.
Outdated

dnf install scancode-toolkit

To uninstall, run:
Comment thread
xsuchy marked this conversation as resolved.
Outdated

dnf remove scancode-toolkit


----

.. _commands_variation:
Expand Down