I am using MongoDB and I want to install Robomongo on Ubuntu.
Are there any instructions on how I can I install Robomongo on my machine?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityFollow these simple steps.
Anytime you'll wanna run robomongo, you will have to do something like this from terminal:
/path/to/robomongo_dir/bin/robomongo
You might wanna add a link to robomongo from your /usr/bin
which will allow you to do something like this anywhere from terminal:
for that
move this link to /usr/bin directory with below command on terminal
sudo mv /robomongo_dir/bin/robo_ /usr/bin
Now you can run robomongo from terminal OR from run command (Alt+ F2) by typing robo_
Robo 3T (formerly Robomongo) is the free lightweight GUI with embedded shell for MongoDB enthusiasts. Use Ubuntu Software to install the robo3t-snap package or install it from the terminal with:
sudo snap install robo3t-snap
~/snap/robo3t-snap/4
if you wish to do SSH tunelling with the snap package (cf. github.com/Studio3T/robomongo/issues/…)
– Yonn Trimoreau
Oct 3 '20 at 8:59
answer of @Rexford 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 available versions 0.8.5 and earlier of robomongo
have both deb
file and tar.gz
file download urls. So If you want a previous 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, line 2, link 3
robomongo
executable from anywhere, I renamed its folder and sudo ln -s /usr/local/bin/robomongodir/bin/robomongo /usr/local/bin/
– Joost Döbken
Jan 25 '17 at 9:47
robomongo: command not found
then you're probably on 32-bit architecture which isn't (and probably won't be) supported by robomongo
– Michael
Mar 4 '17 at 8:43
Robomongo is now Robo 3T:
Download the tar file from the site.
The current file is robo3t-1.1.1-linux-x86_64-c93c6b0.tar.gz
but obviously this may be different to what you downloaded in the future: adapt the commands below accordingly.
Open a terminal and cd
to wherever you downloaded the archive, eg, cd Downloads
and mv
it to wherever you would like to keep it, perhaps /opt
. Then extract it, and make a symlink from the binary to a PATH location, for example...
sudo tar -xf /opt/robo3t-1.1.1-linux-x86_64-c93c6b0.tar.gz
sudo ln -s /opt/robo3t-1.1.1-linux-x86_64-c93c6b0/bin/robo3t /usr/local/bin/robo3t
Now you can run robo3t
in your terminal and it will work.
wget
wget https://download.studio3t.com/robomongo/linux/robo3t-1.4.2-linux-x86_64-8650949.tar.gz
###### Extract here using
tar -xvzf robo3t-1.4.2-linux-x86_64-8650949.tar.gz
###### Make a new folder in `usr/local/bin` from the package
sudo mkdir /usr/local/bin/robo3t
###### Move the extracted package to `usr/local/bin`
sudo mv robo3t-1.4.2-linux-x86_64-8650949/* /usr/local/bin/robo3t
###### Change directory to
cd /usr/local/bin/robo3t/bin
###### Download icon
sudo wget https://dashboard.snapcraft.io/site_media/appmedia/2018/09/logo-256x256.png
sudo mv logo-256x256.png icon.png
###### To make `desktop icon` for `Robo3t`, we can make a file in
sudo nano /usr/share/applications/robo3t.desktop
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Robo3t
Icon=/usr/local/bin/robo3t/bin/icon.png
Exec="/usr/local/bin/robo3t/bin/robo3t"
Comment=Robo3t
Categories=Development;
Terminal=false
StartupNotify=true
Now, we can find the icon
in application launcher menu by search for robo3t
We can check this also
run the folowing commands(feel free to update the links and change folder names):
wget https://download.robomongo.org/1.1.1/linux/robo3t-1.1.1-linux-x86_64-c93c6b0.tar.gz
sudo tar -xzf robo3t-1.1.1-linux-x86_64-c93c6b0.tar.gz -C /opt
rm robo3t-1.1.1-linux-x86_64-c93c6b0.tar.gz
sudo mkdir /opt/robo3t-1.1.1-linux-x86_64-c93c6b0//lib/BKP/
sudo mv /opt/robo3t-1.1.1-linux-x86_64-c93c6b0/lib/libstdc++* /opt/robo3t-1.1.1-linux-x86_64-c93c6b0//lib/BKP/
sudo ln -s /opt/robo3t-1.1.1-linux-x86_64-c93c6b0/bin/robo3t /usr/bin/robo3t
cat > ~/.local/share/applications/robo3t.desktop <<EOL
[Desktop Entry]
Encoding=UTF-8
Name=Robo3T
Exec=robo3t
Terminal=false
Type=Application
Categories=Development;
EOL
then you will also get a launcher icon so you will be able to press win-key and search for.
But you wont get an image for the icon (some ubuntu place-holder) :(
There doesn't seem to be sudo apt-get install for robomongo. There is tar.gz download available from here Once you download that you need to do
gunzip robomongo-0.9.0-rc4-linux-x86_64-8c830b6.tar.gz
tar -xvf robomongo-0.9.0-rc4-linux-x86_64-8c830b6.tar
and then either move the untar-ed version to /opt
(if needed)
Otherwise there is another way as mentioned in this blog or here
if you try to install the latest version of robomobo that call be now robo3t. Or you try to install on ubuntu 16.04 follow the below step and your robomongo install
Download latest robomongo tar file
wget https://download.robomongo.org/1.1.1/linux/robo3t-1.1.1-linux-x86_64-c93c6b0.tar.gz
Extract it
tar -xvzf https://download.robomongo.org/1.1.1/linux/robo3t-1.1.1-linux-x86_64-c93c6b0.tar.gz
Make a directory
mkdir ~/robo-backup
Move robo3t-1.1.1-linux-x86_64-c93c6b0/lib/libstdc++ direcotry to ~/robo-backup/ direcotry
mv robo3t-1.1.1-linux-x86_64-c93c6b0/lib/libstdc++* ~/robo-backup/
Run the robo3t
robo3t-1.1.1-linux-x86_64-c93c6b0/bin/robo3t
If you need to install mongodb binary (Manually) to your Ubuntu 18.04 LTS (Bionic). You need to download mongodb .tgz file from this link .
1) Download it to your ~/Downloads folder and moveit to home directory by typing mv Downloads/mongodb-linux-x86_64-ubuntu1804-4.0.4.tgz ~/
2) Then unter it by typing tar -zxvf mongodb-linux-x86_64-ubuntu1804-4.0.4.tgz
place it here (Home directory /home/). Dont move it from here.
3) Then make a directory at /data/db location and give write permission to thatdirectory.
sudo mkdir -p /data/db
sudo chmod -R 777 /data/db
4) Now, this is the tricky area. Make sure u r in hme directory by typing pwd (Present Working Directory)
pwd
it will show
/home/<your user name>
Then type
ls -al
This command will show up all hiddenfile at home directory and search for
~/.bashrc
5) Edit the .bashrc file and write
export PATH=mongodb-linux-x86_64-ubuntu1804-4.0.4/bin:$PATH
and save the file type source ./bashrc
Then type echo $PATH
at terminal it will display ~/mongodb-linux-x86_64-ubuntu1804-4.0.4/bin:/home/xenon/.nvm/versions/node/v10.15.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
6) Now at terminal type mongo --nodb
it will show MongoDB shell version v4.0.4
From here , you are all set, go ahead and enjoy mongodb installation. This istallation is bit complex but by this method you can easily control the version of mongodb and use it as per your need.
7) Then start mongod
>sudo mkdir -p /var/log && sudo chmod -R 777 /var/log
>mongod --port 27017 --dbpath /data/db --logpath /var/log/local.log --fork
>mongo --port 27017
To install Robomongo (Robo 3T) version 1.4+ use following steps
cd ~/Downloads/
tar -xvzf robo3t*.tar.gz
sudo mkdir /usr/local/bin/robo3t
sudo mv robo3t*/* /usr/local/bin/robo3t/
cd /usr/local/bin/robo3t/bin/
sudo chmod +x robo3t
Previously, you could install it using Ubuntu Software using sudo snap install robo3t-snap
.
But it is not updating from version 1.3.