Set up Dropbox on AlmaLinux 9: Best Cloud Storage

This tutorial intends to show you how to Set up Dropbox on AlmaLinux 9. Also, you will learn to Install Dropbox CLI (Command Line Interface) on AlmaLinux 9. Dropbox is a cloud storage service that lets you save files online and sync them to your devices.

You can use Dropbox links to share files and folders with other people without sending large attachments. Dropbox offers a free plan that includes 2 GB of storage. You can pay to increase that to as much as 3 TB with a subscription.

How Dropbox works?

When you subscribe to Dropbox, you are allotted a certain amount of storage space in an online server known as “the cloud.” After installing the Dropbox app on your PC, mobile device, or both, any files that you store in your Dropbox locally will be copied to the Dropbox server as well. 

The updates are automatically mirrored everywhere if you change these files in one place. By synchronizing your Dropbox files locally and online, you can easily access them anywhere and share them with others. 

Now follow the steps below on the Orcacore website to set up Dropbox on AlmaLinux 9 and also install Dropbox CLI.

Steps To Set up Dropbox on AlmaLinux 9

To complete this guide, you must log in to your server as a non-root user with sudo privileges. To do this, you can follow our guide on Initial Server Setup with AlmaLinux 9.

1. Install Dropbox on AlmaLinux 9

First, you need to run the system update by using the command below:

sudo dnf update -y

Download the Dropbox package for Linux

At this point, you need to download the Dropbox package from the official Dropbox website using the wget command.

To download the Dropbox package for 64-bit OS and extract it, run the following command in the Terminal:

sudo cd ~ && sudo wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

In the case of 32-bit OS, you have to run the following command in the Terminal:

sudo cd ~ && sudo wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -

Note: The above command will create a hidden folder “.dropbox-dist” under your Home directory. To view this hidden folder, navigate to your  Home Directory using the cd ~ command and type ls -a.

Then, you can run the Dropbox service by using the following command:

sudo ~/.dropbox-dist/dropboxd

Note: If you’re running Dropbox on your server for the first time, you’ll be asked to copy and paste a link in a working browser to create a new account or add your server to an existing account. Once you do, your Dropbox folder will be created in your home directory.

2. Access the Dropbox Application on AlmaLinux 9

You can access the Dropbox app on your AlmaLinux 9 desktop under Applications > Internet. Click on it to run your Dropbox app.

3. Install Dropbox CLI on AlmaLinux 9

For those who find it easier to work with the command-line interface, Dropbox also includes a command-line interface (CLI) that lets you control Dropbox with the command line. 

To install Dropbox CLI, follow the steps below.

First, you need to install Python on your server by using the command below:

sudo dnf install python3 -y

Then, you need to download a Python script. It will be used to control Dropbox from the command line. Run the following command to download the Python script:

sudo wget -O /usr/local/bin/dropbox "https://www.dropbox.com/download?dl=packages/dropbox.py"

Next, make the script executable with the command below:

sudo chmod +x /usr/local/bin/dropbox

To list all the commands that can be used to control Dropbox CLI, simply run the following command:

dropbox
Dropbox almalinux 9

For example, to view the version of Dropbox, run the command below:

dropbox version
Dropboc version almalinux 9

Conclusion

At this point, you have learned to Set up Dropbox on AlmaLinux 9. Also, you have learned to Install Dropbox CLI on your server. Please subscribe to us on Facebook and Twitter.

Hope you enjoy it. You may also interested in these articles:

Install and Use SQLite on AlmaLinux 9

Add Swap Space on AlmaLinux 9

Add and Remove Users on AlmaLinux 9

Run Nginx in Docker Container on AlmaLinux 9

Run Foreman on AlmaLinux 8

ProFTPD Setup AlmaLinux 9

Install Froxlor AlmaLinux 9

Share your love

Stay informed and not overwhelmed, subscribe now!