centos-release-SCL
CentOS 6.7에 설치 하려고 합니다 . Python2.7을 얻기 위해 이것을하고 싶습니다. 나는 시도했다:
sudo yum --disablerepo=\* --enablerepo=extras install centos-release-SCL
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* extras: anorien.csc.warwick.ac.uk
No package centos-release-SCL available.
Error: Nothing to do
그런 다음 다음을 시도했습니다.
sudo yum --disablerepo=\* --enablerepo=extras list available
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* extras: anorien.csc.warwick.ac.uk
Available Packages
bakefile.i686 0.2.8-3.el6.centos extras
centos-release-cr.i686 10:6-0.el6.centos extras
centos-release-virt-common.noarch 1-1.el6.centos extras
cloud-init.i686 0.7.5-10.el6.centos.2 extras
epel-release.noarch 6-8 extras
jfsutils.i686 1.1.13-9.el6 extras
ldns.i686 1.6.16-7.el6.1 extras
ldns-devel.i686 1.6.16-7.el6.1 extras
ldns-doc.noarch 1.6.16-7.el6.1 extras
ldns-python.i686 1.6.16-7.el6.1 extras
opennx.i686 0.16-724.el6.centos.1 extras
pytest.noarch 2.3.5-3.el6.centos extras
python-backports.i686 1.0-3.el6.centos extras
python-backports-ssl_match_hostname.noarch 3.4.0.2-4.el6.centos extras
python-boto.noarch 2.32.1-1.el6.centos extras
python-chardet.noarch 2.0.1-1.el6.centos extras
python-empy.noarch 3.3-5.el6.centos extras
python-jsonpatch.noarch 1.2-2.el6.centos extras
python-jsonpointer.noarch 1.0-3.el6.centos extras
python-oauth.noarch 1.0.1-1.el6.centos extras
python-ordereddict.noarch 1.1-2.el6.centos extras
python-prettytable.noarch 0.7.2-1.el6.centos extras
python-py.noarch 1.4.18-1.el6.centos extras
python-requests.noarch 1.1.0-4.el6.centos extras
python-six.noarch 1.7.3-1.el6.centos extras
python-sphinx10.noarch 1.0.8-1.el6.centos extras
python-sphinx10-doc.noarch 1.0.8-1.el6.centos extras
python-tornado.noarch 2.2.1-1.el6.centos extras
python-tornado-doc.noarch 2.2.1-1.el6.centos extras
python-urllib3.noarch 1.5-7.el6.centos extras
unbound.i686 1.4.20-23.el6.1 extras
unbound-devel.i686 1.4.20-23.el6.1 extras
unbound-libs.i686 1.4.20-23.el6.1 extras
unbound-python.i686 1.4.20-23.el6.1 extras
wxBase.i686 2.8.12-1.el6.centos extras
wxGTK.i686 2.8.12-1.el6.centos extras
wxGTK-devel.i686 2.8.12-1.el6.centos extras
wxGTK-gl.i686 2.8.12-1.el6.centos extras
wxGTK-media.i686 2.8.12-1.el6.centos extras
왜 centos-release-SCL
사용할 수 없나요?
답변1
방금 CentOS 6.7에 설치했습니다(python2.7을 설치하기 위해서도 작동했습니다). 따라서 출력(아래)을 표시하는 것 외에는 답이 없습니다. 그러나 이것은 "순정" CentOS 6.7 릴리스가 아닙니다. 이것은Hortonworks 샌드박스 가상 머신. 또한 작동하는지 확인하고 두 구성의 차이점을 확인할 수도 있습니다.
$ lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.7 (Final)
Release: 6.7
Codename: Final
$ sudo yum install -y centos-release-SCL
Loaded plugins: fastestmirror, priorities
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.spro.net
* epel: mirror.sfo12.us.leaseweb.net
* extras: mirror.keystealth.org
* updates: mirror.pac-12.org
Resolving Dependencies
--> Running transaction check
---> Package centos-release-scl-rh.noarch 0:2-3.el6.centos will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================
Package Arch Version Repository Size
========================================================================================================================
Installing:
centos-release-scl-rh noarch 2-3.el6.centos extras 12 k
Transaction Summary
========================================================================================================================
Install 1 Package(s)
Total download size: 12 k
Installed size: 19 k
Downloading Packages:
centos-release-scl-rh-2-3.el6.centos.noarch.rpm | 12 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : centos-release-scl-rh-2-3.el6.centos.noarch 1/1
Verifying : centos-release-scl-rh-2-3.el6.centos.noarch 1/1
Installed:
centos-release-scl-rh.noarch 0:2-3.el6.centos
Complete!