Skip to content

Commit

Permalink
adding SUSEConnect packages to SLES install, and fix FAQ typo (#290)
Browse files Browse the repository at this point in the history
* adding SUSEConnect packages to SLES install, and fix FAQ typo

* make education repo install method similar to perl, for consistency

* make the quick start reboot message stand out some more

* clean up prerequisites for RHEL and SUSE
  • Loading branch information
yhuiYH authored Sep 20, 2024
1 parent f11a30b commit 5702a7c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 40 deletions.
47 changes: 13 additions & 34 deletions docs/install/prerequisites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,48 +67,24 @@ your operating system to ensure you're able to download and install packages.
Typically you can register by following the step-by-step user interface.
If you need to register by command line, use the following commands:

.. datatemplate:nodata::
.. tab-set::

{% for os_release in config.html_context['rhel_release_version_numbers'] %}

.. tab-item:: RHEL {{ os_release }}

.. code-block:: shell
subscription-manager register --username <username> --password <password>
subscription-manager attach --auto
.. code-block:: shell
{% endfor %}
subscription-manager register --username <username> --password <password>
subscription-manager attach --auto
More details about `registering for RHEL <https://access.redhat.com/solutions/253273>`_
More details about `registering for RHEL <https://access.redhat.com/solutions/253273>`_

.. tab-item:: SUSE Linux Enterprise Server
:sync: sle-tab

Typically you can register by following the step-by-step user interface.
If you need to register by command line, use the following commands:

.. code-block:: shell
.. datatemplate:nodata::
.. tab-set::

{% for os_version in config.html_context['sles_version_numbers'] %}
{% set os_release, os_sp = os_version.split('.') %}

.. tab-item:: SLES {{ os_version }}

.. code-block:: shell
SUSEConnect -r <REGCODE>
SUSEConnect -p sle-module-desktop-applications/{{ os_version }}/x86_64
SUSEConnect -p sle-module-development-tools/{{ os_version }}/x86_64
SUSEConnect -p PackageHub/{{ os_version }}/x86_64
{% endfor %}
SUSEConnect -r <REGCODE>
More details about `registering for SLES <https://www.suse.com/support/kb/doc/?id=000018564>`_
More details about `registering for SLES <https://www.suse.com/support/kb/doc/?id=000018564>`_


Additional package repositories
Expand Down Expand Up @@ -157,7 +133,7 @@ instructions specific to your distribution to add the necessary repositories.
.. tab-item:: SUSE Linux Enterprise Server
:sync: sle-tab

Add the Perl language and Education repositories.
Add a few modules with SUSEConnect, along with the Perl language and Education repositories.

.. datatemplate:nodata::
Expand All @@ -170,8 +146,11 @@ instructions specific to your distribution to add the necessary repositories.

.. code-block:: shell
SUSEConnect -p sle-module-desktop-applications/{{ os_version }}/x86_64
SUSEConnect -p sle-module-development-tools/{{ os_version }}/x86_64
SUSEConnect -p PackageHub/{{ os_version }}/x86_64
sudo zypper addrepo https://download.opensuse.org/repositories/devel:/languages:/perl/{{ os_version }}/devel:languages:perl.repo
sudo zypper addrepo https://download.opensuse.org/repositories/Education/{{ os_version }}/ Education
sudo zypper addrepo https://download.opensuse.org/repositories/Education/{{ os_version }}/Education.repo
{% endfor %}

Expand Down
9 changes: 6 additions & 3 deletions docs/install/quick-start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Quick start installation guide

This topic provides basic installation instructions for ROCm on Linux using your distribution’s native package manager. Before you begin, you should confirm your :ref:`kernel version <verify_kernel_version>` matches the :ref:`ROCm system requirements <supported_distributions>`.

Once you do, review your required installation instructions by selecting your operating system and version, and then run the provided commands in your terminal.
Once you do, review your required installation instructions by selecting your operating system and version, and then run the provided commands in your terminal. The commands include the installation of the prerequisites, along with installing ROCm.

For more in-depth installation instructions, refer to :ref:`detailed-install-overview`.

Expand Down Expand Up @@ -79,16 +79,19 @@ For more in-depth installation instructions, refer to :ref:`detailed-install-ove
:substitutions:
sudo zypper update
SUSEConnect -p sle-module-desktop-applications/{{ os_version }}/x86_64
SUSEConnect -p sle-module-development-tools/{{ os_version }}/x86_64
SUSEConnect -p PackageHub/{{ os_version }}/x86_64
sudo zypper addrepo https://download.opensuse.org/repositories/devel:languages:perl/{{ os_version}}/devel:languages:perl.repo
sudo zypper addrepo https://download.opensuse.org/repositories/Education/{{ os_version }}/ Education
sudo zypper addrepo https://download.opensuse.org/repositories/Education/{{ os_version }}/Education.repo
sudo zypper install kernel-default-devel
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
sudo zypper install amdgpu-dkms rocm
{% endfor %}

.. note::
.. important::

To apply all settings, reboot your system.

Expand Down
6 changes: 3 additions & 3 deletions docs/reference/install-faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ Docker images often come with minimal installations, meaning some essential pack
zypper install sudo wget SUSEConnect
SUSEConnect -r <REGCODE>
SUSEConnect -p sle-module-desktop-application/15.4/x86_64
SUSEConnect -p sle-module-development-tools/15.4/x86_64
SUSEConnect -p PackageHub/15.4/x86_64
SUSEConnect -p sle-module-desktop-applications/15.5/x86_64
SUSEConnect -p sle-module-development-tools/15.5/x86_64
SUSEConnect -p PackageHub/15.5/x86_64
After installing these packages and :ref:`registering using your license for Enterprise Linux <register-enterprise-linux>` (if applicable), install ROCm following the :doc:`Quick start installation guide <../install/quick-start>` in your Docker container.

Expand Down

0 comments on commit 5702a7c

Please sign in to comment.