# Installing Azure-Kinect-SDK 1.4 on Ubuntu 22.04# Based on: https://github.com/juancarlosmiranda/azure_kinect_notes/# Step 1: Install Essential Toolssudoapt-getinstall-ybuild-essentialsudoapt-getinstall-ycmakesudoapt-getinstall-ylibgtk2.0-devsudoapt-getinstall-ylibusb-1.0sudoapt-getinstall-yffmpegsudoapt-getinstall-ymlocatesudoapt-getinstall-ylocatesudoaptinstall-ycurl# Step 2: Add Microsoft Repositories for Ubuntu 20.04 and 18.04# Ubuntu 20.04curl-sSLhttps://packages.microsoft.com/keys/microsoft.asc|sudotee/etc/apt/trusted.gpg.d/microsoft.ascsudoapt-add-repositoryhttps://packages.microsoft.com/ubuntu/20.04/prod# Ubuntu 18.04curl-sSLhttps://packages.microsoft.com/keys/microsoft.asc|sudoapt-keyadd-sudoapt-add-repositoryhttps://packages.microsoft.com/ubuntu/18.04/prodcurl-sSLhttps://packages.microsoft.com/config/ubuntu/18.04/prod.list|sudotee/etc/apt/sources.list.d/microsoft-prod.listcurl-sSLhttps://packages.microsoft.com/keys/microsoft.asc|sudoapt-keyadd-# Step 3: Install Azure Kinect Packagessudoapt-getupdatesudoapt-getinstall-ylibk4a1.4sudoaptinstall-ylibk4a1.4-dev# Step 4: Install Dependency libsoundio1# Note: libsoundio1 is a dependency for k4a-tools# https://packages.ubuntu.com/focal/amd64/libsoundio1/downloadwgetmirrors.kernel.org/ubuntu/pool/universe/libs/libsoundio/libsoundio1_1.1.0-1_amd64.debsudodpkg-ilibsoundio1_1.1.0-1_amd64.debsudoaptinstall-yk4a-tools# Step 5: Copy Udev Rules so no root / sudo is needed to access the kinect devicesudocp99-k4a.rules/etc/udev/rules.d/# Step 6: Verify Installation# Use lsusb to check if the Microsoft devices are correctly recognizedlsusb|grep"Microsoft"# Expected Output:# Bus 004 Device 006: ID 045e:097c Microsoft Corp. Azure Kinect Depth Camera# Bus 004 Device 005: ID 045e:097d Microsoft Corp. Azure Kinect 4K Camera# Bus 004 Device 004: ID 045e:097a Microsoft Corp. 4-Port USB 3.0 Hub# Bus 003 Device 008: ID 045e:097e Microsoft Corp. Azure Kinect Microphone Array# Bus 003 Device 006: ID 045e:097b Microsoft Corp. 4-Port USB 2.0 Hub# Step 7: Run k4aviewerk4aviewer# Instructions: Select 'Open Device' -> Click 'Start'# Image Should Appear