Thursday, May 23, 2013

Installing Dropbox on CentOS 6.4 from source

Step 1: Download the latest source release of DropBox from their official site. I downloaded the current version https://www.dropbox.com/download?dl=packages/nautilus-dropbox-1.4.0.tar.bz2 from this link.

Step 2: Extract the source tar ball by command: tar xjvf <nautilus-dropbox-1.4.0.tar.bz2>

Step 3: You need to have multiple packages installed before you attempt to compile it. Otherwise you can get errors like 
-------------------------------------------------------------------
" checking for NAUTILUS... configure: error: Package requirements (libnautilus-extension >= 2.16.0) were not met:
No package 'libnautilus-extension' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables NAUTILUS_CFLAGS and NAUTILUS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details. "
--------------------------------------------------

" checking for docutils... no
configure: error: couldn't find docutils "

--------------------------------------------------------------------
Hence, do run
   
[root@my-machine nautilus-dropbox-1.4.0]#yum install gcc nautilus-devel docutils

Step 4: Go to your extracted source directory and then run below commands:
    
          # ./configure
          # make
          # make install

Step 5: Go to "Applications" menu at the top and in "Internet" section you will find the "Dropbox".
            Click the icon, it will initiate Dropbox installation and download the setup automatically.

Step 6: Once downloaded, it will ask you for Dropbox account. Now you can register yourself, if you are a new user or log in with existing credentials.

1 comment: