Install gedit in Ubuntu 20.04

gedit is a general purpose text editor. If you have installed GNOME Desktop Environment then, gedit comes installed as default. But, if you prefer to work with gedit and have some other Desktop Environment installed. Then, you will have to install gedit separately. In this article, we would discuss how to install gedit in Ubuntu 20.04 LTS release.

The package was first released on February 12, 1999. And, at the time of writing the article, latest stable release is 3.36.1. It supports syntax of numerous languages like Java, HTML, Python, C, C++ etc.

We can install gedit through apt (Advanced Packaging Tool). 

Note: Following operations would require you to have superuser privileges. In case you don’t have one, then contact your System Administrator for assistance.

Install gedit in Ubuntu 20.04

Since the package is already available in standard Ubuntu repository. Therefore, we need to first update Ubuntu repository to make the latest version of package available.

sudo apt update

and, to install gedit – issue the following in terminal,

sudo apt install gedit

This will also install necessary dependencies (if any).

Lastly, the package can be accessed from our Systems’ main Menu or terminal (issue gedit in terminal to run the application).

In conclusion, we have discussed how to install gedit in Ubuntu 20.04 LTS release.

Additional Info –

In this section, we will discuss a few keyboard shortcuts –

To find a string – Ctrl + F

Find next word of the string – Ctrl +G

Find previous word of the string – Ctrl + Shft + G

Replace a string – Ctrl + H

Jump to a particular line – Ctrl + I

Open a new file – Ctrl + N

Open a new tab – Ctrl + T

Jump tabs – Alt + n (for instance, to open 3rd tab – Alt + 3)

Close all opened tabs – Ctrl + Shft + W

Convert selected text to lower case – Ctrl + L

Convert selected text to upper case – Ctrl + U