How To Install ktechlab on Fedora 34

ktechlab is Development and simulation of micro-controllers and electronic circuits

Introduction

In this tutorial we learn how to install ktechlab on Fedora 34.

What is ktechlab

KTechlab is a development and simulation environment for micro-controllers and electronic circuits. KTechlab consists of several well-integrated components and some nonlinear devices. Integration with gpsim, allowing PICs to be simulated in circuit. A schematic editor, which provides a rich real-time feedback of the simulation. A flowchart editor, allowing PIC programs to be constructed visually. MicroBASIC; a BASIC-like compiler for PICs, written as a companion program to KTechlab. An embedded Kate part, which provides a powerful editor for PIC programs. Integrated assembler and disassembler via gpasm and gpdasm.

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

Install ktechlab on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install ktechlab

Install ktechlab on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install ktechlab

How To Uninstall ktechlab on Fedora 34

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

sudo dnf remove ktechlab

ktechlab Package Contents on Fedora 34

/etc/profile.d/ktechlab.sh
/usr/bin/ktechlab
/usr/bin/microbe
/usr/lib/.build-id
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/1a08e51dbdb11c54021f571859407bfaa9854f
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/f41bcb73ac03fc894a7af0288cbac4a418525c
/usr/share/applications/kde4/org.kde.ktechlab.desktop
/usr/share/config.kcfg/ktechlab.kcfg
/usr/share/doc/HTML/en/ktechlab
/usr/share/doc/HTML/en/ktechlab/circuits.docbook
/usr/share/doc/HTML/en/ktechlab/debugging.docbook
/usr/share/doc/HTML/en/ktechlab/faq.docbook
/usr/share/doc/HTML/en/ktechlab/flowcode.docbook
/usr/share/doc/HTML/en/ktechlab/index.cache.bz2
/usr/share/doc/HTML/en/ktechlab/index.docbook
/usr/share/doc/HTML/en/ktechlab/microbe.docbook
/usr/share/doc/HTML/en/ktechlab/picprograms.docbook
/usr/share/doc/HTML/en/ktechlab/quick.docbook
/usr/share/doc/ktechlab
/usr/share/doc/ktechlab/AUTHORS
/usr/share/doc/ktechlab/ChangeLog
/usr/share/doc/ktechlab/TODO
/usr/share/icons/hicolor/128x128/apps/ktechlab.png
/usr/share/icons/hicolor/128x128/apps/microbe.png
/usr/share/icons/hicolor/128x128/mimetypes/application-x-circuit.png
/usr/share/icons/hicolor/128x128/mimetypes/application-x-flowcode.png
/usr/share/icons/hicolor/128x128/mimetypes/application-x-microbe.png
/usr/share/icons/hicolor/16x16/apps/ktechlab.png
/usr/share/icons/hicolor/16x16/apps/microbe.png
/usr/share/icons/hicolor/16x16/mimetypes/application-x-circuit.png
/usr/share/icons/hicolor/16x16/mimetypes/application-x-flowcode.png
/usr/share/icons/hicolor/16x16/mimetypes/application-x-microbe.png
/usr/share/icons/hicolor/22x22/apps/ktechlab.png
/usr/share/icons/hicolor/22x22/apps/microbe.png
/usr/share/icons/hicolor/22x22/mimetypes/application-x-circuit.png
/usr/share/icons/hicolor/22x22/mimetypes/application-x-flowcode.png
/usr/share/icons/hicolor/22x22/mimetypes/application-x-microbe.png
/usr/share/icons/hicolor/32x32/apps/ktechlab.png
/usr/share/icons/hicolor/32x32/apps/microbe.png
/usr/share/icons/hicolor/32x32/mimetypes/application-x-circuit.png
/usr/share/icons/hicolor/32x32/mimetypes/application-x-flowcode.png
/usr/share/icons/hicolor/32x32/mimetypes/application-x-microbe.png
/usr/share/icons/hicolor/48x48/apps/ktechlab.png
/usr/share/icons/hicolor/48x48/apps/microbe.png
/usr/share/icons/hicolor/48x48/mimetypes/application-x-circuit.png
/usr/share/icons/hicolor/48x48/mimetypes/application-x-flowcode.png
/usr/share/icons/hicolor/48x48/mimetypes/application-x-microbe.png
/usr/share/icons/hicolor/64x64/apps/ktechlab.png
/usr/share/icons/hicolor/64x64/apps/microbe.png
/usr/share/icons/hicolor/64x64/mimetypes/application-x-circuit.png
/usr/share/icons/hicolor/64x64/mimetypes/application-x-flowcode.png
/usr/share/icons/hicolor/64x64/mimetypes/application-x-microbe.png
/usr/share/kde4/apps/katepart/syntax/microbe.xml
/usr/share/kde4/apps/ktechlab/contexthelp
/usr/share/kde4/apps/ktechlab/contexthelp/help-de
/usr/share/kde4/apps/ktechlab/contexthelp/help-en_US
/usr/share/kde4/apps/ktechlab/contexthelp/help-es
/usr/share/kde4/apps/ktechlab/contexthelp/help-fr
/usr/share/kde4/apps/ktechlab/contexthelp/help-it
/usr/share/kde4/apps/ktechlab/contexthelp/help-uk
/usr/share/kde4/apps/ktechlab/contexthelp/ohm.png
/usr/share/kde4/apps/ktechlab/contexthelp/ohm_unit.png
/usr/share/kde4/apps/ktechlab/contexthelp/opamp.png
/usr/share/kde4/apps/ktechlab/contexthelp/siemens.png
/usr/share/kde4/apps/ktechlab/contexthelp/siemens_unit.png
/usr/share/kde4/apps/ktechlab/contexthelp/tf_op.png
/usr/share/kde4/apps/ktechlab/examples
/usr/share/kde4/apps/ktechlab/examples/555
/usr/share/kde4/apps/ktechlab/examples/555/internals.circuit
/usr/share/kde4/apps/ktechlab/examples/555/square-wave.circuit
/usr/share/kde4/apps/ktechlab/examples/basic
/usr/share/kde4/apps/ktechlab/examples/basic/2-way-switch.circuit
/usr/share/kde4/apps/ktechlab/examples/basic/3-way-switch.circuit
/usr/share/kde4/apps/ktechlab/examples/basic/capacitor.circuit
/usr/share/kde4/apps/ktechlab/examples/basic/lrc.circuit
/usr/share/kde4/apps/ktechlab/examples/basic/resistors-parallel.circuit
/usr/share/kde4/apps/ktechlab/examples/basic/resistors-series.circuit
/usr/share/kde4/apps/ktechlab/examples/basic/voltage-divider.circuit
/usr/share/kde4/apps/ktechlab/examples/diodes
/usr/share/kde4/apps/ktechlab/examples/diodes/full-wave-rectifier.circuit
/usr/share/kde4/apps/ktechlab/examples/diodes/half-wave-rectifier.circuit
/usr/share/kde4/apps/ktechlab/examples/jfets
/usr/share/kde4/apps/ktechlab/examples/jfets/inverter.circuit
/usr/share/kde4/apps/ktechlab/examples/matrix_disp_driver
/usr/share/kde4/apps/ktechlab/examples/matrix_disp_driver/matrix_display.circuit
/usr/share/kde4/apps/ktechlab/examples/mosfets
/usr/share/kde4/apps/ktechlab/examples/mosfets/and.circuit
/usr/share/kde4/apps/ktechlab/examples/mosfets/inverter.circuit
/usr/share/kde4/apps/ktechlab/examples/mosfets/nand.circuit
/usr/share/kde4/apps/ktechlab/examples/mosfets/nor.circuit
/usr/share/kde4/apps/ktechlab/examples/mosfets/or.circuit
/usr/share/kde4/apps/ktechlab/examples/opamps
/usr/share/kde4/apps/ktechlab/examples/opamps/decoupler.circuit
/usr/share/kde4/apps/ktechlab/examples/opamps/instrumentation-amplifier.circuit
/usr/share/kde4/apps/ktechlab/examples/opamps/inverting-amplifier.circuit
/usr/share/kde4/apps/ktechlab/examples/opamps/noninverting-amplifier.circuit
/usr/share/kde4/apps/ktechlab/examples/transistors
/usr/share/kde4/apps/ktechlab/examples/transistors/astable-multivibrator.circuit
/usr/share/kde4/apps/ktechlab/examples/transistors/inverter.circuit
/usr/share/kde4/apps/ktechlab/examples/transistors/nand.circuit
/usr/share/kde4/apps/ktechlab/examples/transistors/nor.circuit
/usr/share/kde4/apps/ktechlab/examples/transistors/scmitt-trigger.circuit
/usr/share/kde4/apps/ktechlab/examples/transistors/switch.circuit
/usr/share/kde4/apps/ktechlab/icons
/usr/share/kde4/apps/ktechlab/icons/ammeter.png
/usr/share/kde4/apps/ktechlab/icons/and.png
/usr/share/kde4/apps/ktechlab/icons/assignment.png
/usr/share/kde4/apps/ktechlab/icons/bidirled.png
/usr/share/kde4/apps/ktechlab/icons/branch.png
/usr/share/kde4/apps/ktechlab/icons/buffer.png
/usr/share/kde4/apps/ktechlab/icons/bus.png
/usr/share/kde4/apps/ktechlab/icons/capacitor.png
/usr/share/kde4/apps/ktechlab/icons/cccs.png
/usr/share/kde4/apps/ktechlab/icons/ccvs.png
/usr/share/kde4/apps/ktechlab/icons/cell.png
/usr/share/kde4/apps/ktechlab/icons/circuit.png
/usr/share/kde4/apps/ktechlab/icons/clockinput.png
/usr/share/kde4/apps/ktechlab/icons/current_source.png
/usr/share/kde4/apps/ktechlab/icons/currentsignal.png
/usr/share/kde4/apps/ktechlab/icons/delay.png
/usr/share/kde4/apps/ktechlab/icons/diode.png
/usr/share/kde4/apps/ktechlab/icons/dpdt.png
/usr/share/kde4/apps/ktechlab/icons/dpst.png
/usr/share/kde4/apps/ktechlab/icons/embed.png
/usr/share/kde4/apps/ktechlab/icons/end.png
/usr/share/kde4/apps/ktechlab/icons/external_connection.png
/usr/share/kde4/apps/ktechlab/icons/external_link.png
/usr/share/kde4/apps/ktechlab/icons/floatingprobe.png
/usr/share/kde4/apps/ktechlab/icons/flowcode.png
/usr/share/kde4/apps/ktechlab/icons/for.png
/usr/share/kde4/apps/ktechlab/icons/ground.png
/usr/share/kde4/apps/ktechlab/icons/hicolor
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/convert_to_assembly.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/convert_to_hex.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/convert_to_microbe.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/convert_to_pic.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/draw-arrow.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/draw-ellipse.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/draw-line.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/draw-rectangle.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/draw-text.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/format-list-unordered.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/indent_asm.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/logic_or.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/null.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/object-order-lower.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/object-order-raise.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/16x16/actions/oscilloscope.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22/actions
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22/actions/convert_to_assembly.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22/actions/convert_to_hex.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22/actions/convert_to_microbe.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22/actions/convert_to_pic.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22/actions/debug-run.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22/actions/debug-step-instructions.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22/actions/debug-step-out.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22/actions/debug-step-over.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22/actions/format-list-unordered.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22/actions/indent_asm.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22/actions/logic_or.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22/actions/object-order-lower.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/22x22/actions/object-order-raise.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/32x32
/usr/share/kde4/apps/ktechlab/icons/hicolor/32x32/actions
/usr/share/kde4/apps/ktechlab/icons/hicolor/32x32/actions/convert_to_assembly.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/32x32/actions/convert_to_hex.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/32x32/actions/convert_to_microbe.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/32x32/actions/convert_to_pic.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/32x32/actions/indent_asm.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/32x32/actions/logic_or.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/48x48
/usr/share/kde4/apps/ktechlab/icons/hicolor/48x48/actions
/usr/share/kde4/apps/ktechlab/icons/hicolor/48x48/actions/convert_to_assembly.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/48x48/actions/convert_to_hex.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/48x48/actions/convert_to_microbe.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/48x48/actions/convert_to_pic.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/48x48/actions/indent_asm.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/48x48/actions/logic_or.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/64x64
/usr/share/kde4/apps/ktechlab/icons/hicolor/64x64/actions
/usr/share/kde4/apps/ktechlab/icons/hicolor/64x64/actions/convert_to_assembly.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/64x64/actions/convert_to_hex.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/64x64/actions/convert_to_microbe.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/64x64/actions/convert_to_pic.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/64x64/actions/indent_asm.png
/usr/share/kde4/apps/ktechlab/icons/hicolor/64x64/actions/logic_or.png
/usr/share/kde4/apps/ktechlab/icons/ic1.png
/usr/share/kde4/apps/ktechlab/icons/ic2.png
/usr/share/kde4/apps/ktechlab/icons/ic3.png
/usr/share/kde4/apps/ktechlab/icons/inductor.png
/usr/share/kde4/apps/ktechlab/icons/interrupt.png
/usr/share/kde4/apps/ktechlab/icons/item.png
/usr/share/kde4/apps/ktechlab/icons/keypad.png
/usr/share/kde4/apps/ktechlab/icons/led.png
/usr/share/kde4/apps/ktechlab/icons/logic_input.png
/usr/share/kde4/apps/ktechlab/icons/logic_output.png
/usr/share/kde4/apps/ktechlab/icons/logicprobe.png
/usr/share/kde4/apps/ktechlab/icons/matrixdisplay.png
/usr/share/kde4/apps/ktechlab/icons/mechanics.png
/usr/share/kde4/apps/ktechlab/icons/nand.png
/usr/share/kde4/apps/ktechlab/icons/nemosfet.png
/usr/share/kde4/apps/ktechlab/icons/njfet.png
/usr/share/kde4/apps/ktechlab/icons/nor.png
/usr/share/kde4/apps/ktechlab/icons/not.png
/usr/share/kde4/apps/ktechlab/icons/npn.png
/usr/share/kde4/apps/ktechlab/icons/opamp.png
/usr/share/kde4/apps/ktechlab/icons/or.png
/usr/share/kde4/apps/ktechlab/icons/pemosfet.png
/usr/share/kde4/apps/ktechlab/icons/pinread.png
/usr/share/kde4/apps/ktechlab/icons/pinwrite.png
/usr/share/kde4/apps/ktechlab/icons/pjfet.png
/usr/share/kde4/apps/ktechlab/icons/pnp.png
/usr/share/kde4/apps/ktechlab/icons/portread.png
/usr/share/kde4/apps/ktechlab/icons/portwrite.png
/usr/share/kde4/apps/ktechlab/icons/potentiometer.png
/usr/share/kde4/apps/ktechlab/icons/project_library.png
/usr/share/kde4/apps/ktechlab/icons/project_program.png
/usr/share/kde4/apps/ktechlab/icons/ptb.png
/usr/share/kde4/apps/ktechlab/icons/ptm.png
/usr/share/kde4/apps/ktechlab/icons/repeat.png
/usr/share/kde4/apps/ktechlab/icons/resistor.png
/usr/share/kde4/apps/ktechlab/icons/resistordip.png
/usr/share/kde4/apps/ktechlab/icons/rotary.png
/usr/share/kde4/apps/ktechlab/icons/seven_segment.png
/usr/share/kde4/apps/ktechlab/icons/signal_lamp.png
/usr/share/kde4/apps/ktechlab/icons/spdt.png
/usr/share/kde4/apps/ktechlab/icons/spst.png
/usr/share/kde4/apps/ktechlab/icons/start.png
/usr/share/kde4/apps/ktechlab/icons/sub.png
/usr/share/kde4/apps/ktechlab/icons/subcall.png
/usr/share/kde4/apps/ktechlab/icons/unary.png
/usr/share/kde4/apps/ktechlab/icons/variable_capacitor.png
/usr/share/kde4/apps/ktechlab/icons/variable_resistor.png
/usr/share/kde4/apps/ktechlab/icons/vccs.png
/usr/share/kde4/apps/ktechlab/icons/vcvs.png
/usr/share/kde4/apps/ktechlab/icons/voltage.png
/usr/share/kde4/apps/ktechlab/icons/voltagesignal.png
/usr/share/kde4/apps/ktechlab/icons/voltmeter.png
/usr/share/kde4/apps/ktechlab/icons/while.png
/usr/share/kde4/apps/ktechlab/icons/xnor.png
/usr/share/kde4/apps/ktechlab/icons/xor.png
/usr/share/kde4/apps/ktechlab/ktechlabcircuitui.rc
/usr/share/kde4/apps/ktechlab/ktechlabflowcodeui.rc
/usr/share/kde4/apps/ktechlab/ktechlabitemviewui.rc
/usr/share/kde4/apps/ktechlab/ktechlabkateui.rc
/usr/share/kde4/apps/ktechlab/ktechlabmechanicsui.rc
/usr/share/kde4/apps/ktechlab/ktechlabtextui.rc
/usr/share/kde4/apps/ktechlab/ktechlabui.rc
/usr/share/kde4/apps/ktechlab/models
/usr/share/kde4/apps/ktechlab/models/transistors_lib.txt
/usr/share/kde4/apps/ktechlab/pics
/usr/share/kde4/apps/ktechlab/pics/attach.png
/usr/share/kde4/apps/ktechlab/pics/blockdevice.png
/usr/share/kde4/apps/ktechlab/pics/exec.png
/usr/share/kde4/apps/ktechlab/pics/pencil.png
/usr/share/kde4/apps/ktechlab/pics/source.png
/usr/share/licenses/ktechlab
/usr/share/licenses/ktechlab/COPYING
/usr/share/locale/ca/LC_MESSAGES/ktechlab.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/ktechlab.mo
/usr/share/locale/cs/LC_MESSAGES/ktechlab.mo
/usr/share/locale/de/LC_MESSAGES/ktechlab.mo
/usr/share/locale/es/LC_MESSAGES/ktechlab.mo
/usr/share/locale/fr/LC_MESSAGES/ktechlab.mo
/usr/share/locale/hu/LC_MESSAGES/ktechlab.mo
/usr/share/locale/it/LC_MESSAGES/ktechlab.mo
/usr/share/locale/ja/LC_MESSAGES/ktechlab.mo
/usr/share/locale/nl/LC_MESSAGES/ktechlab.mo
/usr/share/locale/pt/LC_MESSAGES/ktechlab.mo
/usr/share/locale/pt_BR/LC_MESSAGES/ktechlab.mo
/usr/share/locale/sk/LC_MESSAGES/ktechlab.mo
/usr/share/locale/sv/LC_MESSAGES/ktechlab.mo
/usr/share/locale/uk/LC_MESSAGES/ktechlab.mo
/usr/share/metainfo/org.kde.ktechlab.appdata.xml
/usr/share/mime/packages/ktechlab_mime.xml

References

Summary

In this tutorial we learn how to install ktechlab on Fedora 34 using yum and dnf.