summaryrefslogtreecommitdiffstats
path: root/doc/installation.rst.in
blob: ea0415d10d4464145e35bb49370818f45dd93c7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Installation
============

Debian / Ubuntu:
----------------

.. code-block:: sh

    $ apt-get install libnvme

Fedora / Red Hat:
-----------------

.. code-block:: sh

    $ dnf install libnvme

Python binding
--------------

Python Version
^^^^^^^^^^^^^^

The latest Python 3 version is always recommended, since it has all
the latest bells and whistles. libnvme supports Python 3.6 and above.

Dependencies
^^^^^^^^^^^^

libnvme only uses packages from the standard library, so no additional
dependencies will be installed when installing libnvme.

Install libnvme python
^^^^^^^^^^^^^^^^^^^^^^

Debian / Ubuntu:

.. code-block:: sh

    $ apt-get install python3-libnvme

Fedora / Red Hat:

.. code-block:: sh

    $ dnf install python3-libnvme

libnvme is available on `PyPI`_, and can be installed using pip. The
version on PyPI is always the latest stable release.

.. _PyPi: https://pypi.org/project/libnvme/

.. code-block:: sh

    $ pip install libnvme