如何安装Xfce桌面环境?

我看过这篇文章如何切换到Xubuntu? ,但它告诉我安装xubuntu-desktop

我可以安装Xfce(仅限)吗? 我的意思是,我不想安装任何与Xfce桌面无关的应用程序,而是成为xubuntu-desktop依赖项,例如abiword,gthumb等。我应该安装什么软件包?

点击这里:

通过软件中心安装

或者通过命令行:

 sudo apt-get install xfce4 

这就是你将得到的

 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libstdc++5 libvncserver0 libaio-dev sysstat ksh expat libelf-dev Use 'apt-get autoremove' to remove them. The following extra packages will be installed: desktop-base exo-utils gtk2-engines-xfce libexo-1-0 libexo-common libgarcon-1-0 libgarcon-common libthunarx-2-0 libxfce4ui-1-0 libxfce4util-bin libxfce4util-common libxfce4util4 libxfconf-0-2 orage thunar thunar-data thunar-volman xfce-keyboard-shortcuts xfce4-appfinder xfce4-mixer xfce4-panel xfce4-session xfce4-settings xfce4-utils xfconf xfdesktop4 xfdesktop4-data xfwm4 xfwm4-themes xscreensaver Suggested packages: thunar-archive-plugin thunar-media-tags-plugin xfprint4 xfce4-goodies fortunes-mod aumix xli xloadimage xfishtank xdaliclock qcam streamer The following NEW packages will be installed: desktop-base exo-utils gtk2-engines-xfce libexo-1-0 libexo-common libgarcon-1-0 libgarcon-common libthunarx-2-0 libxfce4ui-1-0 libxfce4util-bin libxfce4util-common libxfce4util4 libxfconf-0-2 orage thunar thunar-data thunar-volman xfce-keyboard-shortcuts xfce4 xfce4-appfinder xfce4-mixer xfce4-panel xfce4-session xfce4-settings xfce4-utils xfconf xfdesktop4 xfdesktop4-data xfwm4 xfwm4-themes xscreensaver 0 upgraded, 31 newly installed, 0 to remove and 17 not upgraded. Need to get 19.8 MB of archives. After this operation, 80.0 MB of additional disk space will be used. Do you want to continue [Y/n]? 

安装后注销并选择xfce desktop – 重新登录

默认情况下,可以使用以下命令从终端安装xfce:

 sudo apt-get install xfce4 

并安装好东西(额外的程序,插件和图稿),命令是:

 sudo apt-get install xfce4-goodies 

出现提示时输入密码。

享受使用Xfce!

2015年9月30日

要在Ubuntu 14.04和15.04上安装最新版本的Xfce 4.12

打开终端并运行以下命令:

 sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12 sudo apt-get update && sudo apt-get dist-upgrade sudo apt-get install xfce4 

这是命令的输出,

 ravan@ravan:~$ sudo apt-get install xfce4 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: account-plugin-windows-live libupstart1 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: desktop-base exo-utils gtk2-engines-xfce libexo-1-0 libexo-common libexo-helpers libgarcon-1-0 libgarcon-common libjpeg-progs libjpeg-turbo-progs libkeybinder0 libthunarx-2-0 libtumbler-1-0 libxfce4ui-1-0 libxfce4ui-common libxfce4ui-utils libxfce4util-bin libxfce4util-common libxfce4util7 libxfconf-0-2 orage tango-icon-theme thunar thunar-data thunar-volman tumbler tumbler-common xfce4-appfinder xfce4-mixer xfce4-notifyd xfce4-panel xfce4-session xfce4-settings xfce4-volumed xfconf xfdesktop4 xfdesktop4-data xfwm4 xscreensaver xscreensaver-data xubuntu-icon-theme Suggested packages: devhelp sox kdelibs-data thunar-archive-plugin thunar-media-tags-plugin tumbler-plugins-extra xfce4-goodies xfce4-power-manager gtk3-engines-xfce fortunes-mod menu xfwm4-themes xfishtank xdaliclock xscreensaver-gl fortune qcam streamer gdm3 kdm-gdmcompat Recommended packages: greybird-gtk-theme The following NEW packages will be installed: desktop-base exo-utils gtk2-engines-xfce libexo-1-0 libexo-common libexo-helpers libgarcon-1-0 libgarcon-common libjpeg-progs libjpeg-turbo-progs libkeybinder0 libthunarx-2-0 libtumbler-1-0 libxfce4ui-1-0 libxfce4ui-common libxfce4ui-utils libxfce4util-bin libxfce4util-common libxfce4util7 libxfconf-0-2 orage tango-icon-theme thunar thunar-data thunar-volman tumbler tumbler-common xfce4 xfce4-appfinder xfce4-mixer xfce4-notifyd xfce4-panel xfce4-session xfce4-settings xfce4-volumed xfconf xfdesktop4 xfdesktop4-data xfwm4 xscreensaver xscreensaver-data xubuntu-icon-theme 0 upgraded, 42 newly installed, 0 to remove and 6 not upgraded. Need to get 19.7 MB of archives. After this operation, 69.3 MB of additional disk space will be used. Do you want to continue? [Y/n] 

要卸载PPA:

 sudo apt-get install ppa-purge sudo ppa-purge ppa:xubuntu-dev/xfce-4.12 

我更喜欢使用命令行,但您也可以从Synaptic安装Xfce,只需在搜索栏中输入“xfce4”,选择与Xfce相关的所有内容,然后单击“应用”进行安装。