How to Install DropBox on Arch Linux

28/12/2020
Chưa phân loại
Dropbox is one of the most popular file sharing service in the world. It is really easy to use. You can use Dropbox for free. But it also has paid plans if you want more storage space than the free version of it.

Dropbox has an official app for Linux. You can directly download and install Dropbox app on Ubuntu or Debian or any Debian based distros, or Fedora or RHEL or any rpm based distros. But for Arch Linux, there is no official Dropbox installer. Gladly, it is available in the AUR (Arch User Repository) of Arch Linux.

In this article, I will show you how to install and use Dropbox on Arch Linux. Let’s get started.

First update the pacman package repository cache with the following command:

$ sudo pacman -Sy

The package repository cache of pacman should be updated. Remember this is an important step as if the package cache is old, you may see a lot of file not found errors when you try to install anything using pacman.

You need Git version control system to clone the git repository of Dropbox AUR (Arch User Repository).

Run the following command to install Git:

$ sudo pacman -S git

Press ‘y’ and then press <Enter> to continue.

Git should be installed.

Now navigate to the ~/Downloads/ directory or any other directory of your choice. You may also navigate to the /tmp directory if you want. This is where you will be cloning the git repository of Dropbox AUR.

Run the following command to navigate to the ~/Downloads/ directory:

$ cd ~/Downloads

Now run the following command to clone the Dropbox AUR git repository:

$ git clone https://aur.archlinux.org/dropbox.git

The Dropbox AUR git repository should be cloned.

Now if you list the contents of the ~/Downloads/ directory, you should see a new directory dropbox/

$ ls

Navigate to the dropbox/ directory with the following command:

$ cd dropbox

If you list the contents of the dropbox/ directory, you should see the following files.

$ ls

These files are used to build a pacman package file of Dropbox for Arch Linux. So you can easily install the dropbox pacman package with pacman package manager.

To build a pacman package of Dropbox, run the following command from inside of the dropbox/ directory:

$ makepkg -s

The pacman package build process should start.

At this point the pacman package build process should be completed.

Now if you list the contents of the dropbox/ directory again, you should see the following .pkg.tar.xz file as marked in the screenshot below. This is the file that you will be installing with pacman package manager.

$ ls

Now you can install the dropbox package file with the following command:

$ sudo pacman -U dropbox*.pkg.tar.xz

Press ‘y’ and then press <Enter> to continue.

Dropbox should be installed.

Now go to the Application Menu or Activities in GNOME 3 Desktop Environment and look for Dropbox. You should find an icon of Dropbox as shown in the screenshot below. Click on the Dropbox icon.

A browser window should open as shown in the screenshot below. If you have a Dropbox account, just log in to your Dropbox account. If you don’t have one already, just create a new account and log in.

Once you login, you should see the following window.

Now go to your user’s HOME directory and you should see a new directory Dropbox as shown in the screenshot below. This is the directory where all your Dropbox files will be.

As I created a new account, inside of my Dropbox directory these are the files I have. You can paste files in this directory and the files will be automatically synced to your Dropbox account. You can also copy files from this directory just as you would use a File manager to copy and paste files back and forth between directories.

As you can see in the screenshot below, I copied a test.txt file in the Dropbox directory.

When I go to my Dropbox account from a web browser, I can see the file I just copied there as marked in the screenshot below.

So that’s how you install and use Dropbox on Arch Linux. Thanks for reading this article.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

How to Setup Raspberry Pi in Headless Mode on Ubuntu

Different people have different reasons for getting the Raspberry Pi; but for a large percentage, it’s for carrying out...
29/12/2020

Linux Command for Uptime

Uptime is the time a device, usually a server, is available, turned on and connected without interruption. Among Sysadmins...
Chưa phân loại
29/12/2020

Install Kali Linux on VirtualBox

If you are testing the waters in the infosec industry, then you might find yourself in need of a plethora of tools and...
29/12/2020