How to install NEdit on fedora 34

To Install NEdit on Fedora 34

Introduction:

The Nirvana editor, also known as NEdit, is a text editor and source code editor designed for the X Window System that resembles the interface of Microsoft Windows and Macintosh editors rather than the older UNIX editors such as Emacs.

Step 1: Check the CentOS version by using the below command

[root@linuxhelp ~]# cat /etc/os-release
NAME=Fedora
VERSION="34 (Workstation Edition)"
ID=fedora
VERSION_ID=34
VERSION_CODENAME=""
PLATFORM_ID="platform:f34"
PRETTY_NAME="Fedora 34 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:34"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/34/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=34
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=34
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Step 2: Install the NEdit by using the below command

[root@linuxhelp ~]# dnf install nedit 
Last metadata expiration check: 0:18:59 ago on Thu 27 Jan 2022 04:06:11 AM IST.
Dependencies resolved.
================================================================================================================
 Package                                   Architecture      Version                   Repository          Size
================================================================================================================
Installing:
 nedit                                     x86_64            5.7-10.fc34               fedora             586 k
Installing dependencies:
 libXp                                     x86_64            1.0.3-9.fc34              fedora              32 k
 mkfontscale                               x86_64            1.2.1-2.fc34              fedora              31 k
 motif                                     x86_64            2.3.4-22.fc34             fedora             1.5 M
 xorg-x11-fonts-ISO8859-1-75dpi            noarch            7.5-31.fc34               updates            922 k
 xorg-x11-xbitmaps                         noarch            1.1.1-21.fc34             fedora              36 k

Transaction Summary
================================================================================================================
Install  6 Packages

Total download size: 3.0 M
Installed size: 6.8 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): mkfontscale-1.2.1-2.fc34.x86_64.rpm                                       61 kB/s |  31 kB     00:00    
(2/6): libXp-1.0.3-9.fc34.x86_64.rpm                                             57 kB/s |  32 kB     00:00    
(3/6): xorg-x11-fonts-ISO8859-1-75dpi-7.5-31.fc34.noarch.rpm                    968 kB/s | 922 kB     00:00    
(4/6): nedit-5.7-10.fc34.x86_64.rpm                                             802 kB/s | 586 kB     00:00    
(5/6): xorg-x11-xbitmaps-1.1.1-21.fc34.noarch.rpm                                95 kB/s |  36 kB     00:00    
(6/6): motif-2.3.4-22.fc34.x86_64.rpm                                           1.5 MB/s | 1.5 MB     00:00    
----------------------------------------------------------------------------------------------------------------
Total                                                                           1.2 MB/s | 3.0 MB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                        1/1 
  Installing       : xorg-x11-xbitmaps-1.1.1-21.fc34.noarch                                                 1/6 
  Installing       : mkfontscale-1.2.1-2.fc34.x86_64                                                        2/6 
  Installing       : xorg-x11-fonts-ISO8859-1-75dpi-7.5-31.fc34.noarch                                      3/6 
  Running scriptlet: xorg-x11-fonts-ISO8859-1-75dpi-7.5-31.fc34.noarch                                      3/6 
  Installing       : libXp-1.0.3-9.fc34.x86_64                                                              4/6 
  Installing       : motif-2.3.4-22.fc34.x86_64                                                             5/6 
  Installing       : nedit-5.7-10.fc34.x86_64                                                               6/6 
  Running scriptlet: nedit-5.7-10.fc34.x86_64                                                               6/6 
  Verifying        : xorg-x11-fonts-ISO8859-1-75dpi-7.5-31.fc34.noarch                                      1/6 
  Verifying        : libXp-1.0.3-9.fc34.x86_64                                                              2/6 
  Verifying        : mkfontscale-1.2.1-2.fc34.x86_64                                                        3/6 
  Verifying        : motif-2.3.4-22.fc34.x86_64                                                             4/6 
  Verifying        : nedit-5.7-10.fc34.x86_64                                                               5/6 
  Verifying        : xorg-x11-xbitmaps-1.1.1-21.fc34.noarch                                                 6/6 

Installed:
  libXp-1.0.3-9.fc34.x86_64                                    mkfontscale-1.2.1-2.fc34.x86_64                  
  motif-2.3.4-22.fc34.x86_64                                   nedit-5.7-10.fc34.x86_64                         
  xorg-x11-fonts-ISO8859-1-75dpi-7.5-31.fc34.noarch            xorg-x11-xbitmaps-1.1.1-21.fc34.noarch           

Complete!

Step 3: Run the NEdit by using the below command

[root@linuxhelp ~]# nedit
nedit: the current locale is utf8 (en_US.UTF-8)
nedit: changed locale to non-utf8 (en_US)

Step 4: now check the NEdit

Step 5: This Is the NEdit application

With this, the process of installing Nedit on Fedora 34 comes to an end

FAQ
Q
Does NEdit get errors when it starts up?
A
The solution is either to start Netscape last, after all, other applications that you might want to run, or better, tell Netscape how many colors it is allowed to allocate.
Fortunately, you can do this with a resource setting.
Q
What is the best way to print highlighted text as it appears in NEdit on the printer?
A
In the current version, that's not possible, but there are external tools for highlighting, which are specifically designed for printing, including a2ps, enscript, and genscript.
Q
Why NEdit does not support drag and drop?
A
NEdit no longer uses the Motif text widget, so all of the functionality had to be duplicated in the new widget. Drag and drop between windows got left off due to the time pressure of getting out the new release, but it will be back someday.
Q
What is the alternative for NEdit?
A
The alternative for NEdit is vim
sublime
gedit, etc
Q
What is NEdit or Nirvana edito?
A
NEdit, the Nirvana editor, is a text editor and source code editor for the X Window System. It has an interface similar to text editors on Microsoft Windows and Macintosh, rather than to older UNIX editors like Emacs.