Skip to content

Commit

Permalink
Mention that in Fedora you can now install scancode from Fedora repo (#…
Browse files Browse the repository at this point in the history
…3824)


Signed-off-by: Miroslav Suchý <[email protected]>
Co-authored-by: Ayan Sinha Mahapatra <[email protected]>
  • Loading branch information
xsuchy and AyanSinhaMahapatra authored Jun 26, 2024
1 parent 1242518 commit 9a6354d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
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::

dnf install scancode-toolkit

To uninstall, run::

dnf remove scancode-toolkit


----

.. _commands_variation:
Expand Down

0 comments on commit 9a6354d

Please sign in to comment.