If we use Jetson Nano's default image to start our project, we may have some follow steps to make our work easier.

Fix a config

sudo chown root:root / /lib

Clean up desktop packages

sudo apt purge ubuntu-desktop -y
sudo apt-get remove -y nautilus nautilus-* \
    gnome-control-center gnome-screenshot gnome-power-manager \
    gnome-screensaver  gnome-bluetooth gnome-shell-common \
    gnome-termina* gnome-pane* gnome-applet* gnome-desktop* \
    gnome-sessio* gnome-user* \
    zeitgeist-core libzeitgeist* 
sudo apt-get -y autoremove

Remove unused programs

sudo apt-get remove --purge libreoffice*
sudo apt-get remove libreoffice-core
sudo apt-get remove snapd lightdm cups chromium*
sudo apt-get remove libcurlpp0
########################
rm -rf Desktop
rm -rf Documents
rm -rf Downloads
rm -rf Public
rm -rf Videos
rm -rf Classes
rm -rf Music
rm -rf examples.desktop
rm -rf Templates/
rm -rf Pictures
rm -rf VisionWorks-SFM-0.90-Samples
rm -rf NVIDIA_CUDA-9.0_Samples

Remove sources and the default user

cd /usr/src/
sudo rm -rf *

sudo userdel -r ubuntu

Install a easy to use netplan

sudo apt install netplan.io netplan-

After that, try this:

sudo netplan generate
sudo netplan try

Install jtop

pip install jetson-stats

References

  • https://forums.developer.nvidia.com/t/can-i-install-ubuntu-server-in-jetson-nano/72132
  • https://linuxhint.com/install_netplan_ubuntu/
  • https://vitux.com/how-to-configure-networking-with-netplan-on-ubuntu/
  • https://ubuntuforums.org/showthread.php?t=2400673
Categories: Code

Yu

Ideals are like the stars: we never reach them, but like the mariners of the sea, we chart our course by them.

Leave a Reply

Your email address will not be published. Required fields are marked *