From 44b3d78722a7228fd5fbd93e98f1a8d950b194eb Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Wed, 14 Mar 2018 16:46:42 -0400 Subject: [PATCH] docs: Revise and fix some CentOS 6 commands. --- .../1.0.0/developer/install-dependencies-centos.markdown | 8 ++++++-- .../latest/developer/install-dependencies-centos.markdown | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/source/docs/en/1.0.0/developer/install-dependencies-centos.markdown b/source/docs/en/1.0.0/developer/install-dependencies-centos.markdown index 01a18ce1..e2f9f5dd 100644 --- a/source/docs/en/1.0.0/developer/install-dependencies-centos.markdown +++ b/source/docs/en/1.0.0/developer/install-dependencies-centos.markdown @@ -100,7 +100,7 @@ Install dependencies. Install the [Software Collections (SCL)](https://wiki.centos.org/AdditionalResources/Repositories/SCL) repository and Python 2.7.x[^python-centos-6]. sudo yum install centos-release-scl - sudo yum install python27 python27-python-devel python27-python-setuptools python27-python-tools python27-python-virtualenv + sudo yum install python27 Install the [EPEL](https://fedoraproject.org/wiki/EPEL) repository and related additional dependencies. @@ -123,7 +123,11 @@ Download, build, and install HarfBuzz (provides the `harfbuzz-devel` package). sudo mkdir -p /root/rpmbuild/SOURCES sudo curl -o /root/rpmbuild/SOURCES/harfbuzz-0.9.36.tar.bz2 'https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.36.tar.bz2' sudo rpmbuild -ba /root/rpmbuild/SPECS/harfbuzz.spec - sudo yum localinstall /root/rpmbuild/RPMS/x86_64/harfbuzz-*.rpm + sudo find /root/rpmbuild/RPMS/x86_64 -name harfbuzz-*.rpm -exec sudo yum localinstall {} \; + +Launch a new shell with Python 2.7 enabled. + + scl enable python27 bash CentOS is now prepared to build the HandBrake [CLI](abbr:Command Line Interface). See [Building HandBrake for Linux](build-linux.html) for further instructions. diff --git a/source/docs/en/latest/developer/install-dependencies-centos.markdown b/source/docs/en/latest/developer/install-dependencies-centos.markdown index e07f31f9..adecb45d 100644 --- a/source/docs/en/latest/developer/install-dependencies-centos.markdown +++ b/source/docs/en/latest/developer/install-dependencies-centos.markdown @@ -100,7 +100,7 @@ Install dependencies. Install the [Software Collections (SCL)](https://wiki.centos.org/AdditionalResources/Repositories/SCL) repository and Python 2.7.x[^python-centos-6]. sudo yum install centos-release-scl - sudo yum install python27 python27-python-devel python27-python-setuptools python27-python-tools python27-python-virtualenv + sudo yum install python27 Install the [EPEL](https://fedoraproject.org/wiki/EPEL) repository and related additional dependencies. @@ -123,7 +123,11 @@ Download, build, and install HarfBuzz (provides the `harfbuzz-devel` package). sudo mkdir -p /root/rpmbuild/SOURCES sudo curl -o /root/rpmbuild/SOURCES/harfbuzz-0.9.36.tar.bz2 'https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.36.tar.bz2' sudo rpmbuild -ba /root/rpmbuild/SPECS/harfbuzz.spec - sudo yum localinstall /root/rpmbuild/RPMS/x86_64/harfbuzz-*.rpm + sudo find /root/rpmbuild/RPMS/x86_64 -name harfbuzz-*.rpm -exec sudo yum localinstall {} \; + +Launch a new shell with Python 2.7 enabled. + + scl enable python27 bash CentOS is now prepared to build the HandBrake [CLI](abbr:Command Line Interface). See [Building HandBrake for Linux](build-linux.html) for further instructions.