I have Just downloaded the robomongo 64 bit for ubuntu from the Official site. Then I opened my terminal and went through the folder structure and executed the command from bin folder.

sh robomongo.sh

I'm getting an error like this

robomongo.sh: 5: robomongo.sh: Bad substitution

Help me.

Thanks in Advance

share|improve this question
    
Solution : when i downloaded the tar file from official site, I just opened it using ubuntu software center. It got Installed and working fine now. – Pavan Oct 21 '15 at 7:27
To install MongoDB Administration: RoboMongo version (0.8.*) on Ubuntu
  1. Download 64 bit .deb package for Debian/Ubuntu
  2. Open .deb package with Ubuntu Software Center
  3. MongoDB Administration: RoboMongo has been installed on your linux machine

To install MongoDB Administration: RoboMongo version (0.9.*) on Ubuntu
  1. Download .tar.gz file for ubuntu [ Source: RoboMongo Website, for example 0.9.0 RC8 1.e robomongo-0.9.0-rc8-linux-x86_64-c113244.tar.gz ]
  2. tar -xvzf robomongo-0.9.0-rc8-linux-x86_64-c113244.tar.gz [ Assuming you have robomongo-0.9.0-rc8-linux-x86_64-c113244.tar.gz file into your Download directory ]
  3. sudo mv PATH_TO_RoboMongo_Tar_File /usr/local/lib/robomongo/

Example: sudo mv ~/Downloads/robomongo-0.9.0-rc8-linux-x86_64-c113244/ /usr/local/lib/robomongo/

  1. cd /usr/local/lib/robomongo/bin
  2. Right click on robomongo file i.e executable (application/x-executable)

    5.1. Now click on "Make Link" option

  3. You may put this shortcut icon to desktop to launch RoboMongo GUI

share|improve this answer

in Terminal you can use just this command robomongo and you can install stable version robomongo with using sudo apt-get install robomongo

share|improve this answer
    
Firstly Thanks,getting this error E: Unable to locate package robomongo . – Pavan Oct 20 '15 at 9:55
    
maybe currently install other application or doing update. done restart – Fariz Agayev Oct 20 '15 at 9:57
    
No. I have tried the same command from another system the error I got the same. – Pavan Oct 20 '15 at 9:59
    
I think this is not robomongo package problem. this your ubuntu system problem. maybe chack askubuntu.com/questions/378558/… – Fariz Agayev Oct 20 '15 at 10:05
    
Thanks. I'll check it. – Pavan Oct 20 '15 at 10:11

Solution : when i downloaded the tar file from official site, I just opened it using ubuntu software center. It got Installed and working fine now.

share|improve this answer
    
How do you open tar.gz in Ubuntu Software Center? Did not find the way... – Anton Mar 22 '16 at 13:04
    
@Anton right click on that file and open with ubuntu software center. upvoke the answer if it solves your problem ! – Pavan Mar 24 '16 at 11:26
    
Ubuntu Software Center complains that the file cannot be opened. Anyway, already installed that in the old-style way (that is, manually). – Anton Mar 27 '16 at 6:56
    
Firstly download the tar file from the link and extract the file and go to bin folder you can see robomongo.sh just run it. – Pavan Mar 29 '16 at 12:37

answer of @mistertandon is nice But I will be more clear

There Two ways to install robomongo program into ubuntu using command line:

First way

1.1 download tar.gz file from Official robomongo website(choose version you need to install and get it's tar.gz download file url)

wget https://download.robomongo.org/0.9.0/linux/robomongo-0.9.0-linux-x86_64-0786489.tar.gz

1.2 extract tar.gz file

 tar -xvzf robomongo-0.9.0-linux-x86_64-0786489.tar.gz

1.3 mv files and folders into the result folder from extraction operation into folder robomongo under /usr/local/bin

sudo mkdir /usr/local/bin/robomongo
sudo mv  robomongo-0.9.0-linux-x86_64-0786489/* /usr/local/bin/robomongo

1.4 make sure excute file for robomongo program which exists under /usr/local/bin/robomongo/bin folder is excutable file

cd /usr/local/bin/robomongo/bin
sudo chmod +x robomongo ## run command only if robomongo isn't excutable file
./robomongo

Second way

2.1 download deb file from Official robomongo website(choose version you need to install and get it's deb download file url)

wget https://download.robomongo.org/0.8.5/linux/robomongo-0.8.5-x86_64.deb

2.2 install deb file using dpkg command line

sudo dpkg -i robomongo-0.8.5-x86_64.deb

2.3 open robomongo program using command line by run

robomongo

Very Important Notice:

all version less than robomongo program 0.9.* version has both deb file and tar.gz file download urls(I didn't know what is the reason for this) So If you need download version less than 0.9.* version you can use one of two ways But If you need download version 0.9.0 there only one way is the first ones

more links about install robomongo program: link 1, link 2

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.