File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 4
4
#
5
5
# SPDX-License-Identifier: MIT
6
6
7
- wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
8
- sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
9
- echo " deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
7
+ # download the key to system keyring
8
+ wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
9
+
10
+ # add signed entry to apt sources and configure the APT client to use Intel repository:
11
+ echo " deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee
10
12
sudo apt-get update -o Dir::Etc::sourcelist=" sources.list.d/oneAPI.list" -o APT::Get::List-Cleanup=" 0"
You can’t perform that action at this time.
0 commit comments