How to install Robomongo from tar.gz file as a program in Ubuntu 15.10

前端 未结 9 1736
南方客
南方客 2021-01-31 07:30

Nowadays robomongo developers releasing the new versions of robomongo as tar.gz not in .deb packages that was easy for double click installations. But

相关标签:
9条回答
  • 2021-01-31 08:10

    Currently there is no installer for robomongo-0.9.0-rc4. you can create a desktop shortcut to robomongo-0.9.0-rc4-linux-x86_64-8c830b6/bin/robomongo file and use it just like any other Ubuntu app. Take a look at this tutorial https://askubuntu.com/a/142197/71544

    0 讨论(0)
  • 2021-01-31 08:12

    Don't worry about how to install Robo-3T on your Linux machine, follow these simple steps:

    1. Download script from Robo3T-Installation-With-Desktop Entry

    2. Open terminal in directory where above file is downloaded and run below command

      sudo chmod +x ./Robo3T-Installation-Menu.sh

    3. Then type below command and hit enter

      ./Robo3T-Installation-Menu.sh

    4. Just wait to complete it, once completed enjoy RoboMongo. Search in menu with name "Robo 3T".

    0 讨论(0)
  • 2021-01-31 08:13

    1. First Download the version from the official Robomongo website bellow:

    Download Robomongo From Official website using this link

    2.Then extract the downloaded tar.gz file in your downloads folder.

    3. Copy and paste the extracted folder into your opt folder

    /opt
    

    NB: If you don't have permission to paste in this folder use the bellow command in terminal to access the folder.

    $ sudo chmod -R 777 /opt
    

    4. Open the opt/robomongo/bin folder and launch Robomongo by clicking the executable icon.

    opt/robomongo/bin
    

    5. Simply Create a database and right click on the Robomongo icon and select the lock to launcher option. This will create a shortcut t launch the Robomongo application at any time you need.

    0 讨论(0)
  • 2021-01-31 08:23

    You can first extract the package:

    cd ~/Downloads
    tar -xzf robo3t-x.x.x-linux-x86_64-xxxxxxx.tar.gz
    

    You can rename the folder to something simpler

    mv robo3t-x.x.x-linux-x86_64-xxxxxxx robo3t
    

    Dowload any images with format .png [click here][1] (For whatever reason, the Robo3T package itself does not contain any png file for the icon)

    Save the image like robo3t.png and move this image to folder robo3t and then, instead of dumping the whole thing in /usr you can transfer this directory to /opt directory and symlink the binary file to /usr/bin or /usr/local/bin. This makes for a better way of organising your applications, and keeping such add-on packages is what /opt is for.

    So first move the directory

    sudo mv robo3t /opt
    

    and then symlink it like so

    sudo ln -s /opt/robo3t/bin/robo3t /usr/bin/robo3t
    

    then you can create an Unity desktop file for your launcher

    nano ~/.local/share/applications/robo3t.desktop
    

    and finally; paste the next code in the file newly created

     [Desktop Entry]
           Encoding=UTF-8
           Name=Robo 3T
           Exec=robo3t
           Icon=/opt/robo3t/robo3t.png
           Terminal=false
           Type=Application
           Categories=Development;
    

    And Happy coding!

    0 讨论(0)
  • 2021-01-31 08:23

    Wathc this Video How to install robomongo on ubuntu 16.4

    OR Follow Below Steps

    Open Terminal and run the below command

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

    Extract the tar.gz file to enter below command

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

    create a dir /usr/local/bin dir name directory name robomongo and move it to extract file into robomongo directory

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

    run command only if robomongo isn't executable file

    cd /usr/local/bin/robomongo/bin
    sudo chmod +x robomongo 
    ./robomongo
    
    0 讨论(0)
  • 2021-01-31 08:25

    Robomongo is now Robo 3T. Following are the updated steps:

    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.

    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
      
    3. Add the following line to the end of .bashrc file:

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

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

      $ source ~/.bashrc
      
    5. Then you can run robomongo from your terminal and it will work:

      $ robomongo
      
    0 讨论(0)
提交回复
热议问题