我正在尝试安装 GNU ARM Embedded Toolchain,以便将其与 Ubuntu 机器中的 Sublime Text 3 集成。
我按照以下步骤操作,但出现错误:
1.从“ https://launchpad.net/gcc-arm-embedded/+downloadGo ”下载数据包,然后将数据包解压缩到主目录:
cd ~/
tar -xvjf ~/Downloads/gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2
2.测试文件是否存在,权限是否正常。
ll ~/gcc-arm-none-eabi-5_4-2016q3/bin
-rwxrwxrwx 2 root root 776368 set 26 19:36 arm-none-eabi-gcc*
--- I obmited the others files... ---
3.测试是否有效:
sudo ~/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gcc --version
但我得到了这个错误:
bash: /home/fabio/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gcc: No such file or directory
我怎样才能解决这个问题?我的用户是“fabio”,但文件的所有者是 root。