{"id":442,"date":"2010-12-09T12:08:37","date_gmt":"2010-12-09T17:08:37","guid":{"rendered":"http:\/\/otac.isa-geek.net\/blog\/?p=442"},"modified":"2010-12-09T12:08:37","modified_gmt":"2010-12-09T17:08:37","slug":"installing-oracle-express-edition-xe-on-64-bit-ubuntu-10-04-lucid","status":"publish","type":"post","link":"https:\/\/otac.isa-geek.net\/blog\/?p=442","title":{"rendered":"Installing Oracle Express Edition (XE) on 64-bit Ubuntu 10.04 (Lucid)"},"content":{"rendered":"<p>I wanted to install Oracle XE on my laptop to do some simple Oracle database modeling work, since it gives fairly complete Oracle database functionality without the space and configuration hassle of Enterprise 10G or 11G. However, After going to <a href=\"http:\/\/www.oracle.com\/technetwork\/database\/express-edition\/downloads\/102xelinsoft-102048.html\">http:\/\/www.oracle.com\/technetwork\/database\/express-edition\/downloads\/102xelinsoft-102048.html<\/a> to download the Debian (.deb) package, I discovered there that is no 64-bit version available for Linux! (Windows, surprisingly, <strong>is<\/strong> supported in 64-bit). However, it turns out the Linux 32-bit i386 version will work under Ubuntu 64-bit. I followed the steps below to get it installed:<\/p>\n<p>In a terminal session, I ran:<\/p>\n<p>duanecato@ino:~$ cd downloads<br \/>\nduanecato@ino:~\/downloads$ sudo dpkg -i &#8211;force-architecture oracle-xe_10.2.0.1-1.0_i386.deb<br \/>\n[sudo] password for duanecato:<br \/>\ndpkg: warning: overriding problem because &#8211;force enabled:<br \/>\npackage architecture (i386) does not match system (amd64)<br \/>\nSelecting previously deselected package oracle-xe.<br \/>\n(Reading database &#8230; 266352 files and directories currently installed.)<br \/>\nUnpacking oracle-xe (from oracle-xe_10.2.0.1-1.0_i386.deb) &#8230;<br \/>\ndpkg: dependency problems prevent configuration of oracle-xe:<br \/>\noracle-xe depends on libaio (&gt;= 0.3.96) | libaio1 (&gt;= 0.3.96); however:<br \/>\nPackage libaio is not installed.<br \/>\nPackage libaio1 is not installed.<br \/>\ndpkg: error processing oracle-xe (&#8211;install):<br \/>\ndependency problems &#8211; leaving unconfigured<br \/>\nProcessing triggers for desktop-file-utils &#8230;<br \/>\nProcessing triggers for python-gmenu &#8230;<br \/>\nRebuilding \/usr\/share\/applications\/desktop.en_US.utf8.cache&#8230;<br \/>\nProcessing triggers for man-db &#8230;<br \/>\nProcessing triggers for ureadahead &#8230;<br \/>\nureadahead will be reprofiled on next reboot<br \/>\nProcessing triggers for python-support &#8230;<br \/>\nErrors were encountered while processing:<br \/>\noracle-xe<br \/>\nduanecato@ino:~\/downloads$ ^C<\/p>\n<p>As seen above, there is a dependency error for\u00a0 libaio &#8211; to resolve this I ran Synaptic, searched for the libaio packages, and installed the dev and shared libraries. I then reran the Oracle XE install:<\/p>\n<p>duanecato@ino:~\/downloads$ sudo dpkg -i &#8211;force-architecture oracle-xe_10.2.0.1-1.0_i386.deb<\/p>\n<p>dpkg: warning: overriding problem because &#8211;force enabled:<br \/>\npackage architecture (i386) does not match system (amd64)<br \/>\n(Reading database &#8230; 268769 files and directories currently installed.)<br \/>\nPreparing to replace oracle-xe 10.2.0.1-1.0 (using oracle-xe_10.2.0.1-1.0_i386.deb) &#8230;<br \/>\nUnpacking replacement oracle-xe &#8230;<br \/>\nSetting up oracle-xe (10.2.0.1-1.0) &#8230;<br \/>\nupdate-rc.d: warning: \/etc\/init.d\/oracle-xe missing LSB information<br \/>\nupdate-rc.d: see &lt;http:\/\/wiki.debian.org\/LSBInitScripts&gt;<br \/>\nExecuting Post-install steps&#8230;<br \/>\n-e You must run &#8216;\/etc\/init.d\/oracle-xe configure&#8217; as the root user to configure the database.<\/p>\n<p>Processing triggers for desktop-file-utils &#8230;<br \/>\nProcessing triggers for python-gmenu &#8230;<br \/>\nRebuilding \/usr\/share\/applications\/desktop.en_US.utf8.cache&#8230;<br \/>\nProcessing triggers for man-db &#8230;<br \/>\nProcessing triggers for ureadahead &#8230;<br \/>\nProcessing triggers for python-support &#8230;<\/p>\n<p>As can be seen from above, the library dependency is now resolved, and I need to complete the configuration by running \/etc\/init.d\/oracle-xe configure as root:<\/p>\n<p>duanecato@ino:~\/downloads$ sudo \/etc\/init.d\/oracle-xe configure<br \/>\n[sudo] password for duanecato:<\/p>\n<p>Oracle Database 10g Express Edition Configuration<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nThis will configure on-boot properties of Oracle Database 10g Express<br \/>\nEdition.\u00a0 The following questions will determine whether the database should<br \/>\nbe starting upon system boot, the ports it will use, and the passwords that<br \/>\nwill be used for database accounts.\u00a0 Press &lt;Enter&gt; to accept the defaults.<br \/>\nCtrl-C will abort.<\/p>\n<p>Specify the HTTP port that will be used for Oracle Application Express [8080]:<\/p>\n<p>Specify a port that will be used for the database listener [1521]:<\/p>\n<p>Specify a password to be used for database accounts.\u00a0 Note that the same<br \/>\npassword will be used for SYS and SYSTEM.\u00a0 Oracle recommends the use of<br \/>\ndifferent passwords for each database account.\u00a0 This can be done after<br \/>\ninitial configuration:<br \/>\nConfirm the password:<\/p>\n<p>Do you want Oracle Database 10g Express Edition to be started on boot (y\/n) [y]:n<\/p>\n<p>Starting Oracle Net Listener&#8230;Done<br \/>\nConfiguring Database&#8230;Done<br \/>\nStarting Oracle Database 10g Express Edition Instance&#8230;Done<br \/>\nInstallation Completed Successfully.<br \/>\nTo access the Database Home Page go to &#8220;http:\/\/127.0.0.1:8080\/apex&#8221;<br \/>\nduanecato@ino:~\/downloads$<\/p>\n<p>I took the defaults for everything, and then verified access to the Oracle XE login page in Firefox:<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p><div id=\"attachment_447\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/12\/Screenshot-Application-Express-Login-Mozilla-Firefox.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-447\" class=\"size-thumbnail wp-image-447\" title=\"Application Express Login - Mozilla Firefox\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/12\/Screenshot-Application-Express-Login-Mozilla-Firefox-150x150.png\" alt=\"Application Express Login - Mozilla Firefox\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-447\" class=\"wp-caption-text\">Application Express Login - Mozilla Firefox<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_448\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/12\/Screenshot-Oracle-XE-Mozilla-Firefox.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-448\" class=\"size-thumbnail wp-image-448\" title=\"Oracle  XE - Mozilla Firefox\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/12\/Screenshot-Oracle-XE-Mozilla-Firefox-150x150.png\" alt=\"Oracle  XE - Mozilla Firefox\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-448\" class=\"wp-caption-text\">Oracle  XE - Mozilla Firefox<\/p><\/div><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>I hope this quick post helps out others who want to do Oracle database development on 64-bit Linux, without going whole-hog on the full Enterprise install of 10G\/11G.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wanted to install Oracle XE on my laptop to do some simple Oracle database modeling work, since it gives fairly complete Oracle database functionality without the space and configuration hassle of Enterprise 10G or 11G. However, After going to http:\/\/www.oracle.com\/technetwork\/database\/express-edition\/downloads\/102xelinsoft-102048.html to download the Debian (.deb) package, I discovered there that is no 64-bit version [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,7],"tags":[],"class_list":["post-442","post","type-post","status-publish","format-standard","hentry","category-database","category-oracle"],"_links":{"self":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=442"}],"version-history":[{"count":1,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/442\/revisions"}],"predecessor-version":[{"id":449,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/442\/revisions\/449"}],"wp:attachment":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}