1.安装32位库
查看当前内核
dpkg --print-architecture
输出:adm64
确认是否支持多架构:
dpkg --print-foreign-architectures
输出:i386 -》说明已经打开
否则手动打开:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get dist-upgrade
2.安装文件查找器
sudo apt-get install apt-file && apt-file update
3.运行32位程序
运行后会出现error 提示确实哪些文件:
查找该文件所在:
apt-file search filename
安装运行该32位程序所需的依赖:
apt-get install file:i386