How To Install mopac7 on Fedora 34

mopac7 is Semi-empirical quantum mechanics suite

Introduction

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

What is mopac7

MOPAC7 is a semi-empirical quantum-mechanics code written by James J. P. Stewart and co-workers. The purpose of this project is to maintain MOPAC7 as a stand-alone program as well as a library that provides the functionality of MOPAC7 to other programs.

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

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

sudo dnf -y install mopac7

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

sudo yum -y install mopac7

How To Uninstall mopac7 on Fedora 34

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

sudo dnf remove mopac7

mopac7 Package Contents on Fedora 34

/usr/bin/mopac7
/usr/bin/run_mopac7
/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/53b28b954e66703015692d2f5531fe411310f1
/usr/share/doc/mopac7
/usr/share/doc/mopac7/tests
/usr/share/doc/mopac7/tests/1scf.dat
/usr/share/doc/mopac7/tests/elements.dat
/usr/share/doc/mopac7/tests/force.dat
/usr/share/doc/mopac7/tests/geometry.dat
/usr/share/doc/mopac7/tests/keys.dat
/usr/share/doc/mopac7/tests/nch34+.dat
/usr/share/doc/mopac7/tests/oldgeo.dat
/usr/share/doc/mopac7/tests/paras.dat
/usr/share/doc/mopac7/tests/test_cos.dat
/usr/share/doc/mopac7/tests/test_ef_.dat
/usr/share/doc/mopac7/tests/test_gre.dat
/usr/share/doc/mopac7/tests/test_pol.dat

References

Summary

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