Skip to content

Commit

Permalink
Support and compatibility with official openSUSE repository (openvino…
Browse files Browse the repository at this point in the history
…toolkit#24208)

@ilya-lavrenov 
Thank you very much for your patience and support.

It took a while to complete the official publication in the science
repository of the openSUSE Tumbleweed distribution.

The result is gratifying, as it was a lot of work to make Intel and
openSUSE technical policies compatible (it took 3 months of work).

Evidence: 
Upcoming tasks
- Add 15.4. 15.5 and 15.6 (This will be faster)
- Add to default repository in progress.

https://build.opensuse.org/request/show/1168442
https://software.opensuse.org/package/openvino

https://software.opensuse.org/download/package?package=openvino&project=science

---------

Co-authored-by: Sebastian Golebiewski <sebastianx.golebiewski@intel.com>
  • Loading branch information
2 people authored and alvoron committed Apr 29, 2024
1 parent b20fccc commit 69e6c54
Show file tree
Hide file tree
Showing 3 changed files with 195 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/articles_en/get-started/install-openvino.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ Install OpenVINO™ 2024.0

.. dropdown:: Distribution Comparison for OpenVINO 2024.0

=============== ========== ====== ========= ======== ============ ========== ========== ==========
Device Archives PyPI APT/YUM Conda Homebrew vcpkg Conan npm
=============== ========== ====== ========= ======== ============ ========== ========== ==========
CPU V V V V V V V V
GPU V V V V V V V V
NPU V\* V\* V\* n/a n/a n/a n/a V\*
=============== ========== ====== ========= ======== ============ ========== ========== ==========
=============== ========== ====== =============== ======== ============ ========== ========== ==========
Device Archives PyPI APT/YUM/ZYPPER Conda Homebrew vcpkg Conan npm
=============== ========== ====== =============== ======== ============ ========== ========== ==========
CPU V V V V V V V V
GPU V V V V V V V V
NPU V\* V\* V\ * n/a n/a n/a n/a V\*
=============== ========== ====== =============== ======== ============ ========== ========== ==========

| \* **Of the Linux systems, only Ubuntu 22.04 includes drivers for NPU device.**
| **For Windows, CPU inference on ARM64 is not supported.**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Install OpenVINO™ Runtime on Linux
Use PyPI <install-openvino-pip>
Use APT <install-openvino-apt>
Use YUM <install-openvino-yum>
Use ZYPPER <install-openvino-zypper>
Use Conda Forge <install-openvino-conda>
Use vcpkg <install-openvino-vcpkg>
Use Homebrew <install-openvino-brew>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
.. {#openvino_docs_install_guides_installing_openvino_zypper}
Install OpenVINO™ Runtime on Linux From ZYPPER Repository
=========================================================


.. meta::
:description: Learn how to install OpenVINO™ Runtime on Linux operating
system, using the ZYPPER repository.

.. note::

Note that the ZYPPER distribution:

* offers both C/C++ APIs
* does not offer support for NPU inference
* is dedicated to Linux users only
* additionally includes code samples

.. tab-set::

.. tab-item:: System Requirements
:sync: system-requirements

| Full requirement listing is available in:
| :doc:`System Requirements Page <../../../about-openvino/release-notes-openvino/system-requirements>`
.. note::

OpenVINO RPM packages are compatible with and can be run on the following operating systems:

- openSUSE Tumbleweed

.. tab-item:: Processor Notes
:sync: processor-notes

| To see if your processor includes the integrated graphics technology and supports iGPU inference, refer to:
| `Product Specifications <https://ark.intel.com/>`__
.. tab-item:: Software
:sync: software

* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`_
* GCC 8.2.0
* `Python 3.8 - 3.11, 64-bit <https://www.python.org/downloads/>`_


Install OpenVINO Runtime
########################

Step 1: Set Up the Repository
+++++++++++++++++++++++++++++


1. Create a ZYPPER repository file with the command below:

.. code-block:: sh
sudo zypper addrepo https://download.opensuse.org/repositories/science/openSUSE_Tumbleweed/science.repo
sudo zypper refresh
2. Verify that the new repository is set up properly.

.. code-block:: sh
zypper lr |grep -i science
You will see the available list of packages.

To list available OpenVINO packages, use the following command:

.. code-block:: sh
zypper se openvino
Step 2: Install OpenVINO Runtime Using the ZYPPER Package Manager
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Install OpenVINO Runtime
-------------------------

Run the following command:

.. code-block:: sh
sudo zypper install openvino-devel openvino-sample
Check for Installed Packages and Version
-----------------------------------------


Run the following command:

.. code-block:: sh
zypper se -i openvino
.. note::
You can additionally install Python API using one of the alternative methods (:doc:`conda <install-openvino-conda>` or :doc:`pip <install-openvino-pip>`).

Congratulations! You've just Installed OpenVINO! For some use cases you may still
need to install additional components. Check the
:doc:`list of additional configurations <../configurations>`
to see if your case needs any of them.

With the ZYPPER distribution, you can build OpenVINO sample files, as explained in the
:doc:`guide for OpenVINO sample applications <../../../learn-openvino/openvino-samples>`.
For C++ and C, just run the ``build_samples.sh`` script:

.. tab-set::

.. tab-item:: C++
:sync: cpp

.. code-block:: sh
/usr/share/openvino/samples/cpp/build_samples.sh
.. tab-item:: C
:sync: c

.. code-block:: sh
/usr/share/openvino/samples/c/build_samples.sh
Uninstalling OpenVINO Runtime
##############################

To uninstall OpenVINO Runtime via ZYPPER, run the following command based on your needs:

.. tab-set::

.. tab-item:: The Latest Version
:sync: latest-version

.. code-block:: sh
sudo zypper remove *openvino*
.. tab-item:: A Specific Version
:sync: specific-version

.. code-block:: sh
sudo zypper remove *openvino-<VERSION>.<UPDATE>.<PATCH>*
For example:

.. code-block:: sh
sudo zypper remove *openvino-2024.0.0*
What's Next?
#############

Now that you've installed OpenVINO Runtime, you're ready to run your own machine learning applications!
Learn more about how to integrate a model in OpenVINO applications by trying out the following tutorials:

* Try the :doc:`C++ Quick Start Example <../../../learn-openvino/openvino-samples/get-started-demos>`
for step-by-step instructions on building and running a basic image classification C++ application.

.. image:: https://user-images.githubusercontent.com/36741649/127170593-86976dc3-e5e4-40be-b0a6-206379cd7df5.jpg
:width: 400

* Visit the :ref:`Samples <code samples>` page for other C++ example applications to get you started with OpenVINO, such as:

* :doc:`Basic object detection with the Hello Reshape SSD C++ sample <../../../learn-openvino/openvino-samples/hello-reshape-ssd>`
* :doc:`Object classification sample <../../../learn-openvino/openvino-samples/hello-classification>`

You can also try the following things:

* Learn more about :doc:`OpenVINO Workflow <../../../openvino-workflow>`.
* To prepare your models for working with OpenVINO, see :doc:`Model Preparation <../../../openvino-workflow/model-preparation>`.
* See pre-trained deep learning models in our :doc:`Open Model Zoo <../../../documentation/legacy-features/model-zoo>`.
* Learn more about :doc:`Inference with OpenVINO Runtime <../../../openvino-workflow/running-inference>`.
* See sample applications in :doc:`OpenVINO toolkit Samples Overview <../../../learn-openvino/openvino-samples>`.
* Take a glance at the OpenVINO `product home page <https://software.intel.com/en-us/openvino-toolkit>`__ .




0 comments on commit 69e6c54

Please sign in to comment.