Skip to content

Commit

Permalink
remove unnecessary template file (ROCm#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexxu-amd authored Oct 1, 2024
1 parent ff56cdb commit c3fb8af
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 51 deletions.
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@

exclude_patterns = [
'temp',
'install/native-install/uninstall-rocm-template.rst',
'install/native-install/includes/rhel-multi-install.rst',
'install/native-install/includes/sles-multi-install.rst',
'install/native-install/includes/ubuntu-multi-install.rst'
Expand Down
47 changes: 46 additions & 1 deletion docs/install/native-install/rhel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,50 @@ To upgrade an existing ROCm installation to a newer version, follow the steps in
.. _rhel-uninstall:
.. include:: uninstall-rocm-template.rst
Uninstalling
=====================================================
Uninstall specific meta packages
---------------------------------------------------------------------------
.. code-block:: bash
:substitutions:
# sudo apt autoremove <package-name>
# For example:
sudo dnf remove rocm
# Or for version specific packages:
sudo dnf remove rocm|rocm_version|
Uninstall ROCm packages
---------------------------------------------------------------------------
.. code-block:: bash
:substitutions:
sudo dnf remove rocm-core
# Or for version specific packages:
sudo dnf remove rocm-core|rocm_version|
Uninstall kernel-mode driver
---------------------------------------------------------------------------
.. code-block:: bash
sudo dnf remove amdgpu-dkms
Remove ROCm and AMDGPU repositories
---------------------------------------------------------------------------
.. code-block:: bash
# Remove the repositories.
sudo rm /etc/yum.repos.d/rocm.list
sudo rm /etc/yum.repos.d/amdgpu.list
# Clear the cache and clean the system.
sudo rm -rf /var/cache/yum
sudo dnf clean all
# Restart the system.
sudo reboot
2 changes: 0 additions & 2 deletions docs/install/native-install/ubuntu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,3 @@ Remove ROCm and AMDGPU repositories
# Restart the system.
sudo reboot
47 changes: 0 additions & 47 deletions docs/install/native-install/uninstall-rocm-template.rst

This file was deleted.

0 comments on commit c3fb8af

Please sign in to comment.