How To Install pseudo on Fedora 34

pseudo is Advanced tool for simulating superuser privileges

Introduction

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

What is pseudo

The pseudo utility offers a way to run commands in a virtualized “root” environment, allowing ordinary users to run commands which give the illusion of creating device nodes, changing file ownership, and otherwise doing things necessary for creating distribution packages or filesystems. Pseudo has a lot of similarities to fakeroot but is a new implementation that improves on the problems seen using fakeroot. Pseudo is now extensively used by Poky as a replacement to fakeroot but can also be used standalone in many other use cases.

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

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

sudo dnf -y install pseudo

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

sudo yum -y install pseudo

How To Uninstall pseudo on Fedora 34

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

sudo dnf remove pseudo

pseudo Package Contents on Fedora 34

/usr/bin/fakeroot
/usr/bin/fakeroot-pseudo
/usr/bin/pseudo
/usr/bin/pseudodb
/usr/bin/pseudolog
/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/8b499770151ebfb794992c13f557d86ab08746
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/2764319ab7f961253f7b25302eb838e568357d
/usr/lib/.build-id/99
/usr/lib/.build-id/99/8d401db99df4e88dd45befb605b5905a521d06
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/18695da8dcb32f40ad04b66871a15fd05c6265
/usr/lib64/pseudo
/usr/lib64/pseudo/libpseudo.so
/usr/share/doc/pseudo
/usr/share/doc/pseudo/ChangeLog.txt
/usr/share/doc/pseudo/Futures.txt
/usr/share/doc/pseudo/README
/usr/share/licenses/pseudo
/usr/share/licenses/pseudo/COPYING
/usr/share/man/man1/fakeroot-pseudo.1.gz
/usr/share/man/man1/fakeroot.1.gz
/usr/share/man/man1/pseudo.1.gz
/usr/share/man/man1/pseudolog.1.gz

References

Summary

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