관리 메뉴

Sysops Notepad

[Linux] bzip2 설치하기 본문

업무/etc

[Linux] bzip2 설치하기

sysops 2021. 11. 24. 14:10

압축 파일을 다운 받아서 압축해제를 하려는데 에러가 발생한다.

[root@sysops build]# tar -xvf pdns-4.5.2.tar.bz2 
tar (child): cannot run bzip2: No such file or directory
tar (child): trying lbzip2
tar (child): lbzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

.

bzip2를 설치해주자

[root@sysops build]# yum install bzip2
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * epel: mirrors.nipa.cloud
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================
 Package                         Arch                             Version                                Repository                      Size
==============================================================================================================================================
Installing:
 bzip2                           x86_64                           1.0.6-13.el7                           base                            52 k

Transaction Summary
==============================================================================================================================================
Install  1 Package

Total download size: 52 k
Installed size: 82 k
Is this ok [y/d/N]: ^[[A
Is this ok [y/d/N]: y
Downloading packages:
bzip2-1.0.6-13.el7.x86_64.rpm                                                                                          |  52 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : bzip2-1.0.6-13.el7.x86_64                                                                                                  1/1 
  Verifying  : bzip2-1.0.6-13.el7.x86_64                                                                                                  1/1 

Installed:
  bzip2.x86_64 0:1.0.6-13.el7                                                                                                                 

Complete!

 

잘된다~

[root@sysops build]# tar -xvf pdns-4.5.2.tar.bz2 
pdns-4.5.2/
pdns-4.5.2/ext/
pdns-4.5.2/ext/Makefile.am
pdns-4.5.2/ext/luawrapper/
pdns-4.5.2/ext/luawrapper/include/
pdns-4.5.2/ext/luawrapper/include/LuaContext.hpp
pdns-4.5.2/ext/Makefile.in
pdns-4.5.2/ext/ipcrypt/
pdns-4.5.2/ext/ipcrypt/LICENSE
pdns-4.5.2/ext/ipcrypt/Makefile.am
pdns-4.5.2/ext/ipcrypt/ipcrypt.c
Comments