How To Install q on Fedora 36

In this tutorial we learn how to install q in Fedora 36. q is Equational programming language

Introduction

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

What is q

Q is a powerful and extensible functional programming language based on the term rewriting calculus. You specify an arbitrary system of equations which the interpreter uses as rewrite rules to reduce expressions to normal form. Q is useful for scientific programming and other advanced applications, and also as a sophisticated kind of desktop calculator. The distribution includes the Q programming tools, a standard library, add-on modules for interfacing to Curl, GNU dbm, ODBC, GNU Octave, ImageMagick, Tcl/Tk, XML/XSLT and an Emacs mode.

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

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

sudo dnf -y install q

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

sudo yum -y install q

How To Uninstall q on Fedora 36

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

sudo dnf remove q

q Package Contents on Fedora 36

/usr/bin/q
/usr/bin/qc
/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/e3156df077a0e92ccb83dadb8e115a2317ff1f
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/b162fb776e0785d75bd8fa0bb15bad73cfd5ec
/usr/lib/.build-id/20
/usr/lib/.build-id/20/5bf49111d6d4cfdaa54babd998e41ea562d382
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/5e4678a16231b5008d768744dfd3c13cd3bd6d
/usr/lib/.build-id/76
/usr/lib/.build-id/76/00cba30e3f5a2e4930105436a3c5b736426f1d
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/0ce8e2c4cbd3579be9d18578fe86110ddec9d6
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/c995c110833a4c1ab35fc8041c0ba3b428682e
/usr/lib/.build-id/97
/usr/lib/.build-id/97/f800bf95770a6d9eb893042cea42f7d0af6d91
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/33f20cba1a548b25b42e4fda674f1892ab7472
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/d9c74360596292b7b8378d7f01a516b685e0b8
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/b3476879c2976a215a40ed91a4c0e799400b3f
/usr/lib/.build-id/df
/usr/lib/.build-id/df/5300b5e05b4e88f1c2e2065c2b4c3c5a44421a
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/65d3eba0aa0f16a30d9a78500b262c69b5402d
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/d9b4384f9e7b4cb597b3270dc940a9d2976cca
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/a036d22f0b21e8a2eb09edbaed4ef7e4314d64
/usr/lib/libq.so.8
/usr/lib/libq.so.8.0.0
/usr/lib/libqint.so.2
/usr/lib/libqint.so.2.0.0
/usr/lib/q
/usr/lib/q/clib.so
/usr/lib/q/gdbm.so
/usr/lib/q/libtool
/usr/lib/q/octave.so
/usr/lib/q/odbc.so
/usr/lib/q/swig.so
/usr/lib/q/system.so
/usr/lib/q/xml.so
/usr/share/doc/q
/usr/share/doc/q/etc
/usr/share/doc/q/etc/AUTHORS
/usr/share/doc/q/etc/COPYING
/usr/share/doc/q/etc/ChangeLog
/usr/share/doc/q/etc/NEWS
/usr/share/doc/q/etc/README
/usr/share/doc/q/etc/README-Clib
/usr/share/doc/q/etc/README-Curl
/usr/share/doc/q/etc/README-DXL
/usr/share/doc/q/etc/README-Gdbm
/usr/share/doc/q/etc/README-Magick
/usr/share/doc/q/etc/README-ODBC
/usr/share/doc/q/etc/README-Octave
/usr/share/doc/q/etc/README-SWIG
/usr/share/doc/q/etc/README-Tk
/usr/share/doc/q/etc/README-XML
/usr/share/doc/q/etc/q-mode.el
/usr/share/doc/q/etc/q.vim
/usr/share/doc/q/etc/q.xml
/usr/share/doc/q/etc/qexitrc
/usr/share/doc/q/etc/qinitrc
/usr/share/doc/q/examples
/usr/share/doc/q/examples/basics.q
/usr/share/doc/q/examples/cgi.q
/usr/share/doc/q/examples/creverse.c
/usr/share/doc/q/examples/creverse.q
/usr/share/doc/q/examples/csv.q
/usr/share/doc/q/examples/ctype.c
/usr/share/doc/q/examples/ctype.q
/usr/share/doc/q/examples/curl
/usr/share/doc/q/examples/curl/curltest.q
/usr/share/doc/q/examples/daemon.q
/usr/share/doc/q/examples/dfs.q
/usr/share/doc/q/examples/dgram.q
/usr/share/doc/q/examples/dnf.q
/usr/share/doc/q/examples/dxl
/usr/share/doc/q/examples/dxl/dxl_sample.cfg
/usr/share/doc/q/examples/dxl/dxl_sample.net
/usr/share/doc/q/examples/dxl/dxl_sample.q
/usr/share/doc/q/examples/dxl/dxl_simple.q
/usr/share/doc/q/examples/dxl/sombrero.cfg
/usr/share/doc/q/examples/dxl/sombrero.dx
/usr/share/doc/q/examples/dxl/sombrero.net
/usr/share/doc/q/examples/dxl/sombrero.q
/usr/share/doc/q/examples/except.q
/usr/share/doc/q/examples/factor.q
/usr/share/doc/q/examples/fcntl.q
/usr/share/doc/q/examples/fibs.q
/usr/share/doc/q/examples/fibs.sh
/usr/share/doc/q/examples/fixpt.q
/usr/share/doc/q/examples/gamma.q
/usr/share/doc/q/examples/gdbm
/usr/share/doc/q/examples/gdbm/gdbm_dict.q
/usr/share/doc/q/examples/gdbm/testdb.q
/usr/share/doc/q/examples/getpass.q
/usr/share/doc/q/examples/globexamp.q
/usr/share/doc/q/examples/graph.q
/usr/share/doc/q/examples/grid.q
/usr/share/doc/q/examples/hashed.q
/usr/share/doc/q/examples/huffman.q
/usr/share/doc/q/examples/lambda.q
/usr/share/doc/q/examples/menu.q
/usr/share/doc/q/examples/newton.q
/usr/share/doc/q/examples/odbc
/usr/share/doc/q/examples/odbc/odbc_examp.q
/usr/share/doc/q/examples/pipes.q
/usr/share/doc/q/examples/popen2.q
/usr/share/doc/q/examples/primetest.q
/usr/share/doc/q/examples/pty.q
/usr/share/doc/q/examples/qint.c
/usr/share/doc/q/examples/queens.q
/usr/share/doc/q/examples/queens2.q
/usr/share/doc/q/examples/queens3.q
/usr/share/doc/q/examples/queue.q
/usr/share/doc/q/examples/regexamp.q
/usr/share/doc/q/examples/rlexamp.q
/usr/share/doc/q/examples/rot13.q
/usr/share/doc/q/examples/searchtree.q
/usr/share/doc/q/examples/select.q
/usr/share/doc/q/examples/signal.q
/usr/share/doc/q/examples/streams.q
/usr/share/doc/q/examples/swig
/usr/share/doc/q/examples/swig/example.c
/usr/share/doc/q/examples/swig/example.i
/usr/share/doc/q/examples/swig/qt_examp.cxx
/usr/share/doc/q/examples/swig/qt_examp.h
/usr/share/doc/q/examples/swig/qt_examp.i
/usr/share/doc/q/examples/symbolic.q
/usr/share/doc/q/examples/sys.q
/usr/share/doc/q/examples/testfont.q
/usr/share/doc/q/examples/time.q
/usr/share/doc/q/examples/tk
/usr/share/doc/q/examples/tk/tix.q
/usr/share/doc/q/examples/tk/tk_examp.q
/usr/share/doc/q/examples/tk/tk_test.q
/usr/share/doc/q/examples/unicode.q
/usr/share/doc/q/examples/xml
/usr/share/doc/q/examples/xml/catalog.q
/usr/share/doc/q/examples/xml/catalog.xsl
/usr/share/doc/q/examples/xml/recipes.q
/usr/share/doc/q/examples/xml/recipes.xml
/usr/share/doc/q/examples/xml/recipes.xsl
/usr/share/doc/q/examples/xml/sample.xml
/usr/share/doc/q/examples/xml/xml_examp.q
/usr/share/info/qdoc.info-1.gz
/usr/share/info/qdoc.info-2.gz
/usr/share/info/qdoc.info-3.gz
/usr/share/info/qdoc.info.gz
/usr/share/man/man1/q.1.gz
/usr/share/q
/usr/share/q/lib
/usr/share/q/lib/array.q
/usr/share/q/lib/assert.q
/usr/share/q/lib/bag.q
/usr/share/q/lib/clib.q
/usr/share/q/lib/complex.q
/usr/share/q/lib/cond.q
/usr/share/q/lib/dict.q
/usr/share/q/lib/error.q
/usr/share/q/lib/gdbm.q
/usr/share/q/lib/getopt.q
/usr/share/q/lib/graphics.q
/usr/share/q/lib/hdict.q
/usr/share/q/lib/heap.q
/usr/share/q/lib/math.q
/usr/share/q/lib/octave.q
/usr/share/q/lib/odbc.q
/usr/share/q/lib/prelude.q
/usr/share/q/lib/rational.q
/usr/share/q/lib/reftypes.q
/usr/share/q/lib/set.q
/usr/share/q/lib/sort.q
/usr/share/q/lib/stddecl.q
/usr/share/q/lib/stdlib.q
/usr/share/q/lib/stdtypes.q
/usr/share/q/lib/stream.q
/usr/share/q/lib/string.q
/usr/share/q/lib/swig.q
/usr/share/q/lib/system.q
/usr/share/q/lib/tuple.q
/usr/share/q/lib/typec.q
/usr/share/q/lib/xml.q

