/**
* as86: assembler for 8086..80386 processors
*
*/
step1: 寻找资源包。搜索地址如下:http://rpmfind.net/linux/rpm2html/search.php?query=as86&submit=Search+...&system=&arch=
step2: 获取rpm:命令如下:wget -c http://rpmfind.net/linux/centos/6.9/os/i386/Packages/dev86-0.16.17-15.1.el6.i686.rpm
step3: 尝试安装,命令如下:rpm -ivh dev86-0.16.17-15.1.el6.i686.rpm //dev86-0.16.17-15.1.el6.i686.rpm即为获取的资源包
issue0:
[root@localhost Study]# rpm -ivh dev86-0.16.17-15.1.el6.i686.rpm
警告:dev86-0.16.17-15.1.el6.i686.rpm: 头V3 RSA/SHA1 Signature, 密钥 ID c105b9de: NOKEY
错误:依赖检测失败:
libc.so.6 被 dev86-0.16.17-15.1.el6.i686 需要
libc.so.6(GLIBC_2.0) 被 dev86-0.16.17-15.1.el6.i686 需要
libc.so.6(GLIBC_2.1) 被 dev86-0.16.17-15.1.el6.i686 需要
libc.so.6(GLIBC_2.3) 被 dev86-0.16.17-15.1.el6.i686 需要
libc.so.6(GLIBC_2.3.4) 被 dev86-0.16.17-15.1.el6.i686 需要
libc.so.6(GLIBC_2.4) 被 dev86-0.16.17-15.1.el6.i686 需要
libc.so.6(GLIBC_2.7) 被 dev86-0.16.17-15.1.el6.i686 需要
solve(step4): 安装glibc for i686,命令如下:yum install glibc.i686
step5: 重新安装rpm:rpm -ivh dev86-0.16.17-15.1.el6.i686.rpm
step6: 测试,输入命令:as86; ld86
end