{"id":795,"date":"2017-01-09T09:54:50","date_gmt":"2017-01-09T09:54:50","guid":{"rendered":"http:\/\/www.dbafox.com\/?p=795"},"modified":"2019-03-13T07:04:42","modified_gmt":"2019-03-13T06:04:42","slug":"linux-install-rlwrap-from-using-epel","status":"publish","type":"post","link":"https:\/\/dbafox.com\/?p=795","title":{"rendered":"Linux &#8211; Install rlwrap from epel (Extra Packages for Enterprise Linux )"},"content":{"rendered":"<h1>What is rlwrap?<\/h1>\n<p>rlwrap (readline wrapper) is a utility that provides command history and editing of commands for programs such as sqlplus, rman.<\/p>\n<p>&nbsp;<\/p>\n<h2>Red Hat Linux 7 and OEL 7<\/h2>\n<p>Execute the commands as root.<\/p>\n<h3>Get Extended Packages for Enterprise Linux (EPEL)<\/h3>\n<p><em>wget https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-7.noarch.rpm<\/em><\/p>\n<h3>Install EPEL<\/h3>\n<p><em>rpm -ivh epel-release-latest-7.noarch.rpm<\/em><\/p>\n<h3>Install rlwrap<\/h3>\n<p><em>yum install rlwrap<\/em><\/p>\n<p>&nbsp;<\/p>\n<h2>Red Hat Linux 6 and OEL 6<\/h2>\n<p>Execute the commands as root.<\/p>\n<h3>Get Extended Packages for Enterprise Linux (EPEL)<\/h3>\n<p><em>wget https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-6.noarch.rpm<\/em><\/p>\n<h3>Install EPEL<\/h3>\n<p><em>rpm -ivh epel-release-latest-6.noarch.rpm<\/em><\/p>\n<h3>Install rlwrap<\/h3>\n<p><em>yum install rlwrap<\/em><\/p>\n<h2>Locking Problems (Red Hat Linux 7)<\/h2>\n<p>Connect as root<\/p>\n<p>Stop packagekitd service if it is running (to stop locks on yum)<\/p>\n<p><em>systemctl disable packagekitd.service<\/em><\/p>\n<p>The processes:<\/p>\n<p>root\u00a0\u00a0\u00a0\u00a0 13447\u00a0\u00a0\u00a0\u00a0 1\u00a0 0 Jan02 ?\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 00:07:13 \/usr\/libexec\/packagekitd<br \/>\nroot\u00a0\u00a0\u00a0\u00a0 17522 13447 33 10:46 ?\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 00:01:23 \/usr\/bin\/python \/usr\/share\/PackageKit\/helpers\/yum\/yumBackend.py get-updates none<\/p>\n<p>hold a lock on yum &#8211; had to kill 13447<\/p>\n<p>&nbsp;<\/p>\n<h2>Example Session (with Oracle Enterprise Linux 6)<\/h2>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n&#x5B;root@oel6]# wget https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-6.noarch.rpm\r\n--2018-10-24 06:07:00--  https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-6.noarch.rpm\r\nResolving dl.fedoraproject.org... 209.132.181.25, 209.132.181.24, 209.132.181.23\r\nConnecting to dl.fedoraproject.org|209.132.181.25|:443... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 14540 (14K) &#x5B;application\/x-rpm]\r\nSaving to: \u201cepel-release-latest-6.noarch.rpm\u201d\r\n\r\n100%&#x5B;=================================================================================================================================&gt;] 14,540      88.7K\/s   in 0.2s\r\n\r\n2018-10-24 06:07:01 (88.7 KB\/s) - \u201cepel-release-latest-6.noarch.rpm\u201d saved &#x5B;14540\/14540]\r\n\r\n&#x5B;root@oel6]# rpm -ivh epel-release-latest-6.noarch.rpm\r\nwarning: epel-release-latest-6.noarch.rpm: Header V3 RSA\/SHA256 Signature, key ID 0608b895: NOKEY\r\nPreparing...                ########################################### &#x5B;100%]\r\n   1:epel-release           ########################################### &#x5B;100%]\r\n&#x5B;root@oel6 network-scripts]# yum install rlwrap\r\nepel\/metalink                                                                                                                                       |  26 kB     00:00\r\nepel                                                                                                                                                | 3.2 kB     00:00\r\nepel\/primary                                                                                                                                        | 3.2 MB     00:02\r\nepel                                                                                                                                                           12516\/12516\r\nSetting up Install Process\r\nResolving Dependencies\r\n--&gt; Running transaction check\r\n---&gt; Package rlwrap.x86_64 0:0.42-1.el6 will be installed\r\n--&gt; Finished Dependency Resolution\r\n\r\nDependencies Resolved\r\n\r\n===========================================================================================================================================================================\r\n Package                                 Arch                                    Version                                       Repository                             Size\r\n===========================================================================================================================================================================\r\nInstalling:\r\n rlwrap                                  x86_64                                  0.42-1.el6                                    epel                                   93 k\r\n\r\nTransaction Summary\r\n===========================================================================================================================================================================\r\nInstall       1 Package(s)\r\n\r\nTotal download size: 93 k\r\nInstalled size: 203 k\r\nIs this ok &#x5B;y\/N]: y\r\nDownloading Packages:\r\nrlwrap-0.42-1.el6.x86_64.rpm                                                                                                                        |  93 kB     00:00\r\nwarning: rpmts_HdrFromFdno: Header V3 RSA\/SHA256 Signature, key ID 0608b895: NOKEY\r\nRetrieving key from file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-EPEL-6\r\nImporting GPG key 0x0608B895:\r\n Userid : EPEL (6) &lt;epel@fedoraproject.org&gt;\r\n Package: epel-release-6-8.noarch (installed)\r\n From   : \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-EPEL-6\r\nIs this ok &#x5B;y\/N]: y\r\nRunning rpm_check_debug\r\nRunning Transaction Test\r\nTransaction Test Succeeded\r\nRunning Transaction\r\nWarning: RPMDB altered outside of yum.\r\n  Installing : rlwrap-0.42-1.el6.x86_64                                                                                                                                1\/1\r\n  Verifying  : rlwrap-0.42-1.el6.x86_64                                                                                                                                1\/1\r\n\r\nInstalled:\r\n  rlwrap.x86_64 0:0.42-1.el6\r\n\r\nComplete!\r\n&#x5B;root@oel6]#\r\n\r\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is rlwrap? rlwrap (readline wrapper) is a utility that provides command history and editing of commands for programs such as sqlplus, rman. &nbsp; Red Hat Linux 7 and OEL 7 Execute the commands as root. Get Extended Packages for &hellip; <a href=\"https:\/\/dbafox.com\/?p=795\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[19],"tags":[],"class_list":["post-795","post","type-post","status-publish","format-standard","hentry","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux - Install rlwrap from epel (Extra Packages for Enterprise Linux ) - dbafox<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbafox.com\/?p=795\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux - Install rlwrap from epel (Extra Packages for Enterprise Linux ) - dbafox\" \/>\n<meta property=\"og:description\" content=\"What is rlwrap? rlwrap (readline wrapper) is a utility that provides command history and editing of commands for programs such as sqlplus, rman. &nbsp; Red Hat Linux 7 and OEL 7 Execute the commands as root. Get Extended Packages for &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbafox.com\/?p=795\" \/>\n<meta property=\"og:site_name\" content=\"dbafox\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-09T09:54:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-03-13T06:04:42+00:00\" \/>\n<meta name=\"author\" content=\"Ray Fox\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ray Fox\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbafox.com\/?p=795\",\"url\":\"https:\/\/dbafox.com\/?p=795\",\"name\":\"Linux - Install rlwrap from epel (Extra Packages for Enterprise Linux ) - dbafox\",\"isPartOf\":{\"@id\":\"https:\/\/dbafox.com\/#website\"},\"datePublished\":\"2017-01-09T09:54:50+00:00\",\"dateModified\":\"2019-03-13T06:04:42+00:00\",\"author\":{\"@id\":\"https:\/\/dbafox.com\/#\/schema\/person\/287adc474c1aebd398752ac4dcfe27eb\"},\"breadcrumb\":{\"@id\":\"https:\/\/dbafox.com\/?p=795#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbafox.com\/?p=795\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbafox.com\/?p=795#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbafox.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux &#8211; Install rlwrap from epel (Extra Packages for Enterprise Linux )\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dbafox.com\/#website\",\"url\":\"https:\/\/dbafox.com\/\",\"name\":\"dbafox\",\"description\":\"DBA Technical Information\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dbafox.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/dbafox.com\/#\/schema\/person\/287adc474c1aebd398752ac4dcfe27eb\",\"name\":\"Ray Fox\",\"sameAs\":[\"http:\/\/www.dbafox.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux - Install rlwrap from epel (Extra Packages for Enterprise Linux ) - dbafox","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dbafox.com\/?p=795","og_locale":"en_GB","og_type":"article","og_title":"Linux - Install rlwrap from epel (Extra Packages for Enterprise Linux ) - dbafox","og_description":"What is rlwrap? rlwrap (readline wrapper) is a utility that provides command history and editing of commands for programs such as sqlplus, rman. &nbsp; Red Hat Linux 7 and OEL 7 Execute the commands as root. Get Extended Packages for &hellip; Continue reading &rarr;","og_url":"https:\/\/dbafox.com\/?p=795","og_site_name":"dbafox","article_published_time":"2017-01-09T09:54:50+00:00","article_modified_time":"2019-03-13T06:04:42+00:00","author":"Ray Fox","twitter_misc":{"Written by":"Ray Fox","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dbafox.com\/?p=795","url":"https:\/\/dbafox.com\/?p=795","name":"Linux - Install rlwrap from epel (Extra Packages for Enterprise Linux ) - dbafox","isPartOf":{"@id":"https:\/\/dbafox.com\/#website"},"datePublished":"2017-01-09T09:54:50+00:00","dateModified":"2019-03-13T06:04:42+00:00","author":{"@id":"https:\/\/dbafox.com\/#\/schema\/person\/287adc474c1aebd398752ac4dcfe27eb"},"breadcrumb":{"@id":"https:\/\/dbafox.com\/?p=795#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbafox.com\/?p=795"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dbafox.com\/?p=795#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbafox.com\/"},{"@type":"ListItem","position":2,"name":"Linux &#8211; Install rlwrap from epel (Extra Packages for Enterprise Linux )"}]},{"@type":"WebSite","@id":"https:\/\/dbafox.com\/#website","url":"https:\/\/dbafox.com\/","name":"dbafox","description":"DBA Technical Information","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbafox.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/dbafox.com\/#\/schema\/person\/287adc474c1aebd398752ac4dcfe27eb","name":"Ray Fox","sameAs":["http:\/\/www.dbafox.com"]}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3ecMb-cP","_links":{"self":[{"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/posts\/795","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dbafox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=795"}],"version-history":[{"count":10,"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/posts\/795\/revisions"}],"predecessor-version":[{"id":1409,"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/posts\/795\/revisions\/1409"}],"wp:attachment":[{"href":"https:\/\/dbafox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=795"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbafox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=795"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbafox.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}