How to install Micro Text editor on Oracle Linux 9.3

To Install Micro Text Editor On Oracle Linux 9.3

Introduction

Micro is a highly adaptable terminal-based text editor that strikes a harmonious balance between ease of use and robust functionality. It boasts a user-friendly interface complete with convenient features, including commonly utilized keyboard shortcuts like Ctrl + C, Ctrl + V, and Ctrl + F that are typically found in traditional desktop text editors.

Procedure Steps

Step 1: Check the OS version by using the below command.

[root@linuxhelp ~]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="9.3"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="9.3"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Oracle Linux Server 9.3"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:9:3:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 9"
ORACLE_BUGZILLA_PRODUCT_VERSION=9.3
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=9.3

Step 2: Download the Micro Text Editor by using the below command

[root@linuxhelp ~]# wget https://github.com/zyedidia/micro/releases/download/v2.0.13/micro-2.0.13-linux64.tar.gz
--2024-06-04 01:52:14--  https://github.com/zyedidia/micro/releases/download/v2.0.13/micro-2.0.13-linux64.tar.gz
Resolving github.com (github.com)... 20.207.73.82
Connecting to github.com (github.com)|20.207.73.82|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/53632140/9e828b97-5c43-477c-91cc-d52ae8fea682?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240603%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240603T202215Z&X-Amz-Expires=300&X-Amz-Signature=23fdf1590c68250e54c4e392969dadf78ba94276b07221f83cc973aa7af56c05&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=53632140&response-content-disposition=attachment%3B%20filename%3Dmicro-2.0.13-linux64.tar.gz&response-content-type=application%2Foctet-stream [following]
--2024-06-04 01:52:15--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/53632140/9e828b97-5c43-477c-91cc-d52ae8fea682?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240603%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240603T202215Z&X-Amz-Expires=300&X-Amz-Signature=23fdf1590c68250e54c4e392969dadf78ba94276b07221f83cc973aa7af56c05&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=53632140&response-content-disposition=attachment%3B%20filename%3Dmicro-2.0.13-linux64.tar.gz&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.109.133, 185.199.111.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4817531 (4.6M) [application/octet-stream]
Saving to: ‘micro-2.0.13-linux64.tar.gz’

micro-2.0.13-linux64.tar.gz          100%[===================================================================>]   4.59M  11.9MB/s    in 0.4s    

2024-06-04 01:52:17 (11.9 MB/s) - ‘micro-2.0.13-linux64.tar.gz’ saved [4817531/4817531]

Step 3: Extract the Micro Text Editor by using the below command.

[root@linuxhelp ~]# tar -xvf micro-2.0.13-linux64.tar.gz 
micro-2.0.13/
micro-2.0.13/micro.1
micro-2.0.13/LICENSE-THIRD-PARTY
micro-2.0.13/micro.desktop
micro-2.0.13/micro.svg
micro-2.0.13/LICENSE
micro-2.0.13/micro
micro-2.0.13/README.md

Step 4: Goto the directory by using the below command.

[root@linuxhelp ~]# cd micro-2.0.13/
[root@linuxhelp micro-2.0.13]#

Step 5: Long list the files by using the below command.

[root@linuxhelp micro-2.0.13]# ls -la
total 11740
drwxrwxr-x.  2 linuxhelp linuxhelp      131 Oct 22  2023 .
dr-xr-x---. 16 root      root          4096 Jun  4 01:52 ..
-rw-rw-r--.  1 linuxhelp linuxhelp     1086 Oct 22  2023 LICENSE
-rw-rw-r--.  1 linuxhelp linuxhelp    64161 Oct 22  2023 LICENSE-THIRD-PARTY
-rwxrwxr-x.  1 linuxhelp linuxhelp 11915264 Oct 22  2023 micro
-rw-rw-r--.  1 linuxhelp linuxhelp     3055 Oct 22  2023 micro.1
-rw-rw-r--.  1 linuxhelp linuxhelp      552 Oct 22  2023 micro.desktop
-rw-rw-r--.  1 linuxhelp linuxhelp     6339 Oct 22  2023 micro.svg
-rw-rw-r--.  1 linuxhelp linuxhelp    13365 Oct 22  2023 README.md

Step 6: Execute the Micro Text Editor by using the below command.

[root@linuxhelp micro-2.0.13]# ./micro

Step 7: The text will be shown as shown in below image.

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to install Micro Text Editor on Oracle Linux 9.3. Your feedback is much welcome.

FAQ
Q
What is the feature of the Micro text editor?
A
* Supports common keybindings,
* colors and highlighting,
* Supports copy and paste with the system clipboard,
* etc..
Q
What is a Micro text editor?
A
Micro Text Editor's free and open-source text editor application. It is an easy-to-use modern terminal-based text editor used for Linux as well as other operating
Q
How can I download the Micro-text editor package?
A
Execute the following link:
# wget https://github.com/zyedidia/micro/releases/download/v1.4.0/micro-1.4.0-linux64.tar.gz
Q
Are there any alternatives in the Micro-text editor?
A
The alternatives are,
* Visual Studio Code
* Vim
* GNU Emacs
* GNU nano
Q
How to extract the downloaded file?
A
# tar -zxvf micro-1.4.0-linux64.tar.gz