本文介绍了无法在Ubuntu 14.04中使用sh robomongo.sh运行robomongo.sh的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚从官方网站下载了ubunturobomongo 64位.然后打开终端,检查文件夹结构,然后从bin文件夹执行命令.

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

我遇到这样的错误

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

救救我.

预先感谢

推荐答案

To install MongoDB Administration: RoboMongo version (0.8.*) on Ubuntu
  1. 为Debian/Ubuntu下载 64位.deb软件包
  2. 使用 Ubuntu软件中心
  3. 打开 .deb软件包
  4. MongoDB管理:您的Linux机器上已经安装了RoboMongo
  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. 下载ubuntu的.tar.gz文件[来源: RoboMongo网站,例如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 [假设您拥有 robomongo-0.9.0-rc8-linux-x86_64-c113244.tar.gz 文件进入下载目录]
  3. sudo mv PATH_TO_RoboMongo_Tar_File /usr/local/lib/robomongo/
  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/
  1. cd/usr/local/lib/robomongo/bin
  2. 右键单击robomongo文件,即可执行文件(应用程序/x可执行文件)

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

5.1.现在点击制作链接"选项

5.1. Now click on "Make Link" option

您可以将此快捷方式图标放到桌面上以启动RoboMongo GUI

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

这篇关于无法在Ubuntu 14.04中使用sh robomongo.sh运行robomongo.sh的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-15 14:34