How to set the CentOS-Base.repo properly to install lxde?

General support questions
Post Reply
luofeiyu
Posts: 2
Joined: 2015/07/29 07:30:34

How to set the CentOS-Base.repo properly to install lxde?

Post by luofeiyu » 2015/07/29 07:37:03

I want to have lxde installed on my cnetos7 with the command:
yum install -y lxde

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.nwsuaf.edu.cn
* updates: mirror.neu.edu.cn
No package lxde available.
Error: Nothing to do

How to set the CentOS-Base.repo properly to install lxde?
Here is my repo file ,the default one,i have not modify it.

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to set the CentOS-Base.repo properly to install lxde

Post by TrevorH » 2015/07/29 09:02:58

You will not find LXDE in the CentOS repos as we do not ship it. I don't see it in any of my third party (non-CentOS) yum repositories either - so not in EPEL or nux-dextop. There are other lightweight window managers around: xfce and MATE are both in EPEL and nux-dextop supplies some extra MATE packages as well.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply