导出已安装列表: 代码: dpkg –get-selections > my_installed_base 导入并安装已安装列表 代码: dpkg –set-selections < my_installed_base apt-get dselect-upgrade