CentOS 6.5 installation Rlwrap software for Sqlplus

Source: Internet
Author: User
Tags gpg readline sqlplus

CentOS 6.5 installation Rlwrap software for Sqlplus Objective: To solve the convenient use of Sqlplus connection Oracle (such as the right and left keys, flexible use of the upper and Lower keys) Hint: Install in Yum mode and need to connect to a third party's Yum source because there is no rlwarap component in the CentOS default yum source Steps

1.root user logged into OS
2. #rpm-IVH http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
3. #rpm--import/etc/pki/rpm-gpg/rpm-gpg-key-epel-6//import KEY
The default is to create a Epel.repo and Epel-testing.repo two profiles under/etc/yum.repos.d/.

Installing Rlwrap and ReadLine

1.# Yum Install rlwrap readline readline-devel

SOURCE Package Installation

Other Linux distributions if the source does not have rlwrap and readline (such as the SUSE Enterprise Edition default does not have these two packages), to download the two source packages separately compiled installation

Installing ReadLine
    • # wget ftp://ftp.gnu.org/gnu/readline/readline-6.2.tar.gz

    • # tar ZXVF readline-6.2.tar.gz

    • # CD READLINE-6.2/

    • #./configure

    • # make

    • # make Install

Installing Rlwrap
    • # wget http://utopia.knoware.nl/~hlub/rlwrap/rlwrap-0.37.tar.gz

    • # tar ZXVF rlwrap-0.37.tar.gz

    • # CD rlwrap-0.37/

    • #./configure

    • # make

    • # make Install

Modify the amount of the environment
    • . Bash_profile Add the following:

    • Alias sqlplus= ' Rlwrap sqlplus '

    • Alias rman= ' Rlwrap Rman '

CentOS 6.5 installation Rlwrap software for Sqlplus

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.