Search This Blog

Install DropBox on CentOS Linux

If your computer has direct internet connection

  1. Download the rpms for Fedora from dropbox.com:
    • 32 bit:
      wget -c https://www.dropbox.com/download?dl=packages/fedora/nautilus-dropbox-1.6.0-1.fedora.i386.rpm
    • 64 bit:
      wget -c https://www.dropbox.com/download?dl=packages/fedora/nautilus-dropbox-1.6.0-1.fedora.x86_64.rpm
  2. Install the rpm:
    sudo rpm -Uvh nautilus-dropbox-1.6.0-1.fedora.*.rpm
  3. Select Applications->Internet->DropBox from the system menu to download and install dropbox.
  4. Fix the yum repository error. Installing the rpm above will, however, cause the yum update fail:
    $ sudo yum update
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Loading mirror speeds from cached hostfile
     * base: centos.mirror.uber.com.au
     * extras: centos.mirror.crucial.com.au
     * updates: centos.mirror.serversaustralia.com.au
    http://linux.dropbox.com/fedora/6/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: Dropbox. Please verify its path and try again
     

    To fix the error:
    sudo vim /etc/yum.repos.d/dropbox.repo
      [Dropbox]  
      name=Dropbox Repository
      #baseurl=http://linux.dropbox.com/fedora/$releasever/
      baseurl=http://linux.dropbox.com/fedora/19/  
      gpgkey=http://linux.dropbox.com/fedora/rpm-public-key.asc
     



If you computer is behind proxy or firewall

You need to download and install DropBox via Command Line:
  1. Download and extract DropBox into your home directory:
    • 32 bit:
      cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -
      
    • 64 bit:
      cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
      
  2. Run the Dropbox daemon from the newly created .dropbox-dist folder.
    ~/.dropbox-dist/dropboxd &

2 comments: