Jumat, 02 November 2018

How to install lua 5.3 on centos 6

  Tidak ada komentar
Download ius release repo package
[root@localhost ~]# wget https://centos6.iuscommunity.org/ius-release.rpm
--2018-11-03 11:01:31--  https://centos6.iuscommunity.org/ius-release.rpm
Connecting to 192.168.71.17:9898... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: https://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-15.ius.centos6.noarch.rpm [following]
--2018-11-03 11:01:33--  https://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-15.ius.centos6.noarch.rpm
Connecting to 192.168.71.17:9898... connected.
Proxy request sent, awaiting response... 200 OK
Length: 8352 (8.2K) [application/x-redhat-package-manager]
Saving to: “ius-release.rpm”

100%[============================================================================================>] 8,352       --.-K/s   in 0s

2018-11-03 11:01:37 (376 MB/s) - “ius-release.rpm” saved [8352/8352]

[root@localhost ~]# ls
anaconda-ks.cfg        bakupan_eplan.tar.gz  install.log         mysql80-community-release-el6-1.noarch.rpm  wch_backres_eplan.sh
apr-1.6.5.tar.gz       httpd-2.4.37          install.log.syslog  php-5.4.45
apr-util-1.6.1.tar.gz  httpd-2.4.37.tar.gz   ius-release.rpm     php-5.4.45.tar.gz
[root@localhost ~]#

Install the repo package
[root@localhost ~]# rpm -Uvh ius-release.rpm
warning: ius-release.rpm: Header V4 DSA/SHA1 Signature, key ID 9cd4953f: NOKEY
Preparing...                ########################################### [100%]
   1:ius-release            ########################################### [100%]
[root@localhost ~]#
Install the lua 5.3

[root@localhost ~]# yum install lua53u
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.biz.net.id
 * epel: del-repos.extreme-ix.org
 * extras: centos.biz.net.id
 * ius: archive.linux.duke.edu
 * updates: centos.biz.net.id
ius                                                                                                            | 2.3 kB     00:00
ius/primary_db                                                                                                 | 345 kB     00:01
Resolving Dependencies
--> Running transaction check
---> Package lua53u.x86_64 0:5.3.4-1.ius.centos6 will be installed
--> Processing Dependency: lua53u-libs(x86-64) = 5.3.4-1.ius.centos6 for package: lua53u-5.3.4-1.ius.centos6.x86_64
--> Processing Dependency: liblua-5.3.so()(64bit) for package: lua53u-5.3.4-1.ius.centos6.x86_64
--> Running transaction check
---> Package lua53u-libs.x86_64 0:5.3.4-1.ius.centos6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                          Arch                        Version                                  Repository                Size
======================================================================================================================================
Installing:
 lua53u                           x86_64                      5.3.4-1.ius.centos6                      ius                      177 k
Installing for dependencies:
 lua53u-libs                      x86_64                      5.3.4-1.ius.centos6                      ius                      102 k

Transaction Summary
======================================================================================================================================
Install       2 Package(s)

Total download size: 279 k
Installed size: 762 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): lua53u-5.3.4-1.ius.centos6.x86_64.rpm                                                                   | 177 kB     00:00
(2/2): lua53u-libs-5.3.4-1.ius.centos6.x86_64.rpm                                                              | 102 kB     00:00
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                  58 kB/s | 279 kB     00:04
warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 9cd4953f: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY
Importing GPG key 0x9CD4953F:
 Userid : IUS Community Project <[email protected]>
 Package: ius-release-1.0-15.ius.centos6.noarch (installed)
 From   : /etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : lua53u-libs-5.3.4-1.ius.centos6.x86_64                                                                             1/2
  Installing : lua53u-5.3.4-1.ius.centos6.x86_64                                                                                  2/2
  Verifying  : lua53u-5.3.4-1.ius.centos6.x86_64                                                                                  1/2
  Verifying  : lua53u-libs-5.3.4-1.ius.centos6.x86_64                                                                             2/2

Installed:
  lua53u.x86_64 0:5.3.4-1.ius.centos6

Dependency Installed:
  lua53u-libs.x86_64 0:5.3.4-1.ius.centos6

Complete!
[root@localhost ~]#

Tidak ada komentar :

Posting Komentar