I’d like to create an SD card for the Nano that is as small as possible and only contains the packages needed to execute Tensor RT for inference. The Nano would not be connected to a monitor, so the complete Ubuntu desktop is not required.
I have started with removing almost all standard Ubuntu desktop packages for this (using apt remove) and everything that is related to it. Could you provide guidance around if/what of the XServer and Wayland packages are needed in order to keep the Jetson Nano’s HW acceleration working? Are there any other low level debian packages that are needed to ensure Jetson Nano’s HW acceleration stays working?
Here are the packages I have removed so far:
sudo apt remove ubuntu-desktop sudo apt remove libreoffice-writer chromium-browser chromium* yelp unity thunderbird rhythmbox nautilus gnome-software sudo apt remove ubuntu-artwork ubuntu-sounds ubuntu-wallpapers ubuntu-wallpapers-bionic sudo apt remove vlc-data gdm sudo apt remove unity-settings-daemon packagekit wamerican mysql-common libgdm1 sudo apt remove ubuntu-release-upgrader-gtk ubuntu-web-launchers sudo apt-mark manual cuda-command-line-tools-10-0 cuda-compiler-10-0 cuda-cublas-dev-10-0 cuda-cufft-10-0 cuda-cufft-dev-10-0 cuda-cuobjdump-10-0 cuda-cupti-10-0 cuda-curand-10-0 cuda-curand-dev-10-0 cuda-cusolver-10-0 cuda-cusolver-dev-10-0 cuda-cusparse-10-0 cuda-cusparse-dev-10-0 cuda-gdb-10-0 cuda-gpu-library-advisor-10-0 cuda-libraries-dev-10-0 cuda-memcheck-10-0 cuda-misc-headers-10-0 cuda-nsight-compute-addon-l4t-10-0 cuda-nvcc-10-0 cuda-nvdisasm-10-0 cuda-nvgraph-10-0 cuda-nvgraph-dev-10-0 cuda-nvml-dev-10-0 cuda-nvprof-10-0 cuda-nvprune-10-0 cuda-nvrtc-10-0 cuda-nvrtc-dev-10-0 cuda-nvtx-10-0 cuda-tools-10-0 libxmu-dev libxmu-headers sudo apt-mark manual python3-debconf python3-debian python3-yaml update-notifier-common sudo apt remove cuda-toolkit-10-0 cuda-samples-10-0 cuda-documentation-10-0 sudo apt remove libqt5* qt5-gtk-platformtheme sudo apt remove --purge libreoffice* sudo apt remove bluez libboost-date-time1.65.1 libboost-filesystem1.65.1 libboost-iostreams1.65.1 libboost-locale1.65.1 sudo apt remove remove snapd lightdm cups gnome-applet* gnome-bluetooth gnome-desktop* gnome-sessio* gnome-user* gnome-shell-common gnome-control-center gnome-screenshot sudo apt autoremove