-
Notifications
You must be signed in to change notification settings - Fork 72
centos notes
Rushfan edited this page Sep 3, 2018
·
9 revisions
This will give us the debug symbols for the lib* packages and install the devtoolset that has gcc 7 (or anything 6.3 or newer is fine, but 7 or 8 is better)
Install jsoncpp from fedora's rhel7 mirror See https://centos.pkgs.org/7/epel-x86_64/jsoncpp-0.10.5-2.el7.x86_64.rpm.html
get epl from http://dl.fedoraproject.org/pub/epel/
To install:
rpm -Uvh epel-release*rpm
yum install jsoncpp
Install cmake using ghettoforge-plus
Get gf-release*rpm from http://mirror.ghettoforge.org/distributions/gf/el/7/gf/x86_64/
To install:
rpm -Uhv gf-release*rpm
yum --enablerepo=gf-plus install cmake
enable software collections [http://xmodulo.com/enable-software-collections-centos.html]
sudo yum update
edit /etc/yum.repos.d/CentOS-Debuginfo.repo
# change enabled=1
sudo yum -y install yum-utils centos-release-scl scl-utils-build devtoolset-7 git ncurses-devel rh-git29 cmake3
debuginfo-install libgcc-4.8.5-11.el7.x86_64 libstdc++-4.8.5-11.el7.x86_64
# Start using SCL now to use the newer GCC
scl enable devtoolset-7 rh-git29 bash
# Check the version of cmake3 with ```cmake3 --version```
# Check the version of gcc with ```gcc --version```