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 issue (ROCm#372)

Co-authored-by: Alex Xu <[email protected]>
(cherry picked from commit 91d71c2)
  • Loading branch information
alexxu-amd authored and Alex Xu committed Dec 17, 2024
1 parent 554a4a5 commit 1428df6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/install/prerequisites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,15 @@ 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

.. code-block:: shell
sudo dnf install "kernel-headers-$(uname -r)" "kernel-devel-$(uname -r)"
sudo dnf install python3-setuptools python3-wheel
.. tab-item:: SUSE Linux Enterprise Server
Expand All @@ -214,6 +216,7 @@ To install for the currently active kernel run the command corresponding to your
.. code-block:: shell
sudo zypper install kernel-default-devel
sudo zypper install python3-setuptools python3-wheel
Setting permissions for groups
================================================================
Expand Down
3 changes: 3 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 All @@ -59,6 +60,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-headers-$(uname -r)" "kernel-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|/rhel/{{ os_version }}/amdgpu-install-|amdgpu_install_version|.el{{ os_major }}.noarch.rpm
sudo dnf clean all
Expand Down Expand Up @@ -86,6 +88,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 --gpg-auto-import-keys refresh
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 --gpg-auto-import-keys refresh
Expand Down

0 comments on commit 1428df6

Please sign in to comment.