How To Install libfile-dropbox-perl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libfile-dropbox-perl
on Ubuntu 18.04.
What is libfile-dropbox-perl
libfile-dropbox-perl is:
File::Dropbox provides high-level Dropbox API abstraction based on Tie::Handle. Code required to get access_token and access_secret for signed OAuth 1.0 requests or access_token for OAuth 2.0 requests is not included in this module. To get app_key and app_secret you need to register your application with Dropbox.
At this moment Dropbox API is not fully supported, File::Dropbox covers file read/write and directory listing methods. If you need full API support take look at WebService::Dropbox. File::Dropbox main purpose is not 100% API coverage, but simple and high-performance file operations.
There are three methods to install libfile-dropbox-perl
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libfile-dropbox-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libfile-dropbox-perl
using apt-get
by running the following command:
sudo apt-get -y install libfile-dropbox-perl
Install libfile-dropbox-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libfile-dropbox-perl
using apt
by running the following command:
sudo apt -y install libfile-dropbox-perl
Install libfile-dropbox-perl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libfile-dropbox-perl
using aptitude
by running the following command:
sudo aptitude -y install libfile-dropbox-perl
How To Uninstall libfile-dropbox-perl on Ubuntu 18.04
To uninstall only the libfile-dropbox-perl
package we can use the following command:
sudo apt-get remove libfile-dropbox-perl
Uninstall libfile-dropbox-perl And Its Dependencies
To uninstall libfile-dropbox-perl
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libfile-dropbox-perl
Remove libfile-dropbox-perl Configurations and Data
To remove libfile-dropbox-perl
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libfile-dropbox-perl
Remove libfile-dropbox-perl configuration, data, and all of its dependencies
We can use the following command to remove libfile-dropbox-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libfile-dropbox-perl
References
Summary
In this tutorial we learn how to install libfile-dropbox-perl
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.