From 36ef304e9bd50f98fad45ae170b9ed47951fd432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 24 Jun 2024 14:30:54 +0200 Subject: [PATCH 1/3] Mention that in Fedora you can now install scancode from Fedora repository MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://bodhi.fedoraproject.org/updates/?packages=scancode-toolkit Signed-off-by: Miroslav Suchý --- README.rst | 4 +++- docs/source/getting-started/install.rst | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index eca9654c3b2..71e3ce6ba48 100644 --- a/README.rst +++ b/README.rst @@ -161,6 +161,8 @@ There are a few common ways to `install ScanCode `_ +- In Fedora 40+ you can `dnf install scancode-toolkit` + Quick Start =========== @@ -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 \ No newline at end of file + :alt: Release tests diff --git a/docs/source/getting-started/install.rst b/docs/source/getting-started/install.rst index d890150420f..eeb16a67cd5 100644 --- a/docs/source/getting-started/install.rst +++ b/docs/source/getting-started/install.rst @@ -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 @@ -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: From 2730f67ca7ebb99305663fe16fa5eca8a4d3ad72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 26 Jun 2024 15:11:25 +0200 Subject: [PATCH 2/3] Update docs/source/getting-started/install.rst Co-authored-by: Ayan Sinha Mahapatra --- docs/source/getting-started/install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/getting-started/install.rst b/docs/source/getting-started/install.rst index eeb16a67cd5..67172ebd16a 100644 --- a/docs/source/getting-started/install.rst +++ b/docs/source/getting-started/install.rst @@ -424,7 +424,7 @@ To uninstall, run:: Install from Fedora's repository -------------------------------- -The package is available in Fedora 40 and newer. Run: +The package is available in Fedora 40 and newer. Run:: dnf install scancode-toolkit From 57df1ceb8c096cfcd82a867d6faaac64c701c3f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 26 Jun 2024 15:11:45 +0200 Subject: [PATCH 3/3] Update docs/source/getting-started/install.rst Co-authored-by: Ayan Sinha Mahapatra --- docs/source/getting-started/install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/getting-started/install.rst b/docs/source/getting-started/install.rst index 67172ebd16a..ff8601c7c27 100644 --- a/docs/source/getting-started/install.rst +++ b/docs/source/getting-started/install.rst @@ -428,7 +428,7 @@ The package is available in Fedora 40 and newer. Run:: dnf install scancode-toolkit -To uninstall, run: +To uninstall, run:: dnf remove scancode-toolkit