# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
# path
# export PATH="/usr/local/cuda-11.4/bin:/home/nvidia/miniconda3/bin:$PATH" # commented out by conda initialize
export LD_LIBARAY="/usr/lib:/usr/lib/aarch64-linux-gnu:usr/local/cuda-11.4/lib64:$LD_LIBARAY"
#export GST_PLUGIN_PATH="/usr/lib/aarch64-linux-gnu/gstreamer1.0:/usr/lib/aarch64-linux-gnu/gstreamer-1.0:$GST_PLUGIN_PATHo"
export GST_PLUGIN_PATH="/usr/lib/aarch64-linux-gnu/gstreamer1.0:$GST_PLUGIN_PATH"
export PKG_CONFIG_PATH="/usr/lib/aarch64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH"
export PATHONPATH="/usr/lib/python3/dist-packages:$PATHONPATH"
# 设置头文件搜索路径
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/path/to/opencv/include
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/nvidia/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/nvidia/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/nvidia/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/nvidia/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
~/.bashrc
最新推荐文章于 2024-11-03 12:02:27 发布