robo 3t download ubuntu code example

Example 1: install robo 3t ubuntu\

sudo snap install robo3t-snap

Example 2: install robomongo ubuntu

## 1. Download the tar file from robomongo site. The current file is robo3t-1.1.1-linux-x86_64-c93c6b0.tar.gz, but yours could be different.
## robomongo-site-link ## https://robomongo.org/download
## 2.Open up the terminal, switch to download directory and run the following commands:

tar -xvzf robo3t-1.1.1-linux-x86_64-c93c6b0.tar.gz
sudo mkdir /usr/local/bin/robomongo
sudo mv  robo3t-1.1.1-linux-x86_64-c93c6b0/* /usr/local/bin/robomongo
cd /usr/local/bin/robomongo/bin
sudo chmod +x robo3t 
sudo gedit ~/.bashrc

## Add the following line to the end of .bashrc file:

alias robomongo='/usr/local/bin/robomongo/bin/robo3t'

## Save and close the file. Now reload it using the following command:

source ~/.bashrc

##Then you can run robomongo from your terminal and it will work:
robomongo

Example 3: how to install robo3t in ubuntu

Install Robo3t On Ubuntu 18.04
Download the package form Robo3t or using wget
wget https://download.robomongo.org/1.2.1/linux/robo3t-1.2.1-linux-x86_64-3e50a65.tar.gz
Extract here using
tar -xvzf robo3t-1.2.1-linux-x86_64-3e50a65.tar.gz

Make a new floder 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.2.1-linux-x86_64-3e50a65/* /usr/local/bin/robo3t

Change directory to cd /usr/local/bin/robo3t/bin
Now, We need to give permission to newly created directory using chmod
sudo chmod +x robo3t ./robo3t

Now we can run Robo3t ./robo3t

We can download the icon for Robo3t from and put it here as we will need to make desktop icon later
For example save it on /bin with name icon.png /usr/local/bin/robo3t/bin/icon.png

mv icon.png /usr/local/bin/robo3t/bin

To make desktop icon for Robo3t, we can make a file in usr/share/applications
sudo nano /usr/share/applications/robo3t.desktop

Paste these there and save

[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