Dropbox on Ubuntu

29/12/2020
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
./configure

make

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.

Enjoy!

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

All about Ubuntu Software Center

If you’re using a Linux system, there’s a high chance that you’re currently running Ubuntu or other Ubuntu-based...
29/12/2020

How to install Vivaldi 1.11 on Ubuntu – New Browser Icon

Vivaldi 1.11 recently released, comes with a host of new features, some of which includes a brand-new application icon...
28/12/2020

How to Install Samba on Ubuntu

In this article, I am going to show you how to install Samba on Ubuntu and share files with Windows and other Linux computers....
29/12/2020