[ubuntu][tenosrrt]ubuntu上tensorrt环境变量配置

vi ~/.bashrc

export TR_PATH=your path
export PATH=$PATH:$TR_PATH/bin
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:$TR_PATH/include
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TR_PATH/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TR_PATH/targets/x86_64-linux-gnu/lib

source ~/.bashrc

你可能感兴趣的:(ubuntu,环境配置,ubuntu,linux,运维)