-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add python and pip installation templates
- Loading branch information
Showing
5 changed files
with
74 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
.. Copyright (C) 2024 Wazuh, Inc. | ||
The required modules can be installed with pip, the Python package manager. Most UNIX distributions have this tool available in their software repositories: | ||
|
||
.. tabs:: | ||
|
||
.. group-tab:: Yum | ||
|
||
.. code-block:: console | ||
# yum update && yum install python3-pip | ||
.. group-tab:: APT | ||
|
||
.. code-block:: console | ||
# apt-get update && apt-get install python3-pip | ||
It is recommended to use a pip version greater than or equal to 19.3 to ease the installation of the required dependencies. | ||
|
||
.. tabs:: | ||
|
||
.. group-tab:: Python 3.8–3.10 | ||
|
||
.. code-block:: console | ||
# pip3 install --upgrade pip | ||
.. group-tab:: Python 3.11 | ||
|
||
.. code-block:: console | ||
# pip3 install --upgrade pip --break-system-packages | ||
.. note:: | ||
|
||
This command modifies the default externally managed Python environment. See the `PEP 668 <https://peps.python.org/pep-0668/>`__ description for more information. | ||
|
||
To prevent the modification, you can run ``pip3 install --upgrade pip`` within a virtual environment. You must update the module's script shebang with your virtual environment interpreter, for example, ``#!/path/to/your/virtual/environment/bin/python3``. | ||
|
||
|
||
.. End of include file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.. Copyright (C) 2024 Wazuh, Inc. | ||
.. tabs:: | ||
|
||
.. group-tab:: Yum | ||
|
||
.. code-block:: console | ||
# yum update && yum install python3 | ||
.. group-tab:: APT | ||
|
||
.. code-block:: console | ||
# apt-get update && apt-get install python3 | ||
.. End of include file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters