How to use rpm-ostree: Difference between revisions

From Pengwings
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
==== List the current deployments and their status ====
==== List the current deployments and their status ====
  rpm-ostree status
  rpm-ostree status

Revision as of 23:02, 10 February 2026

List the current deployments and their status

rpm-ostree status

Pin and unpin deployments

Pin current booted deployment:

sudo ostree admin pin booted

Pin a specific entry based on index position:

sudo ostree admin pin 3

Unpin a specific entry based on index position:

sudo ostree admin pin --unpin 4

Search for a package

rpm-ostree search <package-name>

==== Show detailed info about a package

dnf info <package-name>

Enable third party dnf repositories

sudo rpm-ostree install fedora-workstation-repositories
systemctl reboot
sudo dnf config-manager setopt updates-archive.enabled=0
sudo dnf config-manager setopt google-chrome.enabled=1
sudo dnf config-manager setopt rpmfusion-free.enabled=1
sudo dnf config-manager setopt rpmfusion-free-updates.enabled=1

Temporarily create /usr overlay (lost on next boot)

sudo rpm-ostree usroverlay