首页 > 代码库 > Linux Mint下编译Bochs

Linux Mint下编译Bochs

我在Linux Mint命令行下输入sudo apt-get install bochs安装之后发现这个没有安装gui界面,使用也存在一些问题,所以直接删掉从官网下载代码自己编译安装。

  • 给Linux Mint添加合适的源
deb http://mirrors.163.com/ubuntu/ utopic main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ utopic-security main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ utopic-updates main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ utopic-proposed main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ utopic-backports main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ utopic main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ utopic-security main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ utopic-updates main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ utopic-proposed main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ utopic-backports main restricted universe multiverse
  • 在这里下载最新的bochs源码
  • 安装编译辅助工具
sudo apt-get install build-essentialsudo apt-get install xorg-devsudo apt-get install bisonsudo apt-get install libgtk2.0-dev
  • 执行编译命令
./configuremakesudo make install

技术分享

Linux Mint下编译Bochs