How To Install pypy on Fedora 34

pypy is Python implementation with a Just-In-Time compiler Python implementation with a Just-In-Time compiler

Introduction

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

What is pypy

PyPy’s implementation of Python, featuring a Just-In-Time compiler on some CPU architectures, and various optimized implementations of the standard types (strings, dictionaries, etc) This build of PyPy has JIT-compilation enabled. pypy 7.3.1 4.fc34 x86_64 12 k pypy-7.3.1-4.fc34.src.rpm updates Python implementation with a Just-In-Time compiler http MIT and Python and UCD and BSD and (ASL 2.0 or BSD) PyPy’s implementation of Python, featuring a Just-In-Time compiler on some CPU architectures, and various optimized implementations of the standard types (strings, dictionaries, etc) This build of PyPy has JIT-compilation enabled.

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

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

sudo dnf -y install pypy

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

sudo yum -y install pypy

How To Uninstall pypy on Fedora 34

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

sudo dnf remove pypy

pypy Package Contents on Fedora 34

/usr/bin/pypy
/usr/bin/pypy2
/usr/bin/pypy2.7
/usr/lib/.build-id
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/98316fd67e6253ea7098ef5ec61d78853fc155
/usr/lib64/pypy-7.3/bin/pypy
/usr/share/doc/pypy
/usr/share/doc/pypy/README.rst
/usr/bin/pypy
/usr/bin/pypy2
/usr/bin/pypy2.7
/usr/lib/.build-id
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/1d18e47ca227139a702a950408fc36e5e16d96
/usr/lib/pypy-7.3/bin/pypy
/usr/share/doc/pypy
/usr/share/doc/pypy/README.rst
/usr/bin/pypy
/usr/bin/pypy2
/usr/bin/pypy2.7
/usr/lib/.build-id
/usr/lib/.build-id/de
/usr/lib/.build-id/de/9abe5d27e789dc5e73b52e7b3e27ac5e987c78
/usr/lib64/pypy-7.3/bin/pypy
/usr/share/doc/pypy
/usr/share/doc/pypy/README.rst
/usr/bin/pypy
/usr/bin/pypy2
/usr/bin/pypy2.7
/usr/lib/.build-id
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/42e797a8f139af1c35321d7037d94ffc2f827f
/usr/lib/pypy-7.3/bin/pypy
/usr/share/doc/pypy
/usr/share/doc/pypy/README.rst

References

Summary

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