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

前端 未结 9 1904
南方客
南方客 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: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
      

提交回复
热议问题