Can I install spell-checking and other language support packages on Fedora without searching them?
1
vote
1
answer
3561
views
I would like to learn the **canonical way for adding system-wide language support on Fedora** Workstation or confirm that there is none. I intend to preserve my interface language, but add all other associated language tools, such as spell-checking dictionaries, hyphenation assistance, etc. I know I can enable all of this by installing relevant individual packages manually, but I would like to rely on the distribution maintainers to decide what packages are necessary. Is such approach supported?
The Fedora documentation seems to cover only the system locale and keyboard configuration , but not the spell-checking.
During Fedora installation, I specified Ukrainian as my system language. However, only English spell-checking was installed by default.
hunspell-uk
wasn't installed. For instance, in the GNOME text editor (gedit
), there were only English spell-checking dictionaries. When I opened LibreOffice Writer for the first time, a system pop-up prompted for installation of additional packages, which completed automatically once confirmed. So, now, I have hunspell-uk
and other packages for spell-checking and hyphenation in Ukrainian in LibreOffice, GNOME text editor, and in Firefox (after restart).
$ LC_ALL=C dnf history info 21
Transaction ID : 21
Begin time : Sun Aug 29 19:17:00 2021
Begin rpmdb : 1760:50e6a4d235a9a38ca4c583e8a47bd6091ec988c0
End time : Sun Aug 29 19:17:01 2021 (1 seconds)
End rpmdb : 1769:e7ecb46ec061ec5ad63f3c0b121ecb0e013a7ab3
User : Roman Riabenko
Return-Code : Success
Releasever :
Command Line :
Comment :
Packages Altered:
Install glibc-langpack-uk-2.33-20.fc34.x86_64 @updates
Install libreoffice-help-uk-1:7.1.5.2-5.fc34.x86_64 @updates
Install libreoffice-langpack-uk-1:7.1.5.2-5.fc34.x86_64 @updates
Install hunspell-uk-1.8.0-7.fc34.noarch @fedora
Install hyphen-uk-0.20030903-22.fc34.noarch @fedora
Install langpacks-core-font-uk-3.0-14.fc34.noarch @fedora
Install langpacks-core-uk-3.0-14.fc34.noarch @fedora
Install langpacks-uk-3.0-14.fc34.noarch @fedora
Install mythes-uk-1.6.5-20.fc34.noarch @fedora
For context, I will explain how I was dealing with it under Debian. With Debian, assuming I chose Ukrainian as my system language during installation, I get both English and Ukrainian support installed automatically out-of-the-box. I know that, during installation, the configuration is handled by tasksel
. So, after installation, I can run tasksel install russian russian-desktop
. It effectively installs metapackages task-russian
and task-russian-desktop
that rely on the necessary packages without me needing to learn or remember what are those packages. It seems to introduce some packages that I don't really need, like some converters that I never use, but I consider it to be a trade-off of relying on someone else for making an educated decision to cover most use cases. Is there any similar global configuration for language support on Fedora?
In GNOME settings, I added Russian as another input language, so that I could enter text from keyboard, but this did not bring spell-cheking. I could also change the language for the GUI, but I do not want to do that and it does not promise to provide spell-checking.
I found that there are langpacks-*
in Fedora repositories, but, in case of langpacks-uk
and langpacks-ru
, the package brings only font packages and not spell-checking packages like hunspell-ru
, aspell-ru
, hyphen-ru
, etc. Is it a bug?
$ LC_ALL=C dnf info langpacks-ru
Last metadata expiration check: 3:25:16 ago on Sat Sep 25 14:07:02 2021.
Installed Packages
Name : langpacks-ru
Version : 3.0
Release : 14.fc34
Architecture : noarch
Size : 400
Source : langpacks-3.0-14.fc34.src.rpm
Repository : @System
From repo : fedora
Summary : Russian langpacks meta-package
License : GPLv2+
Description : This package provides Russian langpacks meta-package.
$ LC_ALL=C dnf repoquery --depends langpacks-ru
Last metadata expiration check: 2:36:48 ago on Sun Aug 29 19:05:55 2021.
langpacks-core-ru
pt-sans-fonts
$ LC_ALL=C dnf repoquery --depends langpacks-core-ru
Last metadata expiration check: 2:37:44 ago on Sun Aug 29 19:05:55 2021.
langpacks-core-font-ru
$ LC_ALL=C dnf repoquery --depends langpacks-core-font-ru
Last metadata expiration check: 2:36:48 ago on Sun Aug 29 19:05:55 2021.
dejavu-sans-fonts
I learned that I can list package groups available for installation with dnf grouplist
, but there appears to be no language-specific groups.
Asked by Roman Riabenko
(2436 rep)
Aug 29, 2021, 07:43 PM
Last activity: Sep 25, 2021, 04:23 PM
Last activity: Sep 25, 2021, 04:23 PM