How To Install elpa-cycle-quotes on Ubuntu 22.04
Introduction
In this tutorial we learn how to install elpa-cycle-quotes
on Ubuntu 22.04.
What is elpa-cycle-quotes
elpa-cycle-quotes is:
This package provides the `cycle-quotes’ command to cycle between different string quote styles.
For example, in JavaScript, there are three string quote characters:
“, and '. In a JavaScript buffer, with point located someplace within the string,
cycle-quotes’ will cycle between the following
quote styles each time it’s called:
–> “Hi, it’s me!” –> Hi, it's me!
–> ‘Hi, it's me!’
As seen in the above example, `cycle-quotes’ tries to escape and unescape quote characters intelligently.
There are three methods to install elpa-cycle-quotes
on Ubuntu 22.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 elpa-cycle-quotes Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install elpa-cycle-quotes
using apt-get
by running the following command:
sudo apt-get -y install elpa-cycle-quotes
Install elpa-cycle-quotes Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install elpa-cycle-quotes
using apt
by running the following command:
sudo apt -y install elpa-cycle-quotes
Install elpa-cycle-quotes 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 elpa-cycle-quotes
using aptitude
by running the following command:
sudo aptitude -y install elpa-cycle-quotes
How To Uninstall elpa-cycle-quotes on Ubuntu 22.04
To uninstall only the elpa-cycle-quotes
package we can use the following command:
sudo apt-get remove elpa-cycle-quotes
Uninstall elpa-cycle-quotes And Its Dependencies
To uninstall elpa-cycle-quotes
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove elpa-cycle-quotes
Remove elpa-cycle-quotes Configurations and Data
To remove elpa-cycle-quotes
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge elpa-cycle-quotes
Remove elpa-cycle-quotes configuration, data, and all of its dependencies
We can use the following command to remove elpa-cycle-quotes
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-cycle-quotes
References
Summary
In this tutorial we learn how to install elpa-cycle-quotes
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.