ubuntu 16.04配置嵌入式linux开发环境出现Unable to locate package lib32bz2-1.0

问题描述:Ubuntu16 64位安装android studio的32位库 sudo apt-get install lib32bz2-1.0失败

虚拟机上运行ubuntu 16.04 环境 ,打开配置开发海思3516的环境,输入如下命令时

apt-get install g++ u-boot-tools lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 zlib1g-dev liblzo2-dev uuid-dev libacl1-dev libncurses5-dev

结果出现下面问题:

E: Unable to locate package lib32bz2-1.0
E: Couldn't find any package by glob 'lib32bz2-1.0'
E: Couldn't find any package by regex 'lib32bz2-1.0'

在这里插入图片描述

解决办法

运行下面问题:

sudo apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 lib32stdc++6

参考: https://blog.csdn.net/ljttianqin/article/details/77367759

去掉出错的部分命令,再次重新运行

apt-get install g++ u-boot-tools lib32z1 lib32ncurses5  lib32stdc++6 zlib1g-dev liblzo2-dev uuid-dev libacl1-dev libncurses5-dev

完成环境搭建

你可能感兴趣的:(海思芯片与深度学习,linux学习笔记)