Skip to content

Instantly share code, notes, and snippets.

@mikaeldui
Created April 22, 2025 12:58
Show Gist options
  • Save mikaeldui/1da78b765e07ebd918d2674a089d12ba to your computer and use it in GitHub Desktop.
Save mikaeldui/1da78b765e07ebd918d2674a089d12ba to your computer and use it in GitHub Desktop.
Convert Fedora Workstation to Fedora Server

Convert Fedora Workstation to Fedora Server

So, you installed Fedora Workstation on your server and ended up not using the desktop environment after all and want to convert to Fedora Server without doing a re-installation? It's very easy to do:

  1. Boot to console: systemctl set-default multi-user.target
  2. Change identity: dnf swap fedora-release-identity-workstation.noarch fedora-release-identity-server.noarch

It might take an update of the kernel before the server calls itself "Fedora Server".

While it is possible to completely remove a desktop environment, things could break:

  • sudo dnf remove "@Basic Desktop"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment