You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

双系统Ubuntu 17.10如何批量安装默认预装软件包?

解决Ubuntu 17.10双系统缺失默认预装软件的问题

Let's work through this issue step by step. The main hurdles here are your failing apt update (since Ubuntu 17.10 is no longer supported) and installing all default software in one go.

第一步:修复软件源(17.10已停止官方支持)

Ubuntu 17.10 ("Artful Aardvark") reached its end-of-life a while back, so the default package sources point to servers that no longer host its packages. We need to switch to the old releases archive first:

  1. 先备份源配置文件,避免操作出错:
    sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
    
  2. 一键替换所有源地址到旧归档服务器:
    sudo sed -i 's/archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
    sudo sed -i 's/security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
    
  3. 现在重新更新源列表,应该能正常执行了:
    sudo apt update
    

第二步:一次性安装所有默认预装软件

Ubuntu uses "meta-packages" to bundle groups of related software. Pick the appropriate option based on your system type:

桌面版Ubuntu 17.10

Installing the ubuntu-desktop meta-package will pull in all default desktop environment software—including utilities, pre-installed apps, and base system tools:

sudo apt install ubuntu-desktop --install-recommends

The --install-recommends flag ensures you get every recommended default package, not just strict dependencies.

仅需开发工具(gcc、make等)

If you don't need the full desktop suite and only want core development tools, install build-essential—this package includes gcc, make, libc6-dev, and all other essential build utilities:

sudo apt install build-essential

Once these commands finish, you'll have all the default software that comes with a fresh Ubuntu 17.10 installation.

内容的提问来源于stack exchange,提问作者arpanmangal

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 07:12:57