将 Server 18.04 升级为桌面版作为最小安装

将 Server 18.04 升级为桌面版作为最小安装

如何从 Server 18.04 映像安装 Ubuntu Desktop 18.04,而无需安装任何额外的软件(最小安装)?

答案1

我建议您从旧式服务器 iso 文件(使用 Debian 安装程序)开始,您可以在

cdimages.ubuntu.com/ubuntu/releases/bionic/release/

  • 安装最小系统(没有任何额外的程序包)。

  • 启动最小系统并安装 Ubuntu 桌面

    sudo apt update
    sudo apt full-upgrade
    
    sudo apt install ubuntu-desktop
    

    重启后,你应该有 Ubuntu。我不知道你说的最小安装是什么意思,也不知道你为什么要从 Ubuntu Server 启动。

    你可以安装一个简单的窗口管理器代替Ubuntu 桌面获得一个非常轻量的图形系统,你可以从它开始startx

    sudo apt install fluxbox xinit xterm
    

    或者你尝试

    sudo apt install --no-install-recommends ubuntu-desktop
    

    这可能会产生你想要的东西。


  • 你可以通过以下方式获得其他轻量级桌面环境

    sudo apt install lubuntu-core
    
    sudo apt install xubuntu-core
    

答案2

从安装 Ubuntu 18.04 最小安装时的日志来看,似乎在最小安装中,软件包被删除了。您可以安装ubuntu-desktop然后删除软件包。

正如无处不在的源代码,需要删除的软件包列表可以在 iso 映像中找到/cdrom/casper/filesystem.manifest-minimal-remove

从 Ubuntu 18.04.3 开始,内容如下:

thunderbird
transmission-gtk
gnome-todo
baobab
rhythmbox
cheese
vino
shotwell
totem
usb-creator-gtk
deja-dup
gnome-calendar
remmina
simple-scan
thunderbird-gnome-support
aisleriot
gnome-mahjongg
gnome-mines
gnome-sudoku
branding-ubuntu
libreoffice-style-breeze
libreoffice-gnome
libreoffice-writer
libreoffice-calc
libreoffice-impress
libreoffice-math
libreoffice-ogltrans
libreoffice-pdfimport
example-content
ubuntu-web-launchers
libreoffice-l10n-en-gb
libreoffice-l10n-es
libreoffice-l10n-zh-cn
libreoffice-l10n-zh-tw
libreoffice-l10n-pt
libreoffice-l10n-pt-br
libreoffice-l10n-de
libreoffice-l10n-fr
libreoffice-l10n-it
libreoffice-l10n-ru
libreoffice-l10n-en-za
libreoffice-help-en-gb
libreoffice-help-es
libreoffice-help-zh-cn
libreoffice-help-zh-tw
libreoffice-help-pt
libreoffice-help-pt-br
libreoffice-help-de
libreoffice-help-fr
libreoffice-help-it
libreoffice-help-ru
libreoffice-help-en-us
thunderbird-locale-en
thunderbird-locale-en-gb
thunderbird-locale-en-us
thunderbird-locale-es
thunderbird-locale-es-ar
thunderbird-locale-es-es
thunderbird-locale-zh-cn
thunderbird-locale-zh-hans
thunderbird-locale-zh-hant
thunderbird-locale-zh-tw
thunderbird-locale-pt
thunderbird-locale-pt-br
thunderbird-locale-pt-pt
thunderbird-locale-de
thunderbird-locale-fr
thunderbird-locale-it
thunderbird-locale-ru
gir1.2-rb-3.0
gir1.2-totem-1.0
gir1.2-totemplparser-1.0
guile-2.0-libs
libabw-0.1-1
libavahi-ui-gtk3-0
libdmapsharing-3.0-2
libexttextcat-2.0-0
libexttextcat-data
libfreehand-0.1-1
libgnome-games-support-1-3
libgnome-games-support-common
libgom-1.0-0
libgrilo-0.3-0
liblangtag-common
liblangtag1
libmessaging-menu0
libmhash2
libminiupnpc10
libmwaw-0.3-3
libmythes-1.2-0
libnatpmp1
libneon27-gnutls
liborcus-0.13-0
libpagemaker-0.0-0
librdf0
libreoffice-avmedia-backend-gstreamer
libreoffice-base-core
libreoffice-common
libreoffice-core
libreoffice-draw
libreoffice-gtk3
libreoffice-style-elementary
libreoffice-style-galaxy
libreoffice-style-tango
libraptor2-0
librasqal3
librevenge-0.0-0
librhythmbox-core10
libtotem0
libvisio-0.1-1
libwpd-0.10-10
libwpg-0.3-3
libwps-0.4-4
libyajl2
python3-uno
rhythmbox-data
rhythmbox-plugin-alternative-toolbar
rhythmbox-plugins
remmina-common
remmina-plugin-rdp
remmina-plugin-secret
remmina-plugin-vnc
duplicity
seahorse-daemon
shotwell-common
totem-common
totem-plugins
transmission-common
cheese-common
gnome-todo-common
libgnome-todo
gnome-video-effects
libcheese-gtk25
libcheese8
uno-libs3
ure
zeitgeist-core
hunspell-de-at-frami
hunspell-de-ch-frami
hunspell-de-de-frami
hunspell-en-au
hunspell-en-ca
hunspell-en-gb
hunspell-en-za
hunspell-es
hunspell-fr
hunspell-fr-classical
hunspell-it
hunspell-pt-br
hunspell-pt-pt
hunspell-ru
hyphen-de
hyphen-en-ca
hyphen-en-gb
hyphen-en-us
hyphen-fr
hyphen-hr
hyphen-it
hyphen-pl
hyphen-pt-br
hyphen-pt-pt
hyphen-ru
mythes-de
mythes-de-ch
mythes-en-au
mythes-en-us
mythes-fr
mythes-it
mythes-pt-pt
mythes-ru  

相关内容