---
# System prepended metadata

title: jetson nano
tags: [雜項]

---

# jetson nano
###### tags: `雜項`
sudo apt-get update

sudo apt-get upgrade

 sudo apt-get install python3-pip python3-dev build-essential 
 
 sudo -H pip3 install jetson-stats
 
  sudo systemctl restart jetson_stats.service
  
   sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev liblapack-dev libblas-dev gfortran qtbase5-dev
   
   pip3 install pycuda

pip3 install --upgrade pip


sudo apt-get install nano -y

$ sudo nano ~/.bashrc

 最後面加入以下內容：
export CUDA_HOME=/usr/local/cuda-10.2

export LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64:$LD_LIBRARY_PATH

export PATH=/usr/local/cuda-10.2/bin:$PATH
 完成後，使其生效：

$ source ~/.bashrc


`pip install --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v42 tensorflow-gpu==1.13.1+nv19.4`


pip3 install keras

cd ~

sudo apt-get install git cmake

git clone --recursive https://github.com/dusty-nv/jetson-inference

cd jetson-inference

mkdir build

cd build

cmake ../

make -j4

sudo make install

sudo ldconfig

// install onnx

sudo apt-get install python-pip protobuf-compiler libprotoc-dev

pip install Cython --user

pip install onnx --user --verbose


