Dropbox is widely used software for sharing files in a cloud-based environment and using them as backup storage for your files. Dropbox offers its users 2 GB of free storage space. Key features include file synchronization, client software, and personal cloud storage. When we talk about Flatpak, it is a software utility that is used in the Linux distribution to manage packages.
This article will walk you through how to install Dropbox on your CentOS 8.0 through Flatpak.
Install Dropbox with Flatpak
The following steps are required when installing software through Flatpak on CentOS 8.0.
- Open the Terminal application to click on “Activities” located in the upper left corner of the CentOS 8.0 desktop.
- Enter the command ‘su’ on the terminal to log in as the root user.
Install the dnf package manager
Once you’ve logged in as the root user. So you will be installing a dnf package manager. If it isn’t installed on your CentOS 8.0, use the Yum package manager to install it. To install the dnf package manager you need to run the following command on your terminal:
$yum install dnf
You press ‘y’ to confirm the installation process and press the ‘Enter’ key on the keyboard.
As you can see in the output, DNF has been installed on your CentOS 8.0.
You can use the dnf command to install flatpak on your system. To install the Flatpak on your system, run the following command in your terminal window:
$dnf -y install flatpack
In the above command, the ‘-y’ option means that there will be no confirmation prompt from the user to confirm the installation. The installation process will be completed immediately without interruption.
You can also see the flatpack version in your terminal window. To do this, use the command mentioned below:
Activate the flat hub repository
You activate the Flathub repository on your CentOS 8.0 with the terminal. Write the following command in your terminal window to activate the Flathub repository:
$flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
The required repository has been activated on your system. Now you will see the list of Flatpak-enabled repositories on your terminal. Run the command below to view the Flathub-enabled repository:
$ flatpak remote-list --show-details
You can see on the output screen; The repository has been added to your system in the Flatpak list.
You can install Dropbox on CentOS 8.0 using the Flatpak package. Search the Dropbox in the Flatpak package list. To do this, run the following command on the terminal:
$flatpak search dropbox
The Dropbox client would appear in the Flatpak list.
Now install the Dropbox client package on your CentOS 8.0. Enter the following command to install Dropbox on your terminal:
$ flatpak install flathub com.dropbox.Client
A confirmation prompt will appear on the terminal asking you to continue with the installation or not. You press ‘y’ and hit the ‘Enter’ key on the keyboard to proceed with the installation.
Here, too, a prompt is displayed on the terminal asking for Flatpak authorization. You press ‘y’ and then press the ‘Enter’ key. After that, Dropbox will be installed on your CentOS 8.0.
Once the Dropbox installation is complete, open it on your desktop. For this task, click on the “Activities” option that is present in the left corner of your desktop in CentOS 8.0. A search bar will appear on your desktop. You write ‘Dropbox’ in the search bar and hit the ‘Enter’ key.
A Dropbox application icon will appear on your desktop. If you have already registered, just go to the Sign In option in the Dropbox and you can share files in the cloud. If not, create an account and use Dropbox features.
We know Dropbox is an important application that is used for storing data and sharing files. In this article we learned how to install Dropbox through the Flatpak package. We also ran various commands related to the Flatpak package. I hope this tutorial will be useful to you in the future. In addition, you can install any software with the Flatpak package. If you have a problem related to this article, please let us know by comment.