Skip to main content

How can I install Dropbox?

08 Mar 2013 - linux

First, run the following command to add the Dropbox repository.

sudo add-apt-repository "deb http://linux.dropbox.com/ubuntu $(lsb_release -sc) main"

Next, run the command sudo apt-get update. You should get an error message similar to the following:

W: GPG error: http://linux.dropbox.com precise Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY FC918B335044912E

Follow the instructions at http://reprogrammer.github.io/faq/2013/02/24/how-can-i-install-ubuntu-repository-public-keys/ to add the necessary keys. While following the instruction, note that the Dropbox’s key server is pgp.mit.edu.

Finally, run the following commands to install Dropbox.

sudo apt-get update
sudo apt-get install dropbox python-gpgme

The command sudo apt-get update reports the following problem:

W: Duplicate sources.list entry http://linux.dropbox.com/ubuntu/ precise/main amd64 Packages (/var/lib/apt/lists/linux.dropbox.com_ubuntu_dists_precise_main_binary-amd64_Packages) W: Duplicate sources.list entry http://linux.dropbox.com/ubuntu/ precise/main i386 Packages (/var/lib/apt/lists/linux.dropbox.com_ubuntu_dists_precise_main_binary-i386_Packages) W: You may want to run apt-get update to correct these problems

I need to figure out how to resolve the duplicate entry problem.

References