References

Summary

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


title: “How To Install q on Fedora 36” linkTitle: “q” type: “docs” description: “In this tutorial we learn how to install q in Fedora 36. q is Equational programming language” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/q-featured.png

Introduction

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

What is q

Q is a powerful and extensible functional programming language based on the term rewriting calculus. You specify an arbitrary system of equations which the interpreter uses as rewrite rules to reduce expressions to normal form. Q is useful for scientific programming and other advanced applications, and also as a sophisticated kind of desktop calculator. The distribution includes the Q programming tools, a standard library, add-on modules for interfacing to Curl, GNU dbm, ODBC, GNU Octave, ImageMagick, Tcl/Tk, XML/XSLT and an Emacs mode.

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

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

sudo dnf -y install q

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

sudo yum -y install q

How To Uninstall q on Fedora 36

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

sudo dnf remove q

q Package Contents on Fedora 36

/usr/bin/q
/usr/bin/qc
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/d44f2f465c8eb90249579961c1fefd5848be3c
/usr/lib/.build-id/13
/usr/lib/.build-id/13/e4c0f8cd147c76842b13da342ae84c1fb7518d
/usr/lib/.build-id/35
/usr/lib/.build-id/35/f556eb407a0ec5cb45d916810aa3570b77aa67
/usr/lib/.build-id/39
/usr/lib/.build-id/39/870203195d367ab77090c3d56c1da12f47a75b
/usr/lib/.build-id/55
/usr/lib/.build-id/55/6116275b38e4f693a03e04a441942c7e89da8f
/usr/lib/.build-id/57
/usr/lib/.build-id/57/b4b1e2f1f6f2cb0f85b8b2f6ef95935eca7967
/usr/lib/.build-id/75
/usr/lib/.build-id/75/1e29a8177fb2a55492822007e061d0b4e07aeb
/usr/lib/.build-id/79
/usr/lib/.build-id/79/79d4205d48a66b94ee730795e0475b1e730fc2
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/1e36e48b4e90490d6b5997facfe3e5e0b70436
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/5c07e236573de30f0e88785151e8dfb72589a8
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/dd205a0e722a98bb041b61ecede674133361a7
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/d7490dcd17a732a478a7d49c42054569a11933
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/a02bf4c1c1149018ce775f6a9157eda477df35
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/b24276e6676619b077cbc6b5ad949aad645f29
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/f9616ce22a5e4843bf26fc800b18fb70eaed0c
/usr/lib64/libq.so.8
/usr/lib64/libq.so.8.0.0
/usr/lib64/libqint.so.2
/usr/lib64/libqint.so.2.0.0
/usr/lib64/q
/usr/lib64/q/clib.so
/usr/lib64/q/gdbm.so
/usr/lib64/q/libtool
/usr/lib64/q/octave.so
/usr/lib64/q/odbc.so
/usr/lib64/q/swig.so
/usr/lib64/q/system.so
/usr/lib64/q/xml.so
/usr/share/doc/q
/usr/share/doc/q/etc
/usr/share/doc/q/etc/AUTHORS
/usr/share/doc/q/etc/COPYING
/usr/share/doc/q/etc/ChangeLog
/usr/share/doc/q/etc/NEWS
/usr/share/doc/q/etc/README
/usr/share/doc/q/etc/README-Clib
/usr/share/doc/q/etc/README-Curl
/usr/share/doc/q/etc/README-DXL
/usr/share/doc/q/etc/README-Gdbm
/usr/share/doc/q/etc/README-Magick
/usr/share/doc/q/etc/README-ODBC
/usr/share/doc/q/etc/README-Octave
/usr/share/doc/q/etc/README-SWIG
/usr/share/doc/q/etc/README-Tk
/usr/share/doc/q/etc/README-XML
/usr/share/doc/q/etc/q-mode.el
/usr/share/doc/q/etc/q.vim
/usr/share/doc/q/etc/q.xml
/usr/share/doc/q/etc/qexitrc
/usr/share/doc/q/etc/qinitrc
/usr/share/doc/q/examples
/usr/share/doc/q/examples/basics.q
/usr/share/doc/q/examples/cgi.q
/usr/share/doc/q/examples/creverse.c
/usr/share/doc/q/examples/creverse.q
/usr/share/doc/q/examples/csv.q
/usr/share/doc/q/examples/ctype.c
/usr/share/doc/q/examples/ctype.q
/usr/share/doc/q/examples/curl
/usr/share/doc/q/examples/curl/curltest.q
/usr/share/doc/q/examples/daemon.q
/usr/share/doc/q/examples/dfs.q
/usr/share/doc/q/examples/dgram.q
/usr/share/doc/q/examples/dnf.q
/usr/share/doc/q/examples/dxl
/usr/share/doc/q/examples/dxl/dxl_sample.cfg
/usr/share/doc/q/examples/dxl/dxl_sample.net
/usr/share/doc/q/examples/dxl/dxl_sample.q
/usr/share/doc/q/examples/dxl/dxl_simple.q
/usr/share/doc/q/examples/dxl/sombrero.cfg
/usr/share/doc/q/examples/dxl/sombrero.dx
/usr/share/doc/q/examples/dxl/sombrero.net
/usr/share/doc/q/examples/dxl/sombrero.q
/usr/share/doc/q/examples/except.q
/usr/share/doc/q/examples/factor.q
/usr/share/doc/q/examples/fcntl.q
/usr/share/doc/q/examples/fibs.q
/usr/share/doc/q/examples/fibs.sh
/usr/share/doc/q/examples/fixpt.q
/usr/share/doc/q/examples/gamma.q
/usr/share/doc/q/examples/gdbm
/usr/share/doc/q/examples/gdbm/gdbm_dict.q
/usr/share/doc/q/examples/gdbm/testdb.q
/usr/share/doc/q/examples/getpass.q
/usr/share/doc/q/examples/globexamp.q
/usr/share/doc/q/examples/graph.q
/usr/share/doc/q/examples/grid.q
/usr/share/doc/q/examples/hashed.q
/usr/share/doc/q/examples/huffman.q
/usr/share/doc/q/examples/lambda.q
/usr/share/doc/q/examples/menu.q
/usr/share/doc/q/examples/newton.q
/usr/share/doc/q/examples/odbc
/usr/share/doc/q/examples/odbc/odbc_examp.q
/usr/share/doc/q/examples/pipes.q
/usr/share/doc/q/examples/popen2.q
/usr/share/doc/q/examples/primetest.q
/usr/share/doc/q/examples/pty.q
/usr/share/doc/q/examples/qint.c
/usr/share/doc/q/examples/queens.q
/usr/share/doc/q/examples/queens2.q
/usr/share/doc/q/examples/queens3.q
/usr/share/doc/q/examples/queue.q
/usr/share/doc/q/examples/regexamp.q
/usr/share/doc/q/examples/rlexamp.q
/usr/share/doc/q/examples/rot13.q
/usr/share/doc/q/examples/searchtree.q
/usr/share/doc/q/examples/select.q
/usr/share/doc/q/examples/signal.q
/usr/share/doc/q/examples/streams.q
/usr/share/doc/q/examples/swig
/usr/share/doc/q/examples/swig/example.c
/usr/share/doc/q/examples/swig/example.i
/usr/share/doc/q/examples/swig/qt_examp.cxx
/usr/share/doc/q/examples/swig/qt_examp.h
/usr/share/doc/q/examples/swig/qt_examp.i
/usr/share/doc/q/examples/symbolic.q
/usr/share/doc/q/examples/sys.q
/usr/share/doc/q/examples/testfont.q
/usr/share/doc/q/examples/time.q
/usr/share/doc/q/examples/tk
/usr/share/doc/q/examples/tk/tix.q
/usr/share/doc/q/examples/tk/tk_examp.q
/usr/share/doc/q/examples/tk/tk_test.q
/usr/share/doc/q/examples/unicode.q
/usr/share/doc/q/examples/xml
/usr/share/doc/q/examples/xml/catalog.q
/usr/share/doc/q/examples/xml/catalog.xsl
/usr/share/doc/q/examples/xml/recipes.q
/usr/share/doc/q/examples/xml/recipes.xml
/usr/share/doc/q/examples/xml/recipes.xsl
/usr/share/doc/q/examples/xml/sample.xml
/usr/share/doc/q/examples/xml/xml_examp.q
/usr/share/info/qdoc.info-1.gz
/usr/share/info/qdoc.info-2.gz
/usr/share/info/qdoc.info-3.gz
/usr/share/info/qdoc.info.gz
/usr/share/man/man1/q.1.gz
/usr/share/q
/usr/share/q/lib
/usr/share/q/lib/array.q
/usr/share/q/lib/assert.q
/usr/share/q/lib/bag.q
/usr/share/q/lib/clib.q
/usr/share/q/lib/complex.q
/usr/share/q/lib/cond.q
/usr/share/q/lib/dict.q
/usr/share/q/lib/error.q
/usr/share/q/lib/gdbm.q
/usr/share/q/lib/getopt.q
/usr/share/q/lib/graphics.q
/usr/share/q/lib/hdict.q
/usr/share/q/lib/heap.q
/usr/share/q/lib/math.q
/usr/share/q/lib/octave.q
/usr/share/q/lib/odbc.q
/usr/share/q/lib/prelude.q
/usr/share/q/lib/rational.q
/usr/share/q/lib/reftypes.q
/usr/share/q/lib/set.q
/usr/share/q/lib/sort.q
/usr/share/q/lib/stddecl.q
/usr/share/q/lib/stdlib.q
/usr/share/q/lib/stdtypes.q
/usr/share/q/lib/stream.q
/usr/share/q/lib/string.q
/usr/share/q/lib/swig.q
/usr/share/q/lib/system.q
/usr/share/q/lib/tuple.q
/usr/share/q/lib/typec.q
/usr/share/q/lib/xml.q

References

Summary

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