Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have installed Oracle 10g Express edition in Ubuntu 10.10 and it doesn't show or ask to give my password during installation.

When I click on "start database" it gave the warning "Operation failed, abhi is not a member of 'dba' group." and when clink on "Run SQL command line" it shows /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/ 114: [[: not found

When I click on "GOTO Database home page", it opens Mozilla's "Ubuntu Google search page".

Can anyone help me get my Oracle to work or tell me how to remove that because it is also not getting removed.
I tried all the commands that are given as suggestions by Ubuntu.

Please help me because I don't want to format my Ubuntu.

share|improve this question

2 Answers 2


/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/ 114: [[: not found

The solution is to simply edit it (as root) and remove a pair of square brackets on lines #108 and #110.


sudo -H gedit /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/

Scroll down until you find this:

if [[ -n "$LC_ALL" ]]; then  
elif [[ -n "$LANG" ]]; then  

Then change it to this (remove a pair of brackets):

if [ -n "$LC_ALL" ]; then  
elif [ -n "$LANG" ]; then  

Then click SAVE. Now try this command again to set your environment variables:


Nothing appears to happen when you do it but, it auto-sets your variables. DONE!


Thanks to this blog:

share|improve this answer

abhi don't worry ... all have solution ... ;)

Install for 32 bits is easy:

sudo sh -c "echo 'deb unstable main non-free #Oracle XE' >> /etc/apt/sources.list.d/oraclexe.list"

wget -O- | sudo apt-key add 

sudo apt-get update 

sudo apt-get install oracle-xe-universal

for 64 bits:


sudo dpkg -i --force-architecture libaio_0.3.104-1_i386.deb oracle-xe-universal_10.2.0.1-1.1_i386.deb 

rm libaio_0.3.104-1_i386.deb oracle-xe-universal_10.2.0.1-1.1_i386.deb

Remove :

You can use apt-get command to remove / delete Oracle express edition server from the Ubuntu Linux.

Open terminal.

Type the following command to delete it:

sudo apt-get remove oracle-xe or oracle-xe-universal

Configure :

follow this simple an well explain tutorial with screenshot .. it is say how to add your user to dba groups and how to configure oracle to give you a password..

start in step 1. Configuring Oracle


P.D :

About the error ....

you may get an nls_lang error as follows when you try to export the environment variables.


ubuntu uses a BASH linux shell. Now open “” with a text editor and set the correct shell parameter in the first line of the script.

see step 5. open

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.