How To Install geany-plugin-autoclose on Kali Linux
Introduction
In this tutorial we learn how to install geany-plugin-autoclose
on Kali Linux.
What is geany-plugin-autoclose
geany-plugin-autoclose is:
This plugin enables auto-closing features. Auto-closing works while you typing and intellectually helps you to write code.
Features:
- auto-close for: { }, , ( ), " “, ’ ‘, < >,
- customizeable auto-closing inside strings and comments
- delete pairing character if you pressed BackSpace
- suppress inserting one char twice (if you type “{}” you will get “{}”, not “{}}”)
- enclose selected text into brackets instead of removing selection (select text and type “(” or “)” to enclose selection into “()”)
- keep selection when enclosing
- for C-like languages enclosing selection into “{}” makes auto-indentation (select text and type “{” or “}” - text will be enclosed and indented)
- enclosing in {} moves cursor to beginning (before “{” character)
- for C-like languages to insert {}-block you do not need to select text precisely: plugin detects boundaries automatically, just ensure that selection covers lines you need to indent (works like TAB indentation)
- fix auto-indent inside {} (makes full indent for this block)
- auto-close curly bracket by pressing Enter
- auto-close functions (
"sin(|" -> "sin(|);"
) with doubling suppression (for C/C++ languages only) - remove paring brace when pressing Shift+BackSpace, unindent {}-blocks
- add semicolon after
struct {|};
andclass {|};
- move cursor to closed char by pressing Tab
Geany is a small and lightweight integrated development environment using the Gtk+ toolkit.
There are three methods to install geany-plugin-autoclose
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install geany-plugin-autoclose Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install geany-plugin-autoclose
using apt-get
by running the following command:
sudo apt-get -y install geany-plugin-autoclose
Install geany-plugin-autoclose Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install geany-plugin-autoclose
using apt
by running the following command:
sudo apt -y install geany-plugin-autoclose
Install geany-plugin-autoclose Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install geany-plugin-autoclose
using aptitude
by running the following command:
sudo aptitude -y install geany-plugin-autoclose
How To Uninstall geany-plugin-autoclose on Kali Linux
To uninstall only the geany-plugin-autoclose
package we can use the following command:
sudo apt-get remove geany-plugin-autoclose
Uninstall geany-plugin-autoclose And Its Dependencies
To uninstall geany-plugin-autoclose
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove geany-plugin-autoclose
Remove geany-plugin-autoclose Configurations and Data
To remove geany-plugin-autoclose
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge geany-plugin-autoclose
Remove geany-plugin-autoclose configuration, data, and all of its dependencies
We can use the following command to remove geany-plugin-autoclose
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge geany-plugin-autoclose
Dependencies
geany-plugin-autoclose have the following dependencies:
References
Summary
In this tutorial we learn how to install geany-plugin-autoclose
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.