[Linux] CentOS7 bash 5.0 설치
- IT/OS
- 2021. 2. 2.
반응형
반응형
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.
반응형
'IT > OS' 카테고리의 다른 글
서브넷마스크(subnetmask) 표 (0) | 2021.02.17 |
---|---|
bashtop 설치(feat. CentOS7) (0) | 2021.02.03 |
[TCP] 4-way Handshake란? / 와이어샤크, tcpdump 확인 (0) | 2021.01.29 |
Cisco Packet Tracer(패킷트레이서) 설치하기 (0) | 2021.01.27 |
[TCP] 3-way Handshake란? / 와이어샤크, tcpdump 확인 (0) | 2021.01.26 |