How To Install node-copy-paste on Debian 12
Introduction
In this tutorial we learn how to install node-copy-paste
on Debian 12.
What is node-copy-paste
node-copy-paste is:
node-copy-paste allows read/write (i.e copy/paste) access to the system clipboard. It does this by wrapping xclip for Linux, FreeBSD, and OpenBSD.
There are three methods to install node-copy-paste
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install node-copy-paste Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install node-copy-paste
using apt-get
by running the following command:
sudo apt-get -y install node-copy-paste
Install node-copy-paste Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install node-copy-paste
using apt
by running the following command:
sudo apt -y install node-copy-paste
Install node-copy-paste 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install node-copy-paste
using aptitude
by running the following command:
sudo aptitude -y install node-copy-paste
How To Uninstall node-copy-paste on Debian 12
To uninstall only the node-copy-paste
package we can use the following command:
sudo apt-get remove node-copy-paste
Uninstall node-copy-paste And Its Dependencies
To uninstall node-copy-paste
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove node-copy-paste
Remove node-copy-paste Configurations and Data
To remove node-copy-paste
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge node-copy-paste
Remove node-copy-paste configuration, data, and all of its dependencies
We can use the following command to remove node-copy-paste
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge node-copy-paste
Dependencies
node-copy-paste have the following dependencies:
References
Summary
In this tutorial we learn how to install node-copy-paste
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.