DRIVE OS Linux PDK Debian Packages
Use the procedures in this chapter to install the NVIDIA DRIVE OS Linux PDK using the Local Repo Debian packages.
First, download the Local Repo using the instructions in NVONLINE Download.
To install the local repo Debian packages, use
dpkg
.sudo dpkg -i ./nv-driveos-repo-pdk-linux-[RELEASE]-[GCID]_amd64.deb
Run
apt update
to refresh the APT cache:sudo apt update
echo $?
CAUTION: Proceeding with a non-ZERO value can result in installation errors.Install top-level DRIVE OS PDK Debian packages:
export NV_WORKSPACE=/path/where/PDK/needs/to/be/installed
If using PDK Local Repo Debian packages:
sudo -E apt -f -y install nv-driveos-build-pdk-linux-[RELEASE]-[GCID] 2>&1 | tee nv-driveos-build-pdk-linux-[RELEASE]-[GCID]_install.log
To install the optional Integration Test kit Debian package, first download the respective package to a local directory and make sure NV_WORKSPACE still points to current PDK installation folder. Next, run the following:
sudo -E apt -f -y install ./nv-driveos-linux-integration-testkit-pdk-[RELEASE]-[GCID]_amd64.deb
NV_WORKSPACE
. ??After a successful installation of
nv-driveos-build-pdk-linux-[RELEASE]-[GCID]
, the PDK install
directory structure will be as following:
$NV_WORKSPACE directory structure |
Sub-directories |
---|---|
|
|
|
|
|
|
|
|
After exporting NV_WORKSPACE, the following commands should be run:
sudo apt update
sudo apt upgrade
P3898-Specific Package Installation
If you are using a P3898 platform (see DRIVE Platform Supported Boards for more information), install the below platform-specific package for DRIVE OS Linux:
sudo -E apt install ./nv-driveos-linux-p3898-specific
If there are any issues with the installation, remove old packages and reinstall with teh following commands:
sudo -E apt-get -y --purge remove "nv-driveos-linux-p3898-specific*"
sudo apt-get -y autoremove