From Fedora Project Wiki
(init commit) |
(basic commands added) |
||
Line 8: | Line 8: | ||
* Following steps are to test langpacks by using dnf commands | * Following steps are to test langpacks by using dnf commands | ||
:1) To list the already installed language support, run the following command | |||
::<pre>dnf list installed "langpacks*"</pre> | |||
:2) To check if any language support is available for your language, run the following command | |||
::<pre>dnf list available "langpacks*"</pre> | |||
:3) To list what packages will get installed for any language, run the following command | |||
::<pre>dnf repoquery --whatsupplements langpacks-<locale_code></pre> | |||
:4) To add new language support, run the following command | |||
::<pre>dnf install langpacks-<locale_code></pre> | |||
:5) To remove installed language support, run the following command | |||
::<pre>dnf remove langpacks-<locale_code></pre> | |||
|results= | |results= |
Revision as of 09:15, 1 February 2016
Description
This test case tests whether langpacks can be installed and whether it can show available language translations for your current locale.
Setup
- Check if your system has langpacks-<current_locale_code> package installed by executing:
rpm -qa langpacks*
- If the package is not installed install it using dnf:
dnf install langpacks-<required_langpacks_locale_code>
How to test
- Following steps are to test langpacks by using dnf commands
- 1) To list the already installed language support, run the following command
dnf list installed "langpacks*"
- 2) To check if any language support is available for your language, run the following command
dnf list available "langpacks*"
- 3) To list what packages will get installed for any language, run the following command
dnf repoquery --whatsupplements langpacks-<locale_code>
- 4) To add new language support, run the following command
dnf install langpacks-<locale_code>
- 5) To remove installed language support, run the following command
dnf remove langpacks-<locale_code>
Expected Results
For testing langpacks with rpm weak dependencies by adding/removing language support