発端と概要 /etc/profile を直接編集するとか、そういうやばそうな手順が含まれるもが散見されたので、ちゃんとCentOS7の流儀に従ったやり方でインストールたいです。 etc/profile と /etc/bashrcに書いてあること # It's NOT a good idea to change this file unless you know what you # are doing. It's much better to create a custom.sh shell script in # /etc/profile.d/ to make custom changes to your environment, as this # will prevent the need for merging in future updates.