import { Steps } from "@/components/ui/steps"
import CopyableCode from "@/components/CopyableCode"
export const metadata = {
title: "Install Coral TPU on the Host | ProxMenux Documentation",
description: "Step-by-step guide to install Google Coral TPU drivers on a Proxmox VE host using ProxMenux.",
}
export default function InstallCoralTPUHost() {
return (
Install Coral TPU on the Host
Before using Coral TPU inside an LXC container, the drivers must first be installed on the Proxmox VE host. This script automates that process, ensuring the necessary setup is completed.
This guide explains how to install and configure Google Coral TPU drivers on a Proxmox VE host using ProxMenux.
This setup enables hardware acceleration for AI-based applications that leverage Coral TPU.
Overview
The script automates the following steps:
- Prompts for confirmation before proceeding with installation.
- Verifies and configures necessary repositories on the host.
- Installs required dependencies for driver compilation.
- Clones the Coral TPU driver repository and builds the drivers.
- Installs the compiled Coral TPU drivers.
- Prompts for a system restart to apply changes.
Implementation Steps
The script prompts the user for confirmation before proceeding, as a system restart is required after installation.
The script verifies and configures required repositories:
- Adds the pve-no-subscription repository if not present.
- Adds non-free-firmware repositories for required packages.
- Runs an update to fetch the latest package lists.
The script installs and compiles the required drivers:
- Installs dependencies such as git, dkms, devscripts, and kernel headers.
- Clones the gasket-driver repository from Google.
- Builds the Coral TPU driver packages.
- Installs the compiled drivers on the host.
The script prompts the user to restart the server to apply the changes.
Expected Results
- The Coral TPU drivers are installed successfully on the Proxmox VE host.
- Required repositories and dependencies are configured properly.
- A system restart is performed to complete the installation.
- After the restart, the host is ready to utilize Coral TPU for AI workloads.
Important Considerations
- A stable internet connection is required to fetch repositories and dependencies.
- This script modifies system repositories and installs new packages.
- Root or sudo privileges are required to execute the script.
- It's recommended to create a system backup before running the script.
By using ProxMenux, Coral TPU drivers can be installed on a Proxmox VE host efficiently, avoiding manual setup and potential configuration issues.
)
}