How To Install xnec2c on Fedora 36

In this tutorial we learn how to install xnec2c in Fedora 36. xnec2c is GTK based graphical wrapper for nec2c

Introduction

In this tutorial we learn how to install xnec2c on Fedora 36.

What is xnec2c

xnec2c is a GUI interactive application that (in its current form) reads NEC2 input files but presents output data in graphical form, e.g. as wire frame drawings of the radiation pattern or near E/H field, graphs of maximum gain, input impedance, vswr etc against frequency and simple rendering of the antenna structure, including color code representation of currents or charge densities. These results are only calculated and drawn on user demand via menu items or buttons, e.g. xnec2c is interactive and does not execute NEC2 “commands” in batch style as the original does.

We can use yum or dnf to install xnec2c on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install xnec2c.

Install xnec2c on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install xnec2c using dnf by running the following command:

sudo dnf -y install xnec2c

Install xnec2c on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install xnec2c using yum by running the following command:

sudo yum -y install xnec2c

How To Uninstall xnec2c on Fedora 36

To uninstall only the xnec2c package we can use the following command:

sudo dnf remove xnec2c

xnec2c Package Contents on Fedora 36

/usr/bin/xnec2c
/usr/lib/.build-id
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/70cfa853ab36530a5c4203286a93e020cbc766
/usr/share/appdata/xnec2c.appdata.xml
/usr/share/applications/xnec2c.desktop
/usr/share/doc/xnec2c
/usr/share/doc/xnec2c/AUTHORS
/usr/share/doc/xnec2c/ChangeLog
/usr/share/doc/xnec2c/NEC2-bug.txt
/usr/share/doc/xnec2c/NearFieldCalcs.txt
/usr/share/doc/xnec2c/README
/usr/share/doc/xnec2c/examples
/usr/share/doc/xnec2c/examples/10-20m-moxon.nec
/usr/share/doc/xnec2c/examples/10-20m_logper.nec
/usr/share/doc/xnec2c/examples/10-30m-box.nec
/usr/share/doc/xnec2c/examples/10-30m_MultiBand_Vertical.nec
/usr/share/doc/xnec2c/examples/10-30m_bipyramid.nec
/usr/share/doc/xnec2c/examples/10-30m_inv_cone.nec
/usr/share/doc/xnec2c/examples/10-30m_sphere.nec
/usr/share/doc/xnec2c/examples/10-40m_windom.nec
/usr/share/doc/xnec2c/examples/10-80m_G5RV.nec
/usr/share/doc/xnec2c/examples/10-80m_Inverted-L.nec
/usr/share/doc/xnec2c/examples/10-80m_windom.nec
/usr/share/doc/xnec2c/examples/137MHz_turnstile-sloped.nec
/usr/share/doc/xnec2c/examples/137MHz_turnstile.nec
/usr/share/doc/xnec2c/examples/137Mhz-QFHA1.nec
/usr/share/doc/xnec2c/examples/137Mhz-QFHA2.nec
/usr/share/doc/xnec2c/examples/137Mhz_xpol_omni.nec
/usr/share/doc/xnec2c/examples/13cm_Yagi.nec
/usr/share/doc/xnec2c/examples/13cm_corner_reflector.nec
/usr/share/doc/xnec2c/examples/13cm_helix+screen.nec
/usr/share/doc/xnec2c/examples/15m_delta-loop.nec
/usr/share/doc/xnec2c/examples/1MHz_3x_helicone.nec
/usr/share/doc/xnec2c/examples/1MHz_3x_helisphere.nec
/usr/share/doc/xnec2c/examples/1MHz_4x_helisphere.nec
/usr/share/doc/xnec2c/examples/1MHz_helivert.nec
/usr/share/doc/xnec2c/examples/1MHz_tower.nec
/usr/share/doc/xnec2c/examples/20-40m_ground_plane.nec
/usr/share/doc/xnec2c/examples/20-40m_vert_circ_cliff.nec
/usr/share/doc/xnec2c/examples/20-40m_vert_linear_cliff.nec
/usr/share/doc/xnec2c/examples/20-40m_vert_sommerfeld_cliff.nec
/usr/share/doc/xnec2c/examples/20m_car_ant.nec
/usr/share/doc/xnec2c/examples/20m_quad.nec
/usr/share/doc/xnec2c/examples/23cm_helix+radials.nec
/usr/share/doc/xnec2c/examples/23cm_helix+screen.nec
/usr/share/doc/xnec2c/examples/2m_1:4l-gp_on_pole.nec
/usr/share/doc/xnec2c/examples/2m_1:4l-horiz_gp_on_pole.nec
/usr/share/doc/xnec2c/examples/2m_5:8l-gp_on_pole.nec
/usr/share/doc/xnec2c/examples/2m_EME_ant.nec
/usr/share/doc/xnec2c/examples/2m_Lindenblad.nec
/usr/share/doc/xnec2c/examples/2m_bigwheel.nec
/usr/share/doc/xnec2c/examples/2m_extended_Xpol_yagi.nec
/usr/share/doc/xnec2c/examples/2m_extended_yagi.nec
/usr/share/doc/xnec2c/examples/2m_halo_stack.nec
/usr/share/doc/xnec2c/examples/2m_sqr_halo.nec
/usr/share/doc/xnec2c/examples/2m_sqr_halo_stack.nec
/usr/share/doc/xnec2c/examples/2m_xpol_omni.nec
/usr/share/doc/xnec2c/examples/2m_xpol_omni_stack.nec
/usr/share/doc/xnec2c/examples/2m_yagi.nec
/usr/share/doc/xnec2c/examples/30-80m_inv_L.nec
/usr/share/doc/xnec2c/examples/35-55MHz_logper.nec
/usr/share/doc/xnec2c/examples/40-80m_Inv_L.nec
/usr/share/doc/xnec2c/examples/40m-moxon.nec
/usr/share/doc/xnec2c/examples/6-17m_bipyramid.nec
/usr/share/doc/xnec2c/examples/6-20m_inv_cone.nec
/usr/share/doc/xnec2c/examples/6m_big-square_stack.nec
/usr/share/doc/xnec2c/examples/6m_bigwheel-stack.nec
/usr/share/doc/xnec2c/examples/6m_horizomni.nec
/usr/share/doc/xnec2c/examples/70cm_collinear.nec
/usr/share/doc/xnec2c/examples/80m_zepp.nec
/usr/share/doc/xnec2c/examples/T12m-H24m.nec
/usr/share/doc/xnec2c/examples/T20m-H18m.nec
/usr/share/doc/xnec2c/examples/airplane.nec
/usr/share/doc/xnec2c/examples/buoy.nec
/usr/share/doc/xnec2c/examples/conductivity.txt
/usr/share/doc/xnec2c/examples/gray_hoverman.nec
/usr/share/doc/xnec2c/examples/ground.txt
/usr/share/doc/xnec2c/examples/k9ay_5b4az.nec
/usr/share/doc/xnec2c/examples/k9ay_orig.nec
/usr/share/doc/xnec2c/examples/satellite.nec
/usr/share/doc/xnec2c/examples/twin-loop.nec
/usr/share/doc/xnec2c/images
/usr/share/doc/xnec2c/images/currents.png
/usr/share/doc/xnec2c/images/excitation.png
/usr/share/doc/xnec2c/images/freq_plots.png
/usr/share/doc/xnec2c/images/nec2_edit.png
/usr/share/doc/xnec2c/images/radiation.png
/usr/share/doc/xnec2c/images/wire.png
/usr/share/doc/xnec2c/nec2c.txt
/usr/share/doc/xnec2c/xnec2c.html
/usr/share/icons/hicolor/256x256/apps/xnec2c.png
/usr/share/icons/hicolor/scalable/apps/xnec2c.svg
/usr/share/licenses/xnec2c
/usr/share/licenses/xnec2c/COPYING
/usr/share/man/man1/xnec2c.1.gz
/usr/share/xnec2c
/usr/share/xnec2c/link.svg
/usr/share/xnec2c/unlink.svg
/usr/share/xnec2c/xnec2c.glade

References

Summary

In this tutorial we learn how to install xnec2c on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).