UPDATED Jan 2021: A few tweaks required for Kali 2020.4 distribution
I’ve always found installing Dropbox on Kali linux a bit hit-and-miss but the more recent distributions of Kali linux seem to handle it a bit better so I thought I’d write a quite guide now its become a more predictable process.
Prerequisites
Ok so there’s a few things to know first:
Get a second Dropbox Account
I highly recommend not using you primary Dropbox account on Kali. Remember even when using a reputable service like HackTheBox for ethical hacking, you are still VPNing in to a network of hackers-in-training. I have a couple of free Dropbox accounts that share a folder from the root with my main account. This means I can still transfer files easily but should my primary account be compromised, no files other than those in my Kali-only-Dropbox account are exposed (and these are just notes on my training).
Check your filesystem
In 2018, Dropbox dropped support for any filesystems on Linux other than EXT4 so if you are using anything other than this, you’re out of luck
Download the Debian installer
Kali is based upon Debian so download the Debian install to your Kali box from the Dropbox website: https://www.dropbox.com/en_GB/install-linux
Make sure you have all the packges installed that Dropbox will required by running the following:
sudo apt-get update sudo apt install gdebi gdebi-core
You shouldn’t need it if you are using the latest version of Kali but just in case, verify you have Python 3 installed:
sudo apt install python3-gpg
Installing Dropbox on Kali
In a terminal window, browse to the folder where you downloaded the installer (most likely the Downloads folder) and make the downloaded file executable:
sudo chmod +x dropbox_2020.03.04_amd64.deb
Run the following command to execute the installer:
sudo gdebi ./dropbox_2020.03.04_amd64.deb
The installer will run and you’ll see a message saying “You are not running Debian or Ubuntu. Not adding Dropbox repository.” – you can ignore this.
Once this installation has finished, you need to install the Dropbox daemon and initialize it by running the following command NOT as root (nor using sudo):
dropbox start -i
You will see a pop up dialog box from Dropbox asing you to download the priorietary daemon, click OK:
When this install finishes, Dropbox will run and a login screen will be launched in your browser, login and you should see the Dropbox icon in the top-right hand corner of your Kali desktop start to sync.
Note for some reason on the latest version, Dropbox shows to icons in the system tray – this doesn’t seem to have any adverse affect:
Enjoy!
Thank you for this tutorial but it didn’t completely work for me.
Dropbox is still using libpango-1.0-0 which is not supported (deprecated).
“dropbox : Depends: libpango1.0-0 (>= 1.36.3) but it is not installable”
However the following packages replace it: libpangox-1.0-0 (According to apt)
So to resolve this I followed the directions at https://askubuntu.com/questions/824272/unable-to-resolve-dependency-for-libpango-1-0-0-in-12-04 but replaced libpango-1.0-0 with libpangox-1.0-0 in the control file and recompiled the deb file.
This resolved the issue and it installed.
Thanks for your help.
Hi Yorick,
That’s wonderful thanks for posting the fix, I’ll update the article when I get a moment. I need to rebuild my Kali machine soon so I’ll do it then.
Thanks again
Bob
Hello Bob, Yorick.. any updates to the instructions regarding the uninstallable package ?
$ This package is uninstallable
$ Dependency is not satisfiable: libpango1.0-0 (>= 1.36.3)
Thanx
It was very helpful.
Thank you.