Wednesday, January 16, 2013

Install Dropbox on Fedora 18

This installation guide has been tested for Fedora 18. However, you can also use the same method to install Dropbox on Fedora 16 and Fedora 17. 

To install Dropbox in Fedora 18, we need to configure a Dropbox repository and perform a yum install from the system terminal.

Configure Dropbox Repository
Create a file called dropbox.repo with the following:
[Dropbox]
name=Dropbox Repository
baseurl=http://linux.dropbox.com/fedora/$releasever/
gpgkey=http://linux.dropbox.com/fedora/rpm-public-key.asc

You can also download a copy from here. Place the file under /etc/yum.repos.d.

Installing Dropbox
Run yum install using the command:
sudo yum install nautilus-dropbox

Note: If you encounter any error while downloading nautilus-dropbox. You might need to change the base url in the repo file from http://linux.dropbox.com/fedora/$releasever/ to http://linux.dropbox.com/fedora/17/

Completing the Installation
After installation is done, you need to run Dropbox (Show Applications >> Internet >> Dropboxapplication to complete the installation and configure an user account.


Click "OK"


Wait for the installation to complete.


Select "I already have a Dropbox account"


Enter your Dropbox account information and follow the installation.

Automation
You could also download a script file I've created to automate the installation process.

The entire script is listed below:
#! /bin/bash
# This software installation script is for Fedora 16 / Fedora 17 / Fedora 18 (32-bit/64-bit)
# It configures Dropbox yum repository and install Dropbox

#ensure that wget is installed
yum install -y wget

#Addition yum repo file from Dropbox 
wget http://dl.dropbox.com/u/30876345/repo/dropbox.repo 
mv dropbox.repo /etc/yum.repos.d


#Install Dropbox
yum install -y nautilus-dropbox

echo "Important! The installation is NOT complete!"
echo "You need to activate the dropbox program to complete the installation and configure a user account. The program is under Applications >> Internet >> Dropbox"
echo "For Fedora 18, go to Show Applications >> Internet >> Dropbox"


Running Script File
Remember to give execution permission to the script by running the command:
sudo chmod +x FC00-dropbox-install-noarch
sudo ./FC00-dropbox-install-noarch

*** End ***

4 comments:

  1. Great how to!, I am going to mention you on my blog @ http://crackednoodle.com

    ReplyDelete
  2. Heh, you can remove my previous two comments. :)

    I managed to get it working by setting releasever to 17, and cleaning yum cache.

    Thanks :)

    ReplyDelete
  3. Thank you! I have installed successful!

    ReplyDelete