Skip to content

Commit a3d44a3

Browse files
committed
Install pciutils before using lspci
1 parent 75a9488 commit a3d44a3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

1-BasicSetUp.sh

+3
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ fi # Anaconda Installation end
156156
# echo "\$ conda clean --all"
157157
# echo "Do this for each environment as well as your root. Then reinstall all except nomkl"
158158

159+
# For utilities such as lspci
160+
execute sudo apt-get install pciutils
161+
159162
## Detect if an Nvidia card is attached, and install the graphics drivers automatically
160163
if [[ -n $(lspci | grep -i nvidia) ]]; then
161164
spatialPrint "Installing Display drivers and any other auto-detected drivers for your hardware"

3-ML-Basic.sh

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ run_and_echo () {
3030
echo "$1" >> $2
3131
}
3232

33+
# For utilities such as lspci
34+
execute sudo apt-get install pciutils
3335

3436
if [[ (-n $(lspci | grep -i nvidia)) && (! ( -d "/usr/local/cuda" ) ) ]]; then
3537
echo "Installing the latest cuda"

0 commit comments

Comments
 (0)