How To Install motif on CentOS 8

motif is Run-time libraries and programs Run-time libraries and programs

Introduction

In this tutorial we learn how to install motif on CentOS 8.

What is motif

This is the Motif 2.3.4 run-time environment. It includes the Motif shared libraries, needed to run applications which are dynamically linked against Motif and the Motif Window Manager mwm. motif 2.3.4 16.el8 x86_64 1.5 M motif-2.3.4-16.el8.src.rpm appstream Run-time libraries and programs http LGPLv2+ This is the Motif 2.3.4 run-time environment. It includes the Motif shared libraries, needed to run applications which are dynamically linked against Motif and the Motif Window Manager mwm.

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

Install motif on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install motif

Install motif on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install motif

How To Uninstall motif on CentOS 8

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

sudo dnf remove motif

motif Package Contents on CentOS 8

/etc/X11/mwm
/etc/X11/mwm/system.mwmrc
/etc/X11/xinit/xinitrc.d/xmbind.sh
/usr/bin/mwm
/usr/bin/xmbind
/usr/include/X11/bitmaps/xm_error
/usr/include/X11/bitmaps/xm_hour16
/usr/include/X11/bitmaps/xm_hour16m
/usr/include/X11/bitmaps/xm_hour32
/usr/include/X11/bitmaps/xm_hour32m
/usr/include/X11/bitmaps/xm_information
/usr/include/X11/bitmaps/xm_noenter16
/usr/include/X11/bitmaps/xm_noenter16m
/usr/include/X11/bitmaps/xm_noenter32
/usr/include/X11/bitmaps/xm_noenter32m
/usr/include/X11/bitmaps/xm_question
/usr/include/X11/bitmaps/xm_warning
/usr/include/X11/bitmaps/xm_working
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/c97eac9e44107f051726c70809165da9983455
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/880ea64ef75c4ef59d28134c2ce4b024f6067c
/usr/lib/.build-id/77
/usr/lib/.build-id/77/f8210387e87b2954f3ee99d8093f5a9197a07a
/usr/lib/.build-id/99
/usr/lib/.build-id/99/c0f1db7ffa807897f1a8c3fbd1b88fc35398d8
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/e3fb27e33b1c2c051ecf27392fe207e1a87cdc
/usr/lib64/libMrm.so.4
/usr/lib64/libMrm.so.4.0.4
/usr/lib64/libUil.so.4
/usr/lib64/libUil.so.4.0.4
/usr/lib64/libXm.so.4
/usr/lib64/libXm.so.4.0.4
/usr/share/X11/bindings
/usr/share/X11/bindings/acorn
/usr/share/X11/bindings/apollo
/usr/share/X11/bindings/dec
/usr/share/X11/bindings/dg_AViiON
/usr/share/X11/bindings/doubleclick
/usr/share/X11/bindings/hal
/usr/share/X11/bindings/hitachi
/usr/share/X11/bindings/hp
/usr/share/X11/bindings/ibm
/usr/share/X11/bindings/intergraph
/usr/share/X11/bindings/intergraph17
/usr/share/X11/bindings/megatek
/usr/share/X11/bindings/motorola
/usr/share/X11/bindings/ncr_at
/usr/share/X11/bindings/ncr_vt
/usr/share/X11/bindings/pc
/usr/share/X11/bindings/sgi
/usr/share/X11/bindings/siemens_9733
/usr/share/X11/bindings/siemens_wx200
/usr/share/X11/bindings/sni
/usr/share/X11/bindings/sni_97801
/usr/share/X11/bindings/sony
/usr/share/X11/bindings/sun
/usr/share/X11/bindings/sun_at
/usr/share/X11/bindings/tek
/usr/share/X11/bindings/xmbind.alias
/usr/share/doc/motif
/usr/share/doc/motif/COPYING
/usr/share/doc/motif/README
/usr/share/doc/motif/RELEASE
/usr/share/doc/motif/RELNOTES
/usr/share/man/man1/mwm.1.gz
/usr/share/man/man1/xmbind.1.gz
/usr/share/man/man4/mwmrc.4.gz
/etc/X11/mwm
/etc/X11/mwm/system.mwmrc
/etc/X11/xinit/xinitrc.d/xmbind.sh
/usr/bin/mwm
/usr/bin/xmbind
/usr/include/X11/bitmaps/xm_error
/usr/include/X11/bitmaps/xm_hour16
/usr/include/X11/bitmaps/xm_hour16m
/usr/include/X11/bitmaps/xm_hour32
/usr/include/X11/bitmaps/xm_hour32m
/usr/include/X11/bitmaps/xm_information
/usr/include/X11/bitmaps/xm_noenter16
/usr/include/X11/bitmaps/xm_noenter16m
/usr/include/X11/bitmaps/xm_noenter32
/usr/include/X11/bitmaps/xm_noenter32m
/usr/include/X11/bitmaps/xm_question
/usr/include/X11/bitmaps/xm_warning
/usr/include/X11/bitmaps/xm_working
/usr/lib/.build-id
/usr/lib/.build-id/60
/usr/lib/.build-id/60/7f7db917c8d1321ee12f2d7e66645aff265616
/usr/lib/.build-id/82
/usr/lib/.build-id/82/e2e39bde0746d0d3f171f95004af0a39820351
/usr/lib/.build-id/91
/usr/lib/.build-id/91/f72c4f99e32162f1a79188e0f1e3313d79f7cc
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/1da7b22627d677e2e86abeb5599cc547a5830a
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/28e2f369edb9959f52fa32fd970320a1133e48
/usr/lib/libMrm.so.4
/usr/lib/libMrm.so.4.0.4
/usr/lib/libUil.so.4
/usr/lib/libUil.so.4.0.4
/usr/lib/libXm.so.4
/usr/lib/libXm.so.4.0.4
/usr/share/X11/bindings
/usr/share/X11/bindings/acorn
/usr/share/X11/bindings/apollo
/usr/share/X11/bindings/dec
/usr/share/X11/bindings/dg_AViiON
/usr/share/X11/bindings/doubleclick
/usr/share/X11/bindings/hal
/usr/share/X11/bindings/hitachi
/usr/share/X11/bindings/hp
/usr/share/X11/bindings/ibm
/usr/share/X11/bindings/intergraph
/usr/share/X11/bindings/intergraph17
/usr/share/X11/bindings/megatek
/usr/share/X11/bindings/motorola
/usr/share/X11/bindings/ncr_at
/usr/share/X11/bindings/ncr_vt
/usr/share/X11/bindings/pc
/usr/share/X11/bindings/sgi
/usr/share/X11/bindings/siemens_9733
/usr/share/X11/bindings/siemens_wx200
/usr/share/X11/bindings/sni
/usr/share/X11/bindings/sni_97801
/usr/share/X11/bindings/sony
/usr/share/X11/bindings/sun
/usr/share/X11/bindings/sun_at
/usr/share/X11/bindings/tek
/usr/share/X11/bindings/xmbind.alias
/usr/share/doc/motif
/usr/share/doc/motif/COPYING
/usr/share/doc/motif/README
/usr/share/doc/motif/RELEASE
/usr/share/doc/motif/RELNOTES
/usr/share/man/man1/mwm.1.gz
/usr/share/man/man1/xmbind.1.gz
/usr/share/man/man4/mwmrc.4.gz

References

Summary

In this tutorial we learn how to install motif on CentOS 8 using yum and dnf.