kali linux: /android-sdk-linux/platform-tools/adb: 没有那个文件或目录

android-sdk_r24.3.3-linux.tgz   ---> /root/android-sdk-linux

# gedit /root/.bashrc
export PATH=$PATH:/root/android-sdk-linux/platform-tools

root@debian:/mnt/opt/android-on-linux# cd /etc/apt/sources.list.d
root@debian:/etc/apt/sources.list.d# echo "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list
root@debian:/etc/apt/sources.list.d# apt-get update

root@debian:/etc/apt/sources.list.d# apt-get install ia32-libs
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32z1 lib32ncurses5

E: Package 'ia32-libs' has no installation candidate
root@debian:/etc/apt/sources.list.d#

root@debian:/etc/apt/sources.list.d# apt-get install lib32z1 lib32ncurses5

root@debian:/etc/apt/sources.list.d# adb
adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


root@debian:/etc/apt/sources.list.d# apt-get install lib32stdc++6

root@debian:/etc/apt/sources.list.d# rm ia32-libs-raring.list

root@debian:/etc/apt/sources.list.d# apt-get update



++++++++++++++++++++++++++++


ubuntu 13.10 amd64安装ia32-libs

http://www.ubuntukylin.com/ukylin/forum.php?mod=viewthread&tid=5107&highlight=ia32

很多软件只有32位的,有的依赖32位库还挺严重的;从ubuntu 13.10已经废弃了ia32-libs,但可以使用多架构,安装软件或包apt-get install program:i386。有的还是觉得烦,想一步到位安装所有的以前的ia32-libs,可以使用以下方法:

  1. sudo -i
  2. cd /etc/apt/sources.list.d
  3. echo "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list
  4. apt-get update
  5. apt-get install ia32-libs
PS:这种方法肯定能安装上ia32-libs,但由于添加的是13.04的源,所以有没有混淆暂时不清楚,网上也有很多用新立德软件包管理器这样做;够 狠,你就这么干。也可以这么安装了ia32-libs后,把/etc/apt/sources.list.d目录下的ia32-libs- raring.list删掉,然后再sudo apt-get update

++++++++++++++++++++++++++++






<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(66) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
posted @ 2016-02-01 00:00  张同光  阅读(233)  评论(0编辑  收藏  举报