Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dataslayermedia/8676e010a9121adaaab8e6dc98bca383 to your computer and use it in GitHub Desktop.
Save dataslayermedia/8676e010a9121adaaab8e6dc98bca383 to your computer and use it in GitHub Desktop.
Install-Coral-PCIe-Accelerator-TPU-Linux
# Install curl
sudo apt-get install -y curl
# Add the Coral Edge TPU repository
echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
# Add the Google Cloud package signing key
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
# Update the package list
sudo apt-get update
# Install the Gasket driver and Edge TPU runtime library
sudo apt-get install -y gasket-dkms libedgetpu1-std
# Create udev rule for the Apex device
sudo sh -c "echo 'SUBSYSTEM==\"apex\", MODE=\"0660\", GROUP=\"apex\"' >> /etc/udev/rules.d/65-apex.rules"
# Create the 'apex' group if it doesn't already exist
if ! getent group apex > /dev/null; then
sudo groupadd apex
fi
# Add the current user to the 'apex' group
sudo adduser $USER apex
@Zukang-Liao
Copy link

I got this error message. Can anyone help me out on this?
Errors were encountered while processing:
gasket-dkms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment