~/.bashrc

# 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 <<<
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Eternal-Student

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值