How do I add or remove Dropbox from my Linux repository?

Add Dropbox to your Linux repository

Ubuntu

Add the following line to /etc/apt/sources.list. Replace natty with your build's name below.

deb http://linux.dropbox.com/ubuntu natty main

To import our GPG keys into your apt repository, perform the following command from your terminal shell:

$ sudo apt-key adv --keyserver pgp.mit.edu
--recv-keys 1C61A2656FB57B7E4DE0F4C1FC918B335044912E
$ sudo apt-key adv --keyserver pgp.mit.edu
--recv-keys 1C61A2656FB57B7E4DE0F4C1FC918B335044912E

Fedora

Add the following to /etc/yum.conf.


name=Dropbox Repository
baseurl=http://linux.dropbox.com/fedora/\$releasever/
gpgkey=http://linux.dropbox.com/fedora/rpm-public-key.asc

Remove Dropbox from your Linux repository

  1. Remove the lines that you added when first adding Dropbox to your repository:

Ubuntu: Remove the following line from /etc/apt/sources.list. Replace natty with your build's name:

        deb http://linux.dropbox.com/ubuntu natty main

Fedora: Remove the following from /etc/yum.conf:

        name=Dropbox Repository
        baseurl=http://linux.dropbox.com/fedora/\$releasever/
        gpgkey=http://linux.dropbox.com/fedora/rpm-public-key.asc
  1. Run this command to list all key you've imported:
sudo apt-key list
  1. Copy the key for Dropbox, then run this command:
sudo apt-key del <copied Dropbox key>
Did this article answer your question?

We’re sorry to hear that. Let us know how we can improve:

Thanks for your feedback!

Community answers
    Community answers

      Other ways to get help

      Community

      Twitter support

      Guided help