How to Install Dropbox on Ubuntu 18.04 From Official Repository

This tutorial will be showing you how to install Dropbox on Ubuntu 18.04 LTS desktop from Dropbox Linux repository. Dropbox Team hasn’t updated their repository for Ubuntu 18.04, but the installer for Ubuntu 16.04 works well on 18.04. We will not download the installer from Dropbox Linux Download page, because the installer on that page is outdated.

How to Install Dropbox on Ubuntu 18.04 From Official Repository

If you don’t have a Dropbox account yet, then click here to sign up. Next, open a terminal window, run the following command to create a source list file for Dropbox. Nano is a command line text editor, which allows you to edit text files in the terminal.

sudo nano /etc/apt/sources.list.d/dropbox.list

Add the following line to this file.

deb [arch=i386,amd64] http://linux.dropbox.com/ubuntu xenial main

To save the file in Nano text editor, press Ctrl+O, then press Enter to confirm. To exit the file, press Ctrl+X. Next, we need to run the following command to import Dropbox GPG key to Ubuntu 18.04 system.

Note that the package python-gpgme, which is used by Dropbox to verify binary signature, is no longer in Ubuntu 18.04 repository. The successor is python-gpg. Also keep in mind that the dropbox is just a helper package . It’s not the actual Dropbox binary.

Now you can start the Dropbox GUI installer from your application menu.

You can also run the following command to start it from terminal. The -i option will attempt to install Dropbox daemon if it’s not installed.

dropbox start -i

Click OK to install the daemon.

After the Dropbox daemon is installed, a new tab will be opened in your web browser asking you to link your computer to Dropbox account.

Now you can use Dropbox on your Ubuntu 18.04 desktop. Dropbox Linux client supports HTTP, SOCKS4 and SOCKS5 proxy. You can configure proxy in Dropbox Preferences > Proxies. This is useful if your country or area is banned from accessing Dropbox. If you want to set up your own fast proxy server, follow this Shadowsocks tutorial.

By default, Dropbox will automatically start at login. To disable this you can run this command:

dropbox autostart n

To enable autostart again, run

dropbox autostart y

For more Dropbox command line usage, issue this command:

man dropbox

I hope this tutorial helped you install Dropbox on Ubuntu 18.04 desktop. As always, if you found this post useful, then subscribe to our free newsletter to get new tutorials. Take care.