1. 解压arm-linux-gcc文件
tar xvzf tar-linux-gcc -C /
2. 修改环境变量
vi /etc/profile
在文件profile下修改文件如下:
MAIL="/var/spool/mail/$USER"
fi
# Path manipulation
if [ "$EUID" = "0" ]; then
pathmunge /usr/sbin
pathmunge /usr/local/sbin
pathmunge /usr/local/arm/4.3.2/bin (增加的路径)
else
pathmunge /usr/local/sbin after
pathmunge /usr/sbin after
3. 使文件生效
source /etc/profile