Dropbox on Ubuntu

Dropbox is obviously one of the most popular cloud storage services. The service is so great that it has won the heart of a majority online users. The most important thing is, besides premium storage service, Dropbox also offers free service and a good amount of cloud storage.

Moreover, you can easily share your files over the internet. Dropbox is also a secure place to store your private documents and other confidential files that you can access anywhere in the world. All you need is just an internet connection.

Today, we’ll enjoy the feature of Dropbox on the most popular Linux distro – Ubuntu. My system is Xubuntu 18.04 LTS 64-bit, but the guide will apply the same for all Ubuntu versions including all the Ubuntu derivatives.

Getting Dropbox

  • Method 1

Dropbox has an official client for Linux systems. As Ubuntu is one of the most popular Linux distros, Dropbox officially provides a DEB package for Ubuntu and its derivatives.

Get Dropbox DEB package.

After downloading is complete, run the following commands –

cd ~/Downloads
sudo dpkg -i dropbox_2015.10.28_amd64.deb
sudo apt install -f

  • Method 2

For installing Dropbox without the DEB package, run this command directly on terminal –

sudo apt install nautilus-dropbox

  • Method 3

If you want to install Dropbox from source, that’s also possible. You need the following dependency as well –

For installing the “python-gpgme”, download the DEB package from Pkgs.org and run the following commands –

cd ~/Downloads
sudo dpkg -i python-gpgme_0.3-1.2build2_amd64.deb

For installing all the other dependencies, run the following command –

sudo apt install libnautilus-extension-dev python-docutils python-gpg

Download the latest Dropbox tarball.

Run the following commands –

cd ~/Downloads
tar -xvjf nautilus-dropbox-2015.10.28.tar.bz2

cd nautilus-dropbox-2015.10.28


sudo make install

Setting Dropbox

The installation isn’t complete yet. This is only a tiny package that will later install the entire Dropbox client. You’ll notice that there’s a Dropbox icon at your launcher.

Start the app. Here’s a warning message. Click “OK”.

You’ll notice that Dropbox is being downloaded. Wait for the process to complete.

The app will redirect you to a web page. Here, you’ll have to log into your Dropbox system.

Using Dropbox

Now, Dropbox will be available under “/home/<username>/Dropbox” directory.

Everything you put on this folder will be synced with the online server. You delete your file from the folder, it’ll disappear from the cloud storage as well.

Let’s show it with a demo. I have set a test directory “~/Downloads/testDir1”. When I copy it to Dropbox folder,

cp -vr ~/Downloads/testDir/ ~/Dropbox/

You’ll find out that your Dropbox storage also has that file!

Delete the test directory from Dropbox folder –

cd ~/Dropbox/
rf -rf testDir/

WOW! The file isn’t on your cloud storage anymore!

Command line usage of Dropbox

Of course, the application offers some nice command line facility. Here are all the commands available.

Now, for detailed explanation of each and every command, take a look at the official Dropbox help page.


Previous Post

How to Use CentOS Unzip

Next Post

Google Hangouts on Ubuntu 18.04

Related Posts