How to build the Dropbox installer for Linux from source
The Dropbox installation package source has been released to the public via a GPL license. This means that even if we don't have installation packages for your Linux or Unix distribution of choice, you can still compile a version yourself.
Install Dropbox from source
- Download the latest installer package.
- Extract the tarball:
tar xjf ./nautilus-dropbox-1.6.1.tar.bz2
- In most distributions, the following commands should do the rest:
cd ./nautilus-dropbox-1.6.1; ./configure; make; make install;
For specific distributions or to configure your installation, see the INSTALL file included with the source package.
Want to contribute?
As mentioned above, nautilus-dropbox is released on a GPL license. However, due to legal requirements, we can only accept patches into our release if you release your patch into the public domain. Don't worry, we'll still credit you in the CONTRIBUTORS file included with every package. To submit your patches, contact us. If you want to develop on the Dropbox platform, visit our developers site and check out our API.
How to add Dropbox to your Linux repository
To add Dropbox to an Ubuntu repository:
- Add the following line to /etc/apt/sources.list, and replace xenial with your build's name below.
deb http://linux.dropbox.com/ubuntu xenial main
- Import our GPG keys into your apt repository, perform the following command from your terminal shell:
$ sudo apt-key adv --keyserver pgp.mit.edu
To add Dropbox to a Fedora repository:
- Add the following to /etc/yum.conf.
The Dropbox desktop app can be controlled with the Linux Command Line Interface (CLI). Depending on your Linux distribution and the package you used to perform installation, you may need to download a Python script to control Dropbox from the command line. However, we recommend you first try without downloading the script.
Before running commands, ensure that you’re running the available commands while your prompt is located at the root (top level) of the Dropbox folder.