Skip to content

Commit

Permalink
add package manager install section
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Jun Park <[email protected]>
  • Loading branch information
peterjunpark committed Jul 25, 2024
1 parent 1a94f72 commit bcb858e
Showing 1 changed file with 37 additions and 3 deletions.
40 changes: 37 additions & 3 deletions docs/install/core-install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ Core installation
=================

The core Omniperf application requires the following basic software
dependencies. The core Omniperf is included with your ROCm installation.
dependencies. As of ROCm 6.2, the core Omniperf is included with your ROCm
installation.

* Python ``>= 3.8``
* CMake ``>= 3.19``
Expand Down Expand Up @@ -89,8 +90,8 @@ follows.

.. _core-install-steps:

Installation steps
------------------
Install from source
-------------------

#. A typical install begins by downloading the latest release tarball available
from `<https://github.com/ROCm/omniperf/releases>`__. From there, untar and
Expand Down Expand Up @@ -189,6 +190,39 @@ configuration.
export PATH=$INSTALL_DIR/{{ config.version }}/bin:$PATH
export PYTHONPATH=$INSTALL_DIR/python-libs
.. _core-install-package:

Install via package manager
---------------------------

Once ROCm (minimum version 6.2.0) is installed, you can install Omniperf using
your operating system's native package manager using the following commands.
See :doc:`rocm-install-on-linux:index` for guidance on installing the ROCm
software stack.

.. tab-set::

.. tab-item:: Ubuntu

.. code-block:: shell
$ sudo apt install omniperf
$ pip install -r /opt/rocm/libexec/omniperf/requirements.txt
.. tab-item:: Red Hat Enterprise Linux

.. code-block:: shell
$ sudo yum install omniperf
$ pip install -r /opt/rocm/libexec/omniperf/requirements.txt
.. tab-item:: SUSE Linux Enterprise Server

.. code-block:: shell
$ sudo zypper install omniperf
$ pip install -r /opt/rocm/libexec/omniperf/requirements.txt
.. _core-install-rocprof-var:

ROCProfiler
Expand Down

0 comments on commit bcb858e

Please sign in to comment.