From 602dc0f27138393fd2ee1b7085bd74cc878c6114 Mon Sep 17 00:00:00 2001 From: Zitong Zhan Date: Fri, 10 May 2024 00:29:33 -0400 Subject: [PATCH 1/5] Update install.rst --- docs/install/install.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/install/install.rst b/docs/install/install.rst index 2ef868f10e..baf95431c5 100644 --- a/docs/install/install.rst +++ b/docs/install/install.rst @@ -61,7 +61,13 @@ Installation .. code:: shell - apt-get install hip-runtime-nvidia hip-dev + sudo apt-get install hip-runtime-nvidia hip-dev + + If the above packages are not found, `download the package signing key `_ and add the following repository. + .. code:: shell + echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/debian/ jammy main" \ + | sudo tee --append /etc/apt/sources.list.d/rocm.list + sudo apt update The default paths are: * CUDA SDK: ``/usr/local/cuda`` From 2aa4556985408fcdd37cc9122c0fcf016d8f6c18 Mon Sep 17 00:00:00 2001 From: Zitong Zhan Date: Fri, 10 May 2024 00:31:46 -0400 Subject: [PATCH 2/5] Update install.rst --- docs/install/install.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/install/install.rst b/docs/install/install.rst index baf95431c5..80b3f3d417 100644 --- a/docs/install/install.rst +++ b/docs/install/install.rst @@ -64,6 +64,7 @@ Installation sudo apt-get install hip-runtime-nvidia hip-dev If the above packages are not found, `download the package signing key `_ and add the following repository. + .. code:: shell echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/debian/ jammy main" \ | sudo tee --append /etc/apt/sources.list.d/rocm.list From 139d80221b45c77ab222c24bc9dac8562fedd7a0 Mon Sep 17 00:00:00 2001 From: Zitong Zhan Date: Fri, 10 May 2024 00:32:20 -0400 Subject: [PATCH 3/5] Update install.rst --- docs/install/install.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/install/install.rst b/docs/install/install.rst index 80b3f3d417..39f87228aa 100644 --- a/docs/install/install.rst +++ b/docs/install/install.rst @@ -66,6 +66,7 @@ Installation If the above packages are not found, `download the package signing key `_ and add the following repository. .. code:: shell + echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/debian/ jammy main" \ | sudo tee --append /etc/apt/sources.list.d/rocm.list sudo apt update From 2acd684765533406dc55337745ff6046470dd18b Mon Sep 17 00:00:00 2001 From: Zitong Zhan Date: Thu, 16 May 2024 21:17:34 -0400 Subject: [PATCH 4/5] Update install.rst --- docs/install/install.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/install/install.rst b/docs/install/install.rst index 39f87228aa..5f250cd6e4 100644 --- a/docs/install/install.rst +++ b/docs/install/install.rst @@ -66,8 +66,8 @@ Installation If the above packages are not found, `download the package signing key `_ and add the following repository. .. code:: shell - - echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/debian/ jammy main" \ + CODENAME=$(lsb_release -c | awk '{print $2}') + echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/debian/ $CODENAME main" \ | sudo tee --append /etc/apt/sources.list.d/rocm.list sudo apt update From 6e0f7890e697ea7f85db95e7dca8a41b29da267f Mon Sep 17 00:00:00 2001 From: Zitong Zhan Date: Thu, 16 May 2024 21:20:11 -0400 Subject: [PATCH 5/5] Update install.rst --- docs/install/install.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/install/install.rst b/docs/install/install.rst index 5f250cd6e4..af9c87901e 100644 --- a/docs/install/install.rst +++ b/docs/install/install.rst @@ -66,6 +66,7 @@ Installation If the above packages are not found, `download the package signing key `_ and add the following repository. .. code:: shell + CODENAME=$(lsb_release -c | awk '{print $2}') echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/debian/ $CODENAME main" \ | sudo tee --append /etc/apt/sources.list.d/rocm.list