Install XFCE on CentOS 7 official release

本文详细介绍了如何在CentOS 7官方发行版上安装XFCE桌面环境,包括通过EPEL仓库安装必要的组件,以及解决Thunar文件管理器和xfdesktop等依赖问题的手动编译步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Install XFCE on CentOS 7 official release

 

 

Following Notes work on CentOS/RHEL/OEL 7.

As the release is fresh, we dont have rpmfusion packages on XFCE.

Also we dont have RHN access.

 

Alternative for now: install via EPEL repo

 

1. install CentOS 7 release
http://www.centos.org/download/

Minimal install without X window and Desktop setups.

 

2. install EPEL repo.

http://ftp.riken.jp/Linux/fedora/epel/beta/7/x86_64/repoview/epel-release.html

 

1

# rpm -Uvh http://ftp.riken.jp/Linux/fedora/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm

 

3. install XFCE sets.

 

1

2

# yum install @xfce

# yum groupinstall "X Window system"

 

Now OK:

 

1

# startxfce4

or:

 

1

# ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target

 

Get Necessary Packages:

 

1

# yum install xterm firefox  wget

Still there’s a fatal problem for now, that no thunar packages available yet.
#yum install Thunar thunar  # not work

Trying from scratch
# http://archive.xfce.org/src/xfce/thunar/1.6/Thunar-1.6.3.tar.bz2

Also: following build in progress, waiting…
https://apps.fedoraproject.org/packages/Thunar/builds/

Well ,  thunar package may be available now when you read this note, just ignore the following,

or if not yet ready, please keep noticed.
I tried  to fetch package from F20.

1. the latest version of Thunar is 1.6.3-3.fc21  ,  but EL7 is based on fc21,
google “Thunar-1.6.3-2.fc20.src.rpm” for the location

2. essential tools:

 

1

#yum install yum-utils rpmdevtools

3. packages ready for build:

 

1

# yum-builddep Thunar-1.6.3-2.fc20.src.rpm

4.build RPM

 

1

# rpmbuild --rebuild Thunar-1.6.3-2.fc20.src.rpm

RPMs now ready here:

 

1

2

3

4

5

6

7

[root@localhost ~/rpmbuild/RPMS/x86_64]$pwd

/root/rpmbuild/RPMS/x86_64

[root@localhost ~/rpmbuild/RPMS/x86_64]$ls -l

total 2780

-rw-r--r--. 1 root root 1290680 Jul 14 14:10 Thunar-1.6.3-2.el7.centos.x86_64.rpm

-rw-r--r--. 1 root root 1384024 Jul 14 14:10 Thunar-debuginfo-1.6.3-2.el7.centos.x86_64.rpm

-rw-r--r--. 1 root root 167856 Jul 14 14:10 Thunar-devel-1.6.3-2.el7.centos.x86_64.rpm

 

Install is ok:

 

1

# rpm -ivh Thunar-1.6.3-2.el7.centos.x86_64.rpm Thunar-devel-1.6.3-2.el7.centos.x86_64.rpm

 

 

1

 

Same issue on xfdesktop,  fetch and compile together.
# google xfdesktop-4.10.2-2.fc20.src.rpm

 

1

2

3

4

5

# yum-builddep xfdesktop-4.10.2-2.fc20.src.rpm

# rpmbuild --rebuild xfdesktop-4.10.2-2.fc20.src.rpm

 

# cd /root/rpmbuild/RPMS/x86_64

# rpm -ivh xfdesktop-4.10.2-2.el7.centos.x86_64.rpm

 

Alternative:
I just saw following builds:

just download directly here:

Thunar    http://koji.fedoraproject.org/koji/buildinfo?buildID=543666
xfdesktop   http://koji.fedoraproject.org/koji/buildinfo?buildID=543669

 

Also xfdesktop have a dependency on desktop-backgrounds-basic

I uploaded all files here:
http://pan.baidu.com/s/1o6OB8ro

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值