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

Update ca-certificates

sudo apt update
sudo apt-get install apt-transport-https ca-certificates -y
sudo update-ca-certificates

It may resolve the issue can not trust Let's Encrypt certificate.

You may also use

sudo apt update
sudo apt install -y libgnutls30

instead.

References

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.