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 trusty with your build's name below.

deb https://linux.dropbox.com/ubuntu trusty 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
        

Fedora

Add the following to /etc/yum.conf.


name=Dropbox Repository
baseurl=https://linux.dropbox.com/fedora/\$releasever/
gpgkey=https://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 trusty with your build's name:

            deb https://linux.dropbox.com/ubuntu trusty main
        
Fedora: Remove the following from /etc/yum.conf:
            name=Dropbox Repository
        baseurl=https://linux.dropbox.com/fedora/\$releasever/
        gpgkey=https://linux.dropbox.com/fedora/rpm-public-key.asc
        
2. 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>
        
How helpful was this article?

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

Thanks for your feedback!
Let us know how this article helped:

Thanks for your feedback!