Skip to content

Commit

Permalink
adding python3-setuptools python3-wheel installation for fixing amdsm…
Browse files Browse the repository at this point in the history
…i error (ROCm#360)

Co-authored-by: Alex Xu <[email protected]>
  • Loading branch information
alexxu-amd and Alex Xu authored Dec 13, 2024
1 parent c2712b7 commit 188a2fc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/install/prerequisites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ To install for the currently active kernel run the command corresponding to your
.. code-block:: shell
sudo apt install "linux-headers-$(uname -r)" "linux-modules-extra-$(uname -r)"
sudo apt install python3-setuptools python3-wheel
.. tab-item:: Red Hat Enterprise Linux
:sync: rhel-tab
Expand All @@ -228,6 +229,7 @@ To install for the currently active kernel run the command corresponding to your
{% else %}
sudo dnf install "kernel-headers-$(uname -r)" "kernel-devel-$(uname -r)"
{% endif %}
sudo dnf install python3-setuptools python3-wheel
{% endfor %}
Expand All @@ -237,13 +239,15 @@ To install for the currently active kernel run the command corresponding to your
.. code-block:: shell
sudo dnf install "kernel-uek-devel-$(uname -r)"
sudo dnf install python3-setuptools python3-wheel
.. tab-item:: SUSE Linux Enterprise Server
:sync: sle-tab
.. code-block:: shell
sudo zypper install kernel-default-devel
sudo zypper install python3-setuptools python3-wheel
.. _group_permissions:
Expand Down
4 changes: 4 additions & 0 deletions docs/install/quick-start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ For more in-depth installation instructions, refer to :ref:`detailed-install-ove
sudo apt update
sudo apt install "linux-headers-$(uname -r)" "linux-modules-extra-$(uname -r)"
sudo apt install python3-setuptools python3-wheel
sudo usermod -a -G render,video $LOGNAME # Add the current user to the render and video groups
wget https://repo.radeon.com/amdgpu-install/|amdgpu_version|/ubuntu/{{ os_release }}/amdgpu-install_|amdgpu_install_version|_all.deb
sudo apt install ./amdgpu-install_|amdgpu_install_version|_all.deb
Expand Down Expand Up @@ -63,6 +64,7 @@ For more in-depth installation instructions, refer to :ref:`detailed-install-ove
{%- else -%}
sudo dnf install "kernel-headers-$(uname -r)" "kernel-devel-$(uname -r)"
{%- endif %}
sudo dnf install python3-setuptools python3-wheel
sudo usermod -a -G render,video $LOGNAME # Add the current user to the render and video groups
sudo dnf install https://repo.radeon.com/amdgpu-install/|amdgpu_version|/rhel/{{ os_version }}/amdgpu-install-|amdgpu_install_version|.el{{ os_major }}.noarch.rpm
sudo dnf clean all
Expand All @@ -85,6 +87,7 @@ For more in-depth installation instructions, refer to :ref:`detailed-install-ove
sudo dnf install dnf-plugin-config-manager
sudo crb enable
sudo dnf install "kernel-uek-devel-$(uname -r)"
sudo dnf install python3-setuptools python3-wheel
sudo usermod -a -G render,video $LOGNAME # Add the current user to the render and video groups
sudo dnf install https://repo.radeon.com/amdgpu-install/|amdgpu_version|/el/{{ os_version }}/amdgpu-install-|amdgpu_install_version|.el{{ os_major }}.noarch.rpm
sudo dnf clean all
Expand All @@ -111,6 +114,7 @@ For more in-depth installation instructions, refer to :ref:`detailed-install-ove
sudo zypper addrepo https://download.opensuse.org/repositories/Education/{{ os_version }}/Education.repo
sudo zypper addrepo https://download.opensuse.org/repositories/science/SLE_15_SP5/science.repo # Once SLE_15_SP6 is created, change the static folder "SLE_15_SP5" to dynamic
sudo zypper install kernel-default-devel
sudo zypper install python3-setuptools python3-wheel
sudo usermod -a -G render,video $LOGNAME # Add the current user to the render and video groups
sudo zypper --no-gpg-checks install https://repo.radeon.com/amdgpu-install/|amdgpu_version|/sle/{{ os_version }}/amdgpu-install-|amdgpu_install_version|.noarch.rpm
sudo zypper refresh
Expand Down

0 comments on commit 188a2fc

Please sign in to comment.