Skip to content

Commit 9a6354d

Browse files
Mention that in Fedora you can now install scancode from Fedora repo (#3824)
Signed-off-by: Miroslav Suchý <msuchy@redhat.com> Co-authored-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent 1242518 commit 9a6354d

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ There are a few common ways to `install ScanCode <https://scancode-toolkit.readt
161161
- `Run in a Docker container with a git clone and "docker run"
162162
<https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#installation-via-docker>`_
163163

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

165167
Quick Start
166168
===========
@@ -258,4 +260,4 @@ the third-party code used in ScanCode for more details.
258260

259261
.. |release-github-actions| image:: https://github.com/nexB/scancode-toolkit/actions/workflows/scancode-release.yml/badge.svg?event=push
260262
:target: https://github.com/nexB/scancode-toolkit/actions/workflows/scancode-release.yml
261-
:alt: Release tests
263+
:alt: Release tests

docs/source/getting-started/install.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ For advanced usage and experienced users, you can also use any of these mode:
3434
``pip``. This is recommended for developers or users familiar with Python
3535
that want to embed ScanCode as a library.
3636

37+
- :ref:`fedora_install`
38+
39+
ScanCode is part of main Fedora Linux repository. It will automatically install
40+
all dependencies. This is recommended for production deployments.
41+
3742
----
3843

3944
Before Installing
@@ -412,6 +417,22 @@ To uninstall, run::
412417
pip uninstall scancode-toolkit
413418

414419

420+
----
421+
422+
.. _fedora_install:
423+
424+
Install from Fedora's repository
425+
--------------------------------
426+
427+
The package is available in Fedora 40 and newer. Run::
428+
429+
dnf install scancode-toolkit
430+
431+
To uninstall, run::
432+
433+
dnf remove scancode-toolkit
434+
435+
415436
----
416437

417438
.. _commands_variation:

0 commit comments

Comments
 (0)