ubuntu14.04 install arm-linux-gcc error

来源:互联网 发布:jdk 6u45 windows x86 编辑:程序博客网 时间:2024/06/04 18:55
problem:     arm-none-linux-gnueabi-gcc: command not found
miss the ia32-libs,step by step as follow can solve the problem

1.切换到root权限

       sudo -i

2.进入apt源列表

      cd /etc/apt/sources.list.d

3.添加ubuntu 13.04的源,因为13.10的后续版本废弃了ia32-libs

 echo "deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse" > ia32-libs-raring.list


4.更新源并安装ia32-libs

      apt-get update

      apt-get install ia32-libs


5.恢复源

      rm ia32-libs-raring.list

      apt-get update

0 0
原创粉丝点击