How To Install pmars on Fedora 34

pmars is Portable corewar system with ICWS'94 extensions

Introduction

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

What is pmars

pMARS is a Memory Array Redcode Simulator (MARS) for corewar. * portable, run it on your Mac at home or VAX at work * free and comes with source * core displays for DOS, Mac and UNIX * implements a new redcode dialect, ICWS'94, while remaining compatible with ICWS'88 * powerful redcode extensions * one of the fastest simulators written in a high level language * full-featured, programmable debugger * runs the automated tournament “KotH” at http http

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

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

sudo dnf -y install pmars

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

sudo yum -y install pmars

How To Uninstall pmars on Fedora 34

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

sudo dnf remove pmars

pmars Package Contents on Fedora 34

/usr/bin/pmars
/usr/lib/.build-id
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/5fbdbc9882c2632fee04281609a41986b29b43
/usr/share/doc/pmars
/usr/share/doc/pmars/AUTHORS
/usr/share/doc/pmars/CONTRIB
/usr/share/doc/pmars/COPYING
/usr/share/doc/pmars/ChangeLog
/usr/share/doc/pmars/README
/usr/share/doc/pmars/config
/usr/share/doc/pmars/config/94x.opt
/usr/share/doc/pmars/config/icws.opt
/usr/share/doc/pmars/config/mw.mac
/usr/share/doc/pmars/config/pmars.mac
/usr/share/doc/pmars/config/x.opt
/usr/share/doc/pmars/doc
/usr/share/doc/pmars/doc/Makefile
/usr/share/doc/pmars/doc/corewar-faq.html
/usr/share/doc/pmars/doc/makedoc.ex
/usr/share/doc/pmars/doc/primer.94
/usr/share/doc/pmars/doc/primer.cdb
/usr/share/doc/pmars/doc/redcode.ref
/usr/share/doc/pmars/doc/whatsnew.080
/usr/share/doc/pmars/warriors
/usr/share/doc/pmars/warriors/aeka.red
/usr/share/doc/pmars/warriors/flashpaper.red
/usr/share/doc/pmars/warriors/pspace.red
/usr/share/doc/pmars/warriors/rave.red
/usr/share/doc/pmars/warriors/validate.red
/usr/share/man/man6/pmars.6.gz

References

Summary

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