From 25dfbefd62a4d43f66bbd2eeb755a5b94cca0e19 Mon Sep 17 00:00:00 2001 From: Sam Wu Date: Wed, 21 Jun 2023 17:10:48 -0600 Subject: [PATCH] update install instructions fix links to repos for amdgpu --- docs/deploy/linux/installer/install.md | 94 +++++++++++++------------- docs/deploy/linux/os-native/install.md | 82 +++++++++++----------- docs/deploy/linux/os-native/upgrade.md | 78 ++++++++++----------- 3 files changed, 127 insertions(+), 127 deletions(-) diff --git a/docs/deploy/linux/installer/install.md b/docs/deploy/linux/installer/install.md index 609a74620..302a7ddb9 100644 --- a/docs/deploy/linux/installer/install.md +++ b/docs/deploy/linux/installer/install.md @@ -13,23 +13,23 @@ following commands based on your distribution. :sync: ubuntu ::::{tab-set} +:::{tab-item} Ubuntu 18.04 +:sync: ubuntu-18.04 + +```shell +sudo apt update +wget https://repo.radeon.com/amdgpu-install/22.20.1/ubuntu/bionic/amdgpu-install_22.20.1.50201-1_all.deb +sudo apt install ./amdgpu-install_22.20.1.50201-1_all.deb +``` + +::: :::{tab-item} Ubuntu 20.04 :sync: ubuntu-20.04 ```shell sudo apt update -wget https://repo.radeon.com/amdgpu-install/5.2.3/ubuntu/focal/amdgpu-install_5.2.50203-1_all.deb -sudo apt install ./amdgpu-install_5.2.50203-1_all.deb -``` - -::: -:::{tab-item} Ubuntu 22.04 -:sync: ubuntu-22.04 - -```shell -sudo apt update -wget https://repo.radeon.com/amdgpu-install/5.2.3/ubuntu/jammy/amdgpu-install_5.2.50203-1_all.deb -sudo apt install ./amdgpu-install_5.2.50203-1_all.deb +wget https://repo.radeon.com/amdgpu-install/22.20.1/ubuntu/focal/amdgpu-install_22.20.1.50201-1_all.deb +sudo apt install ./amdgpu-install_22.20.1.50201-1_all.deb ``` ::: @@ -39,30 +39,30 @@ sudo apt install ./amdgpu-install_5.2.50203-1_all.deb :sync: RHEL ::::{tab-set} -:::{tab-item} RHEL 8.6 -:sync: RHEL-8.6 -:sync: RHEL-8 +:::{tab-item} RHEL 7.9 +:sync: RHEL-7.9 +:sync: RHEL-7 ```shell -sudo yum install https://repo.radeon.com/amdgpu-install/5.2.3/rhel/8.6/amdgpu-install-5.2.50203-1.el8.noarch.rpm +sudo yum install https://repo.radeon.com/amdgpu-install/22.20.1/rhel/7.9/amdgpu-install-22.20.1.50201-1.el7.noarch.rpm ``` ::: -:::{tab-item} RHEL 8.7 -:sync: RHEL-8.7 +:::{tab-item} RHEL 8.4 +:sync: RHEL-8.4 :sync: RHEL-8 ```shell -sudo yum install https://repo.radeon.com/amdgpu-install/5.2.3/rhel/8.7/amdgpu-install-5.2.50203-1.el8.noarch.rpm +sudo yum install https://repo.radeon.com/amdgpu-install/22.20.1/rhel/8.4/amdgpu-install-22.20.1.50201-1.el8.noarch.rpm ``` ::: -:::{tab-item} RHEL 9.1 -:sync: RHEL-9.1 -:sync: RHEL-9 +:::{tab-item} RHEL 8.5 +:sync: RHEL-8.5 +:sync: RHEL-8 ```shell -sudo yum install https://repo.radeon.com/amdgpu-install/5.2.3/rhel/9.1/amdgpu-install-5.2.50203-1.el8.noarch.rpm +sudo yum install https://repo.radeon.com/amdgpu-install/22.20.1/rhel/8.5/amdgpu-install-22.20.1.50201-1.el8.noarch.rpm ``` ::: @@ -76,7 +76,7 @@ sudo yum install https://repo.radeon.com/amdgpu-install/5.2.3/rhel/9.1/amdgpu-in :sync: SLES15-SP4 ```shell -sudo zypper --no-gpg-checks install https://repo.radeon.com/amdgpu-install/5.2.3/sle/15.4/amdgpu-install-5.2.50203-1.noarch.rpm +sudo zypper --no-gpg-checks install https://repo.radeon.com/amdgpu-install/22.20.1/sle/15/amdgpu-install-22.20.1.50201-1.noarch.rpm ``` ::: @@ -155,9 +155,9 @@ the installer script will install packages in the single-version layout. For the multi-version ROCm installation you must use the installer script from the latest release of ROCm that you wish to install. -**Example:** If you want to install ROCm releases 5.1.3 and 5.2.3 +**Example:** If you want to install ROCm releases 5.0.2 and 5.2.1 simultaneously, you are required to download the installer from the latest ROCm -release v5.2.3. +release v5.2.1. ### Add Required Repositories @@ -172,24 +172,24 @@ Run the following commands based on your distribution to add the repositories: :sync: ubuntu ::::{tab-set} -:::{tab-item} Ubuntu 20.04 -:sync: ubuntu-20.04 +:::{tab-item} Ubuntu 18.04 +:sync: ubuntu-18.04 ```shell -for ver in 5.1.3 5.2.3; do -echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/rocm-keyring.gpg] https://repo.radeon.com/rocm/apt/$ver focal main" | sudo tee /etc/apt/sources.list.d/rocm.list +for ver in 5.0.2 5.2.1; do +echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/rocm-keyring.gpg] https://repo.radeon.com/rocm/apt/$ver bionic main" | sudo tee /etc/apt/sources.list.d/rocm.list done echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600 sudo apt update ``` ::: -:::{tab-item} Ubuntu 22.04 -:sync: ubuntu-22.04 +:::{tab-item} Ubuntu 20.04 +:sync: ubuntu-20.04 ```shell -for ver in 5.1.3 5.2.3; do -echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/rocm-keyring.gpg] https://repo.radeon.com/rocm/apt/$ver jammy main" | sudo tee /etc/apt/sources.list.d/rocm.list +for ver in 5.0.2 5.2.1; do +echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/rocm-keyring.gpg] https://repo.radeon.com/rocm/apt/$ver focal main" | sudo tee /etc/apt/sources.list.d/rocm.list done echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600 sudo apt update @@ -202,15 +202,15 @@ sudo apt update :sync: RHEL ::::{tab-set} -:::{tab-item} RHEL 8 -:sync: RHEL-8 +:::{tab-item} RHEL 7 +:sync: RHEL-7 ```shell -for ver in 5.1.3 5.2.3; do +for ver in 5.0.2 5.2.1; do sudo tee --append /etc/yum.repos.d/rocm.repo < ``` Following are examples of ROCm multi-version installation. The kernel-mode -driver, associated with the ROCm release v5.3, will be installed as its latest +driver, associated with the ROCm release v5.2.1, will be installed as its latest release in the list. ```none -sudo amdgpu-install --usecase=rocm --rocmrelease=5.1.3 -sudo amdgpu-install --usecase=rocm --rocmrelease=5.2.3 +sudo amdgpu-install --usecase=rocm --rocmrelease=5.0.2 +sudo amdgpu-install --usecase=rocm --rocmrelease=5.2.1 ``` ## Additional options diff --git a/docs/deploy/linux/os-native/install.md b/docs/deploy/linux/os-native/install.md index 60e894dfb..f7d782215 100644 --- a/docs/deploy/linux/os-native/install.md +++ b/docs/deploy/linux/os-native/install.md @@ -48,23 +48,23 @@ section. To add the AMDGPU repository, follow these steps: ::::{tab-set} -:::{tab-item} Ubuntu 20.04 -:sync: ubuntu-20.04 +:::{tab-item} Ubuntu 18.04 +:sync: ubuntu-18.04 ```shell -# amdgpu repository for focal -echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/5.2.3/ubuntu focal main' \ +# amdgpu repository for bionic +echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/22.20.1/ubuntu bionic main' \ | sudo tee /etc/apt/sources.list.d/amdgpu.list sudo apt update ``` ::: -:::{tab-item} Ubuntu 22.04 -:sync: ubuntu-22.04 +:::{tab-item} Ubuntu 20.04 +:sync: ubuntu-20.04 ```shell -# amdgpu repository for jammy -echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/5.2.3/ubuntu jammy main' \ +# amdgpu repository for focal +echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/22.20.1/ubuntu focal main' \ | sudo tee /etc/apt/sources.list.d/amdgpu.list sudo apt update ``` @@ -86,13 +86,13 @@ sudo reboot To add the ROCm repository, use the following steps: ::::{tab-set} -:::{tab-item} Ubuntu 20.04 -:sync: ubuntu-20.04 +:::{tab-item} Ubuntu 18.04 +:sync: ubuntu-18.04 ```shell -# ROCm repositories for focal -for ver in 5.1.3 5.2.3; do -echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/$ver focal main" \ +# ROCm repositories for bionic +for ver in 5.0.2 5.2.1; do +echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/$ver bionic main" \ | sudo tee --append /etc/apt/sources.list.d/rocm.list done echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' \ @@ -101,13 +101,13 @@ sudo apt update ``` ::: -:::{tab-item} Ubuntu 22.04 -:sync: ubuntu-22.04 +:::{tab-item} Ubuntu 20.04 +:sync: ubuntu-20.04 ```shell -# ROCm repositories for jammy -for ver in 5.1.3 5.2.3; do -echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/$ver jammy main" \ +# ROCm repositories for focal +for ver in 5.0.2 5.2.1; do +echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/$ver focal main" \ | sudo tee --append /etc/apt/sources.list.d/rocm.list done echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' \ @@ -136,7 +136,7 @@ For a comprehensive list of meta-packages, refer to - Sample Multi-version installation ```shell - sudo apt install rocm-hip-sdk5.2.3 rocm-hip-sdk5.1.3 + sudo apt install rocm-hip-sdk5.0.2 rocm-hip-sdk5.2.1 ``` ::::: @@ -152,15 +152,15 @@ section. ``` ::::{tab-set} -:::{tab-item} RHEL 8.6 -:sync: RHEL-8.6 -:sync: RHEL-8 +:::{tab-item} RHEL 7.9 +:sync: RHEL-7.9 +:sync: RHEL-7 ```shell sudo tee /etc/yum.repos.d/amdgpu.repo <