How to Install Dropbox on Manjaro 18

How to Install Dropbox on Manjaro 18

Install Dropbox on Manjaro 18

Dropbox is the online storage service supports Linux distros.Dropbox provides online storage to backup and store data automatically with security.It has both free and paid plan.In the free plan, it provides 2GB storage if you want more storage then you can buy paid. plans.In this tutorial, you are going to learn how to install Dropbox on Manjaro 18 server.


Before you start to install Dropbox on CentOS.You must have the non-root user account on your server with sudo privileges.

Install Dropbox Client

Here we will first install Dropbox Client.Download Dropbox Client using the following command.

curl -Lo dropbox-linux-x86_64.tar.gz

Create a directory for Dropbox installation by using the following command.

sudo mkdir -p /opt/dropbox

Now extract the downloaded file inside /opt/dropbox directory.

sudo tar xzfv dropbox-linux-x86_64.tar.gz --strip 1 -C /opt/dropbox

Setup account for Dropbox

In this section, we will link your Dropbox account to Dropbox client on your server to do so execute the following command.


You will get the following output, just copy the link given inside output and run it inside your favorite browser on your local machine.

Host ID Link:
This computer isn't linked to any Dropbox account...
Please visit to link this device.

If you have an existing Dropbox account then just Sign in otherwise create a new account on Dropbox.

Install Dropbox on CentOS-Register to Dropbox Install Dropbox on CentOS – Register to Dropbox

Once you complete the above process you will see the following output on your CentOS system.

Link success output:
This computer is now linked to Dropbox. Welcome Sammy

You have successfully linked your Dropbox account to Dropbox client.A new Dropbox directory is created inside the HOME directory to store synchronized Dropbox files.Now Enter Ctrl+c to setup Dropbox as a service.

Setup Dropbox as a Service

To set up Dropbox as a service, you should create an init script and Systemd unit file to do so enter the following command.

sudo curl -o /etc/init.d/dropbox
sudo curl -o /etc/systemd/system/dropbox.service

Run the following script to make the above file executable.

sudo chmod +x /etc/systemd/system/dropbox.service /etc/init.d/dropbox

/etc/sysconfig/dropbox the file should contain system user names who will run Dropbox.Run the following command to edit this file.

sudo nano /etc/sysconfig/dropbox

Set username as given in the below example then save and exit the file.


Now reload the Systemd daemon.

sudo systemctl daemon-reload

Now start and enable Dropbox service executing following command.

sudo systemctl start dropbox && sudo systemctl enable dropbox

Install Dropbox CLI

Enter the following command to download the Dropbox CLI script.

cd ~ && curl -LO

Make the file executable by running the following command.

chmod +x ~/

As Dropbox CLI expects ~ / .dropbox-dist to contain your Dropbox installation files to do so run following command.

ln -s /opt/dropbox ~/.dropbox-dist

Now you can run Dropbox client by using the following command.It will instructions on how to use Dropbox CLI.


You can check the status of Dropbox by typing the following command.

~/ status

You should get the following output

Up to date

To turn off the automatic LAN sync use the following command.

~/ lansync n

If you want more information about a specific command enter following command

~/ help sharelink

The above command will provide you more information about sharelink command.

dropbox running

Returns 1 if running 0 if not running.

Check the status of dropbox by typing

~/ status

If Dropbox is not active then start service by running following command

~/ start

To stop dropbox service enter following command

~/ stop

Get sync status of Dropbox file by typing

~/ filestatus Dropbox/test.txt

Generate a shareable link for a file by typing

~/ sharelink Dropbox/test.txt

You can exclude the directory from syncing by using the following command

~/ exclude add Dropbox/dir1

To list excluded directories type following command

~/ exclude list

Remove directory from excluded list typing

~/ exclude remove Dropbox/dir1

Link Additional Dropbox Account

To link additional Dropbox account run following command then copy the given URL in output.


Now go to the URL given in the output and complete the authentication process.Then add the user inside /etc/default/dropbox file.

sudo nano /etc/default/dropbox

Unlink Dropbox Account

First, stop the Dropbox service.

sudo service dropbox stop

Remove the user from /etc/default/dropbox file.

sudo nano /etc/default/dropbox

Then delete Dropbox user directory using the following command replacing USERNAME with the real username of system.

sudo rm -r ~/USERNAME/Dropbox

Now start the Dropbox service.


You have successfully learned how to install Dropbox on Manjaro 18.If you have any queries do n’t forget to comment below.