How To Install blt on Fedora 34

blt is Widget extension to the Tcl/Tk scripting language

Introduction

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

What is blt

BLT is a very powerful extension to Tk. It adds plotting widgets (graph, barchart and stripchart), hierarchy tree and table, tab notebook, table geometry manager, vector, background program execution, busy utility, eps canvas item, drag and drop facility, bitmap command and miscellaneous commands. Note with Tcl/Tk versions after and including 8.3.1.

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

Install blt 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 blt using dnf by running the following command:

sudo dnf -y install blt

Install blt 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 blt using yum by running the following command:

sudo yum -y install blt

How To Uninstall blt on Fedora 34

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

sudo dnf remove blt

blt Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/44
/usr/lib/.build-id/44/c531879869eee264ef4f44f64c458394953156
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/d3423303359af46e9ce7b500f9a4e184df3978
/usr/lib64/libBLT24.so
/usr/lib64/libBLTlite24.so
/usr/lib64/tcl8.6/blt2.4
/usr/lib64/tcl8.6/blt2.4/pkgIndex.tcl
/usr/share/doc/blt
/usr/share/doc/blt/INSTALL
/usr/share/doc/blt/PROBLEMS
/usr/share/doc/blt/README
/usr/share/tcl8.6/blt2.4
/usr/share/tcl8.6/blt2.4/ZoomStack.itcl
/usr/share/tcl8.6/blt2.4/bltCanvEps.pro
/usr/share/tcl8.6/blt2.4/bltGraph.pro
/usr/share/tcl8.6/blt2.4/dd_protocols
/usr/share/tcl8.6/blt2.4/dd_protocols/dd-color.tcl
/usr/share/tcl8.6/blt2.4/dd_protocols/dd-file.tcl
/usr/share/tcl8.6/blt2.4/dd_protocols/dd-number.tcl
/usr/share/tcl8.6/blt2.4/dd_protocols/dd-text.tcl
/usr/share/tcl8.6/blt2.4/dd_protocols/tclIndex
/usr/share/tcl8.6/blt2.4/demos
/usr/share/tcl8.6/blt2.4/demos/barchart1.tcl
/usr/share/tcl8.6/blt2.4/demos/barchart2.tcl
/usr/share/tcl8.6/blt2.4/demos/barchart3.tcl
/usr/share/tcl8.6/blt2.4/demos/barchart4.tcl
/usr/share/tcl8.6/blt2.4/demos/barchart5.tcl
/usr/share/tcl8.6/blt2.4/demos/bgexec1.tcl
/usr/share/tcl8.6/blt2.4/demos/bgexec2.tcl
/usr/share/tcl8.6/blt2.4/demos/bgexec3.tcl
/usr/share/tcl8.6/blt2.4/demos/bgexec4.tcl
/usr/share/tcl8.6/blt2.4/demos/bitmap.tcl
/usr/share/tcl8.6/blt2.4/demos/bitmaps
/usr/share/tcl8.6/blt2.4/demos/bitmaps/face.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/fish
/usr/share/tcl8.6/blt2.4/demos/bitmaps/fish/left.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/fish/left1.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/fish/left1m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/fish/leftm.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/fish/mid.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/fish/midm.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/fish/right.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/fish/right1.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/fish/right1m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/fish/rightm.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/greenback.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand01.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand01m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand02.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand02m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand03.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand03m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand04.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand04m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand05.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand05m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand06.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand06m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand07.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand07m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand08.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand08m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand09.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand09m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand10.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand10m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand11.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand11m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand12.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand12m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand13.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand13m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand14.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hand/hand14m.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hobbes.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/hobbes_mask.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/sharky.xbm
/usr/share/tcl8.6/blt2.4/demos/bitmaps/xbob.xbm
/usr/share/tcl8.6/blt2.4/demos/busy1.tcl
/usr/share/tcl8.6/blt2.4/demos/busy2.tcl
/usr/share/tcl8.6/blt2.4/demos/dnd1.tcl
/usr/share/tcl8.6/blt2.4/demos/dnd2.tcl
/usr/share/tcl8.6/blt2.4/demos/dragdrop1.tcl
/usr/share/tcl8.6/blt2.4/demos/dragdrop2.tcl
/usr/share/tcl8.6/blt2.4/demos/eps.tcl
/usr/share/tcl8.6/blt2.4/demos/graph1.tcl
/usr/share/tcl8.6/blt2.4/demos/graph2.tcl
/usr/share/tcl8.6/blt2.4/demos/graph3.tcl
/usr/share/tcl8.6/blt2.4/demos/graph4.tcl
/usr/share/tcl8.6/blt2.4/demos/graph5.tcl
/usr/share/tcl8.6/blt2.4/demos/graph6.tcl
/usr/share/tcl8.6/blt2.4/demos/graph7.tcl
/usr/share/tcl8.6/blt2.4/demos/hierbox1.tcl
/usr/share/tcl8.6/blt2.4/demos/hierbox2.tcl
/usr/share/tcl8.6/blt2.4/demos/hierbox3.tcl
/usr/share/tcl8.6/blt2.4/demos/hierbox4.tcl
/usr/share/tcl8.6/blt2.4/demos/hiertable1.tcl
/usr/share/tcl8.6/blt2.4/demos/hiertable2.tcl
/usr/share/tcl8.6/blt2.4/demos/htext.txt
/usr/share/tcl8.6/blt2.4/demos/htext1.tcl
/usr/share/tcl8.6/blt2.4/demos/images
/usr/share/tcl8.6/blt2.4/demos/images/blt98.gif
/usr/share/tcl8.6/blt2.4/demos/images/buckskin.gif
/usr/share/tcl8.6/blt2.4/demos/images/chalk.gif
/usr/share/tcl8.6/blt2.4/demos/images/close.gif
/usr/share/tcl8.6/blt2.4/demos/images/close2.gif
/usr/share/tcl8.6/blt2.4/demos/images/clouds.gif
/usr/share/tcl8.6/blt2.4/demos/images/corrugated_metal.gif
/usr/share/tcl8.6/blt2.4/demos/images/folder.gif
/usr/share/tcl8.6/blt2.4/demos/images/mini-book1.gif
/usr/share/tcl8.6/blt2.4/demos/images/mini-book2.gif
/usr/share/tcl8.6/blt2.4/demos/images/mini-display.gif
/usr/share/tcl8.6/blt2.4/demos/images/mini-doc.gif
/usr/share/tcl8.6/blt2.4/demos/images/mini-filemgr.gif
/usr/share/tcl8.6/blt2.4/demos/images/mini-ofolder.gif
/usr/share/tcl8.6/blt2.4/demos/images/mini-windows.gif
/usr/share/tcl8.6/blt2.4/demos/images/ofolder.gif
/usr/share/tcl8.6/blt2.4/demos/images/open.gif
/usr/share/tcl8.6/blt2.4/demos/images/open2.gif
/usr/share/tcl8.6/blt2.4/demos/images/out.ps
/usr/share/tcl8.6/blt2.4/demos/images/qv100.t.gif
/usr/share/tcl8.6/blt2.4/demos/images/rain.gif
/usr/share/tcl8.6/blt2.4/demos/images/sample.gif
/usr/share/tcl8.6/blt2.4/demos/images/smblue_rock.gif
/usr/share/tcl8.6/blt2.4/demos/images/stopsign.gif
/usr/share/tcl8.6/blt2.4/demos/images/tan_paper.gif
/usr/share/tcl8.6/blt2.4/demos/images/tan_paper2.gif
/usr/share/tcl8.6/blt2.4/demos/images/txtrflag.gif
/usr/share/tcl8.6/blt2.4/demos/scripts
/usr/share/tcl8.6/blt2.4/demos/scripts/barchart2.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/bgtest.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/clone.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/demo.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/globe.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/graph1.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/graph2.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/graph3.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/graph5.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/graph8.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/page.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/patterns.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/ps.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/send.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/stipples.tcl
/usr/share/tcl8.6/blt2.4/demos/scripts/xcolors.tcl
/usr/share/tcl8.6/blt2.4/demos/spline.tcl
/usr/share/tcl8.6/blt2.4/demos/stripchart1.tcl
/usr/share/tcl8.6/blt2.4/demos/tabnotebook1.tcl
/usr/share/tcl8.6/blt2.4/demos/tabnotebook2.tcl
/usr/share/tcl8.6/blt2.4/demos/tabnotebook3.tcl
/usr/share/tcl8.6/blt2.4/demos/tabset1.tcl
/usr/share/tcl8.6/blt2.4/demos/tabset2.tcl
/usr/share/tcl8.6/blt2.4/demos/tabset3.tcl
/usr/share/tcl8.6/blt2.4/demos/tabset4.tcl
/usr/share/tcl8.6/blt2.4/demos/treeview1.tcl
/usr/share/tcl8.6/blt2.4/demos/winop1.tcl
/usr/share/tcl8.6/blt2.4/demos/winop2.tcl
/usr/share/tcl8.6/blt2.4/dnd.tcl
/usr/share/tcl8.6/blt2.4/dragdrop.tcl
/usr/share/tcl8.6/blt2.4/graph.tcl
/usr/share/tcl8.6/blt2.4/hierbox.tcl
/usr/share/tcl8.6/blt2.4/tabnotebook.tcl
/usr/share/tcl8.6/blt2.4/tabset.tcl
/usr/share/tcl8.6/blt2.4/tclIndex
/usr/share/tcl8.6/blt2.4/treeview.tcl
/usr/share/tcl8.6/blt2.4/treeview.xbm
/usr/share/tcl8.6/blt2.4/treeview_m.xbm

References

Summary

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