Skip to content

Commit

Permalink
fedora; vim
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed May 1, 2024
1 parent 3e3d1c0 commit a365381
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
12 changes: 9 additions & 3 deletions fedora.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,24 @@ Python
Upgrade
=======

Upgrade Fedora 29 to Fedora 30 in command line::
Upgrade Fedora 39 to Fedora 40 in command line::

# sudo dnf upgrade --refresh
sudo dnf install dnf-plugin-system-upgrade
sudo dnf system-upgrade download --refresh --releasever=34 --allowerasing # --skip-broken
sudo dnf system-upgrade download --refresh --releasever=40 --allowerasing # --skip-broken
sudo dnf system-upgrade reboot
# at first boot on the new Fedora, fix SELinux labels:
sudo fixfiles -B onboot
# and reboot

Documentation: https://fedoraproject.org/wiki/DNF_system_upgrade

If the upgrade is interrupted for some reasons, attempt to repair it with::

sudo dnf remove --duplicates --releasever=38 --allowerasing
sudo dnf distrosync --releasever=38 --allowerasing
sudo dnf reinstall "kernel*"

https://fedoraproject.org/wiki/DNF_system_upgrade

.. _abrt:

Expand Down
8 changes: 8 additions & 0 deletions gnome.rst
Original file line number Diff line number Diff line change
Expand Up @@ -265,3 +265,11 @@ Commands::
bla

Fedora: ``dnf install wl-clipboard``.

vim
===

Put these lines in ``/etc/environment``::

# Run gvim with Wayland, rather than X11
GVIM_ENABLE_WAYLAND=1

0 comments on commit a365381

Please sign in to comment.