-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install third party packages. K4A is gone, Python 3.11 added, Realsen…
…se procedure updated.
- Loading branch information
1 parent
dd9164f
commit 6da5263
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# Install realsense2 SDK from their repository | ||
# | ||
set -x | ||
# Add the key | ||
sudo mkdir -p /etc/apt/keyrings | ||
curl -sSf https://librealsense.intel.com/Debian/librealsense.pgp | sudo tee /etc/apt/keyrings/librealsense.pgp > /dev/null | ||
# Add the repo server | ||
echo "deb [signed-by=/etc/apt/keyrings/librealsense.pgp] https://librealsense.intel.com/Debian/apt-repo `lsb_release -cs` main" | \ | ||
sudo tee /etc/apt/sources.list.d/librealsense.list | ||
# | ||
# Update package list and upgrade packages | ||
sudo apt-get -y update | ||
sudo apt-get -y upgrade | ||
# We need Python 3.11, for now | ||
sudo apt-add-repository -y ppa:deadsnakes/ppa | ||
sudo apt-get install -y python3.11 python3.11-dev python3.11-pip python3.11-venv | ||
# Install packages we need | ||
sudo apt-get install -y tzdata | ||
sudo apt-get install -y software-properties-common | ||
sudo apt-get install -y git cmake | ||
sudo apt-get install -y libpcl-dev | ||
sudo apt-get install -y libturbojpeg0-dev | ||
sudo apt-get install -y libusb-1.0 libusb-dev | ||
sudo apt-get install -y libglfw3 libglfw3-dev | ||
sudo apt-get install -y libopencv-dev | ||
sudo apt-get install -y curl | ||
sudo apt-get install -y librealsense2-dkms librealsense2-utils librealsense2-dev | ||
# K4A doesn't work on 24.04. |