오픈소스의 일상

#3. 필수 라이브러리 설치 본문

오픈소스/네이버클라우드

#3. 필수 라이브러리 설치

실버카미 2021. 12. 21. 17:26

1. libxml2-devel 

[root@flas /]# yum install libxml2-devel -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package libxml2-devel.x86_64 0:2.9.1-6.el7_9.6 will be installed
--> Processing Dependency: zlib-devel for package: libxml2-devel-2.9.1-6.el7_9.6.x86_64
--> Processing Dependency: xz-devel for package: libxml2-devel-2.9.1-6.el7_9.6.x86_64
--> Running transaction check
---> Package xz-devel.x86_64 0:5.2.2-1.el7 will be installed
---> Package zlib-devel.x86_64 0:1.2.7-19.el7_9 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================
 Package             Arch         Version                 Repository     Size
==============================================================================
Installing:
 libxml2-devel       x86_64       2.9.1-6.el7_9.6         updates       1.1 M
Installing for dependencies:
 xz-devel            x86_64       5.2.2-1.el7             base           46 k
 zlib-devel          x86_64       1.2.7-19.el7_9          updates        50 k

Transaction Summary
==============================================================================
Install  1 Package (+2 Dependent packages)
-- 이하 생략

2. epel-release 

[root@flas /]# yum install epel-release -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================
 Package               Arch            Version          Repository       Size
==============================================================================
Installing:
 epel-release          noarch          7-11             extras           15 k

Transaction Summary
==============================================================================
Install  1 Package
-- 이하 생략

[root@flas /]# yum update

3. python 3.X

[root@flas /]# yum install  python36 -y
Loaded plugins: fastestmirror, langpacks
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 python3.x86_64 0:3.6.8-18.el7 will be installed
--> Processing Dependency: python3-libs(x86-64) = 3.6.8-18.el7 for package: python3-3.6.8-18.el7.x86_64
--> Processing Dependency: python3-setuptools for package: python3-3.6.8-18.el7.x86_64
--> Processing Dependency: python3-pip for package: python3-3.6.8-18.el7.x86_64
--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-18.el7.x86_64
--> Running transaction check
---> Package python3-libs.x86_64 0:3.6.8-18.el7 will be installed
---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed
---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================
 Package                 Arch        Version               Repository    Size
==============================================================================
Installing:
 python3                 x86_64      3.6.8-18.el7          updates       70 k
Installing for dependencies:
 python3-libs            x86_64      3.6.8-18.el7          updates      6.9 M
 python3-pip             noarch      9.0.3-8.el7           base         1.6 M
 python3-setuptools      noarch      39.2.0-10.el7         base         629 k

Transaction Summary
==============================================================================
Install  1 Package (+3 Dependent packages)
-- 이하 생략

[root@flas /]# yum update

4. centos-release-scl-rh

[root@flas /]# yum install centos-release-scl-rh -y
Loaded plugins: fastestmirror, langpacks
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 centos-release-scl-rh.noarch 0:2-3.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================
 Package                    Arch        Version             Repository   Size
==============================================================================
Installing:
 centos-release-scl-rh      noarch      2-3.el7.centos      extras       12 k

Transaction Summary
==============================================================================
Install  1 Package
--이하 생략
728x90