How to Install Gedit Text Editor on Kali Linux

In this tutorial, we will learn how to install and use the Gedit Text Editor on Kali Linux.

1. Open the terminal by pressing “Ctrl+Alt+t” at the same time on your keyboard.

2. Update your local package repository by entering the following command:

sudo apt update

3. Install Gedit using the following command:

sudo apt install gedit -y

4. After installation, you can launch Gedit by typing “gedit” in the application menu. Alternatively, you can start Gedit from the terminal by typing:

gedit

5. To open an existing file with Gedit, use the following command in the terminal, replacing “filename.txt” with the specific filename that you want to open.

gedit filename.txt

6. To create a new file with Gedit, simply type gedit followed by the desired filename. For example, to create a new file named “newfile.txt“, use the command:

gedit newfile.txt

*Click on ‘Save‘ to save the changes you made to the file.

That’s it! This is how you install and use the Gedit Text Editor on Kali Linux.