How To Install ruby-google-cloud-translate on Ubuntu 20.04
Introduction
In this tutorial we learn how to install ruby-google-cloud-translate
on Ubuntu 20.04.
What is ruby-google-cloud-translate
ruby-google-cloud-translate is:
Google Cloud Translation provides a simple, programmatic interface for translating an arbitrary string into any supported language. It is highly responsive, so websites and applications can integrate with Translation API for fast, dynamic translation of source text. Language detection is also available in cases where the source language is unknown. Ruby-Versions: all
There are three methods to install ruby-google-cloud-translate
on Ubuntu 20.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 ruby-google-cloud-translate Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ruby-google-cloud-translate
using apt-get
by running the following command:
sudo apt-get -y install ruby-google-cloud-translate
Install ruby-google-cloud-translate Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ruby-google-cloud-translate
using apt
by running the following command:
sudo apt -y install ruby-google-cloud-translate
Install ruby-google-cloud-translate 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 ruby-google-cloud-translate
using aptitude
by running the following command:
sudo aptitude -y install ruby-google-cloud-translate
How To Uninstall ruby-google-cloud-translate on Ubuntu 20.04
To uninstall only the ruby-google-cloud-translate
package we can use the following command:
sudo apt-get remove ruby-google-cloud-translate
Uninstall ruby-google-cloud-translate And Its Dependencies
To uninstall ruby-google-cloud-translate
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove ruby-google-cloud-translate
Remove ruby-google-cloud-translate Configurations and Data
To remove ruby-google-cloud-translate
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge ruby-google-cloud-translate
Remove ruby-google-cloud-translate configuration, data, and all of its dependencies
We can use the following command to remove ruby-google-cloud-translate
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-google-cloud-translate
References
Summary
In this tutorial we learn how to install ruby-google-cloud-translate
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.