How To Install gnuplot-mode on Debian 9
Introduction
In this tutorial we learn how to install gnuplot-mode
on Debian 9.
What is gnuplot-mode
gnuplot-mode is:
Gnuplot is a major mode for Emacs flavours with the following features:
- Functions for plotting lines, regions, entire scripts, or entire files
- Graphical interface to setting command arguments
- Syntax colorization
- Completion of common words in Gnuplot
- Code indentation
- On-line help using Info for Gnuplot functions and features
- Interaction with Gnuplot using comint
- Pull-down menus plus a toolbar
- Distributed with a quick reference sheet in postscript.
There are three methods to install gnuplot-mode
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install gnuplot-mode Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install gnuplot-mode
using apt-get
by running the following command:
sudo apt-get -y install gnuplot-mode
Install gnuplot-mode Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install gnuplot-mode
using apt
by running the following command:
sudo apt -y install gnuplot-mode
Install gnuplot-mode 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 gnuplot-mode
using aptitude
by running the following command:
sudo aptitude -y install gnuplot-mode
How To Uninstall gnuplot-mode on Debian 9
To uninstall only the gnuplot-mode
package we can use the following command:
sudo apt-get remove gnuplot-mode
Uninstall gnuplot-mode And Its Dependencies
To uninstall gnuplot-mode
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove gnuplot-mode
Remove gnuplot-mode Configurations and Data
To remove gnuplot-mode
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge gnuplot-mode
Remove gnuplot-mode configuration, data, and all of its dependencies
We can use the following command to remove gnuplot-mode
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gnuplot-mode
Dependencies
gnuplot-mode have the following dependencies:
References
Summary
In this tutorial we learn how to install gnuplot-mode
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.