How To Install phosh on Fedora 34

phosh is Graphical shell for mobile devices

Introduction

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

What is phosh

Phosh is a simple shell for Wayland compositors speaking the layer-surface protocol. It currently supports * a lockscreen * brightness control and nighlight * the gcr system-prompter interface * acting as a polkit auth agent * enough of org.gnome.Mutter.DisplayConfig to make gnome-settings-daemon happy * a homebutton that toggles a simple favorites menu * status icons for battery, wwan and wifi

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

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

sudo dnf -y install phosh

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

sudo yum -y install phosh

How To Uninstall phosh on Fedora 34

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

sudo dnf remove phosh

phosh Package Contents on Fedora 34

/etc/pam.d/phosh
/usr/bin/phosh
/usr/bin/phosh-osk-stub
/usr/lib/.build-id
/usr/lib/.build-id/32
/usr/lib/.build-id/32/46e3621653d1c1f9df35a78081326e29f2e010
/usr/lib/.build-id/36
/usr/lib/.build-id/36/e7f030bfce244b4c895d8281f07f046c8c2e47
/usr/lib/systemd/system/phosh.service
/usr/libexec/phosh
/usr/share/applications/sm.puri.OSK0.desktop
/usr/share/applications/sm.puri.Phosh.desktop
/usr/share/doc/phosh
/usr/share/doc/phosh/README.md
/usr/share/glib-2.0/schemas/00_sm.puri.Phosh.gschema.override
/usr/share/glib-2.0/schemas/sm.puri.phosh.enums.xml
/usr/share/glib-2.0/schemas/sm.puri.phosh.gschema.xml
/usr/share/gnome-session/sessions/phosh.session
/usr/share/licenses/phosh
/usr/share/licenses/phosh/COPYING
/usr/share/locale/am/LC_MESSAGES/phosh.mo
/usr/share/locale/ar/LC_MESSAGES/phosh.mo
/usr/share/locale/bg/LC_MESSAGES/phosh.mo
/usr/share/locale/ca/LC_MESSAGES/phosh.mo
/usr/share/locale/cs/LC_MESSAGES/phosh.mo
/usr/share/locale/da/LC_MESSAGES/phosh.mo
/usr/share/locale/de/LC_MESSAGES/phosh.mo
/usr/share/locale/el/LC_MESSAGES/phosh.mo
/usr/share/locale/en_GB/LC_MESSAGES/phosh.mo
/usr/share/locale/eo/LC_MESSAGES/phosh.mo
/usr/share/locale/es/LC_MESSAGES/phosh.mo
/usr/share/locale/es_ES/LC_MESSAGES/phosh.mo
/usr/share/locale/eu/LC_MESSAGES/phosh.mo
/usr/share/locale/fa/LC_MESSAGES/phosh.mo
/usr/share/locale/fi/LC_MESSAGES/phosh.mo
/usr/share/locale/fr/LC_MESSAGES/phosh.mo
/usr/share/locale/fur/LC_MESSAGES/phosh.mo
/usr/share/locale/he/LC_MESSAGES/phosh.mo
/usr/share/locale/hu/LC_MESSAGES/phosh.mo
/usr/share/locale/id/LC_MESSAGES/phosh.mo
/usr/share/locale/it/LC_MESSAGES/phosh.mo
/usr/share/locale/ja/LC_MESSAGES/phosh.mo
/usr/share/locale/ko/LC_MESSAGES/phosh.mo
/usr/share/locale/la/LC_MESSAGES/phosh.mo
/usr/share/locale/nb/LC_MESSAGES/phosh.mo
/usr/share/locale/nl/LC_MESSAGES/phosh.mo
/usr/share/locale/pl/LC_MESSAGES/phosh.mo
/usr/share/locale/pt/LC_MESSAGES/phosh.mo
/usr/share/locale/pt_BR/LC_MESSAGES/phosh.mo
/usr/share/locale/ro/LC_MESSAGES/phosh.mo
/usr/share/locale/ru/LC_MESSAGES/phosh.mo
/usr/share/locale/sk/LC_MESSAGES/phosh.mo
/usr/share/locale/sr/LC_MESSAGES/phosh.mo
/usr/share/locale/sv/LC_MESSAGES/phosh.mo
/usr/share/locale/tr/LC_MESSAGES/phosh.mo
/usr/share/locale/uk/LC_MESSAGES/phosh.mo
/usr/share/locale/zh_Hans_CN/LC_MESSAGES/phosh.mo
/usr/share/locale/zh_TW/LC_MESSAGES/phosh.mo
/usr/share/phosh
/usr/share/phosh/phoc.ini
/usr/share/wayland-sessions/phosh.desktop

References

Summary

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