[Linux] CentOS7 bash 5.0 설치

반응형
반응형

 

bash 5.0 tar 파일 다운로드

 

[root@test-1 bash_5.0]# curl -O https://ftp.gnu.org/gnu/bash/bash-5.0.tar.gz

 

 

 

tar 파일 해제 및 설치

 

[root@test-1 bash_5.0]# tar -xvf bash-5.0.tar.gz
...
[root@test-1 bash_5.0]# ls
bash-5.0  bash-5.0.tar.gz
[root@test-1 bash_5.0]# cd bash-5.0

 

에러가 발생했다.

"no acceptable C compiler foud in $PATH"

C compiler가 없다는 것 같다

[root@test-1 bash-5.0]# ./configure 
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu

Beginning configuration for bash-5.0-release for x86_64-pc-linux-gnu

checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/src/bash_5.0/bash-5.0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

 

C compiler가 없는거 확인 후 설치 진행

[root@test-1 bash-5.0]# rpm -qa | grep gcc
libgcc-4.8.5-44.el7.x86_64
[root@test-1 bash-5.0]# yum install gcc -y
...
Complete!

 

이어서 bash 5.0 설치 진행

[root@test-1 bash-5.0]# ./configure
[root@test-1 bash-5.0]# make
[root@test-1 bash-5.0]# make install

 

 

설치 확인

 

[root@test-1 bash-5.0]# ./bash --version
GNU bash, version 5.0.0(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
반응형

댓글

Designed by JB FACTORY

loading