Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
1210db29
Unverified
Commit
1210db29
authored
Sep 25, 2023
by
Michael Yang
Committed by
GitHub
Sep 25, 2023
Browse files
Merge pull request #592 from jmorganca/mxyng/install.sh
fix dkms on debian
parents
83964632
d0854bf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/install.sh
scripts/install.sh
+1
-1
No files found.
scripts/install.sh
View file @
1210db29
...
@@ -204,7 +204,7 @@ if ! lsmod | grep -q nvidia; then
...
@@ -204,7 +204,7 @@ if ! lsmod | grep -q nvidia; then
debian|ubuntu
)
$SUDO
apt-get
-y
install
linux-headers-
$KERNEL_RELEASE
;;
debian|ubuntu
)
$SUDO
apt-get
-y
install
linux-headers-
$KERNEL_RELEASE
;;
esac
esac
NVIDIA_CUDA_VERSION
=
$(
dkms status |
awk
-F
:
'/added/ { print $1 }'
)
NVIDIA_CUDA_VERSION
=
$(
$SUDO
dkms status |
awk
-F
:
'/added/ { print $1 }'
)
if
[
-n
"
$NVIDIA_CUDA_VERSION
"
]
;
then
if
[
-n
"
$NVIDIA_CUDA_VERSION
"
]
;
then
$SUDO
dkms
install
$NVIDIA_CUDA_VERSION
$SUDO
dkms
install
$NVIDIA_CUDA_VERSION
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment