Dropbox is a useful file-sharing and syncing service that lets you sync files between different machines over the Internet for free. It’s very useful for backing up your important documents, pictures, MP3 files, video files, and other data.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Dropbox on a Ubuntu 18.04 (Bionic Beaver) server.
Install Dropbox on Ubuntu 18.04 LTS Bionic Beaver
Step 1. First make sure that all your system packages are up-to-date
sudo apt-get update sudo apt-get upgrade
Step 2. Installing Dropbox on Ubuntu 18.04 LTS.
Run the following commands in Terminal to install Dropbox:
nano /etc/apt/sources.list.d/dropbox.list
Add the following line to this file:
deb [arch=i386,amd64] http://linux.dropbox.com/ubuntu xenial main
Next, run the following command to import Dropbox GPG key to Ubuntu 18.04 system:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1C61A2656FB57B7E4DE0F4C1FC918B335044912E
If you see error, You can fix this error by using a different keyserver:
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 1C61A2656FB57B7E4DE0F4C1FC918B335044912E
Then, update local package index and install Dropbox:
apt-get update apt-get install python-gpg dropbox
Once installed, open Dropbox from Ubuntu Dash or Terminal and enter your Dropbox credentials, and you can start using Dropbox with Ubuntu 18.04 Bionic Beaver.
Congratulation’s! You have successfully installed Dropbox. Thanks for using this tutorial for installing Dropbox on Ubuntu 18.04 LTS (Bionic Beaver) system. For additional help or useful information, we recommend you to check the official Dropbox web site.