Difference between revisions of "Install Fcitx 5"
Weng Xuetian (talk | contribs) |
Weng Xuetian (talk | contribs) (Marked this version for translation) |
||
Line 4: | Line 4: | ||
<translate> | <translate> | ||
+ | <!--T:1--> | ||
Fcitx package usually come with following parts: the main program, input method modules for applications and the addons (most of them are engines). | Fcitx package usually come with following parts: the main program, input method modules for applications and the addons (most of them are engines). | ||
− | == Install Fcitx 5 from Linux distribution == | + | == Install Fcitx 5 from Linux distribution == <!--T:2--> |
+ | <!--T:3--> | ||
You would need to search the package from your own packages. Usually, the Fcitx 5 package has "fcitx5" in its name. | You would need to search the package from your own packages. Usually, the Fcitx 5 package has "fcitx5" in its name. | ||
+ | <!--T:4--> | ||
As of today, fcitx 5 is not yet generally available in distribution repository, except for some of the rolling release distributions. | As of today, fcitx 5 is not yet generally available in distribution repository, except for some of the rolling release distributions. | ||
+ | <!--T:5--> | ||
Following are some examples of search Fcitx 5 packages in your own distributions. You may also use the GUI software center provided by your desktop, for example gnome-software, or plasma-discover. | Following are some examples of search Fcitx 5 packages in your own distributions. You may also use the GUI software center provided by your desktop, for example gnome-software, or plasma-discover. | ||
+ | <!--T:6--> | ||
<pre> | <pre> | ||
yum search fcitx5 # | yum search fcitx5 # | ||
Line 22: | Line 27: | ||
</pre> | </pre> | ||
+ | <!--T:7--> | ||
Or [https://pkgs.org/search/?q=fcitx5 pkgs.org] provides an easy way to search packages for different distributions. Please notice that if the version is something like 0.0~git, this version is a extremely old version of Fcitx 5, which is older than the oldest stable release of Fcitx 5. Generally it is not recommended to use it. | Or [https://pkgs.org/search/?q=fcitx5 pkgs.org] provides an easy way to search packages for different distributions. Please notice that if the version is something like 0.0~git, this version is a extremely old version of Fcitx 5, which is older than the oldest stable release of Fcitx 5. Generally it is not recommended to use it. | ||
+ | <!--T:8--> | ||
pkgs.org also provides distribution specific the command for installing it. | pkgs.org also provides distribution specific the command for installing it. | ||
+ | <!--T:9--> | ||
A basic installation of fcitx5 would includes: | A basic installation of fcitx5 would includes: | ||
* [https://pkgs.org/search/?q=fcitx5 fcitx5], the main program | * [https://pkgs.org/search/?q=fcitx5 fcitx5], the main program | ||
Line 33: | Line 41: | ||
** See [[Special:myLanguage/Input method engines|Input method engines]] | ** See [[Special:myLanguage/Input method engines|Input method engines]] | ||
+ | <!--T:10--> | ||
Some additional support addons and themes may includes: | Some additional support addons and themes may includes: | ||
* [https://pkgs.org/search/?q=fcitx5-lua fcitx5-lua], which provides lua scripting support | * [https://pkgs.org/search/?q=fcitx5-lua fcitx5-lua], which provides lua scripting support | ||
* [https://pkgs.org/search/?q=fcitx5-material-color fcitx5-material-color], a set of colorful theme for Fcitx 5 | * [https://pkgs.org/search/?q=fcitx5-material-color fcitx5-material-color], a set of colorful theme for Fcitx 5 | ||
− | == Install Fcitx 5 from Flatpak == | + | == Install Fcitx 5 from Flatpak == <!--T:11--> |
[https://flatpak.org/ Flatpak] is a utility for software deployment and package management for Linux. There are two flatpak repository that provides fcitx 5, [https://flathub.org flathub] and fcitx's own unstable repo. | [https://flatpak.org/ Flatpak] is a utility for software deployment and package management for Linux. There are two flatpak repository that provides fcitx 5, [https://flathub.org flathub] and fcitx's own unstable repo. | ||
+ | <!--T:12--> | ||
As of today, we are still working on pushing Fcitx 5 packages to flathub. flathub right now only have fcitx5 main program, Chinese addons, Zhuyin, and Mozc. | As of today, we are still working on pushing Fcitx 5 packages to flathub. flathub right now only have fcitx5 main program, Chinese addons, Zhuyin, and Mozc. | ||
+ | <!--T:13--> | ||
To Setup the flatpak repo, you will need to execute following command, or do it in GUI. | To Setup the flatpak repo, you will need to execute following command, or do it in GUI. | ||
<pre> | <pre> | ||
Line 50: | Line 61: | ||
</pre> | </pre> | ||
+ | <!--T:14--> | ||
To install fcitx from flatpak | To install fcitx from flatpak | ||
<pre> | <pre> | ||
Line 59: | Line 71: | ||
</pre> | </pre> | ||
+ | <!--T:15--> | ||
Flatpak can not provide the im module you need on your host, so you would still need to install them natively. If your distribution does not have fcitx 5 package, you may use fcitx 4 im module instead (newer than 4.2.9.7), or even ibus im module. | Flatpak can not provide the im module you need on your host, so you would still need to install them natively. If your distribution does not have fcitx 5 package, you may use fcitx 4 im module instead (newer than 4.2.9.7), or even ibus im module. | ||
− | == Install Fcitx 5 from Source code == | + | == Install Fcitx 5 from Source code == <!--T:16--> |
* [[Special:myLanguage/Compiling fcitx5|Compiling fcitx5]] | * [[Special:myLanguage/Compiling fcitx5|Compiling fcitx5]] | ||
+ | <!--T:17--> | ||
Please also read [[Special:MyLanguage/Setup Fcitx 5|Setup Fcitx 5]] before you start to use Fcitx 5. | Please also read [[Special:MyLanguage/Setup Fcitx 5|Setup Fcitx 5]] before you start to use Fcitx 5. | ||
</translate> | </translate> |
Latest revision as of 04:12, 28 October 2021
Fcitx package usually come with following parts: the main program, input method modules for applications and the addons (most of them are engines).
Install Fcitx 5 from Linux distribution
You would need to search the package from your own packages. Usually, the Fcitx 5 package has "fcitx5" in its name.
As of today, fcitx 5 is not yet generally available in distribution repository, except for some of the rolling release distributions.
Following are some examples of search Fcitx 5 packages in your own distributions. You may also use the GUI software center provided by your desktop, for example gnome-software, or plasma-discover.
yum search fcitx5 # dnf search fcitx5 # Fedora pacman -Ss fcitx5 # Archlinux zypper search fcitx5 # OpenSUSE apt-cache search fcitx5 # Debian/Ubuntu
Or pkgs.org provides an easy way to search packages for different distributions. Please notice that if the version is something like 0.0~git, this version is a extremely old version of Fcitx 5, which is older than the oldest stable release of Fcitx 5. Generally it is not recommended to use it.
pkgs.org also provides distribution specific the command for installing it.
A basic installation of fcitx5 would includes:
- fcitx5, the main program
- fcitx5-gtk, fcitx5-qt, the im module for the most popular UI toolkit.
- fcitx5-configtool, the GUI configuration program.
- Input method engines for different languages:
Some additional support addons and themes may includes:
- fcitx5-lua, which provides lua scripting support
- fcitx5-material-color, a set of colorful theme for Fcitx 5
Install Fcitx 5 from Flatpak
Flatpak is a utility for software deployment and package management for Linux. There are two flatpak repository that provides fcitx 5, flathub and fcitx's own unstable repo.
As of today, we are still working on pushing Fcitx 5 packages to flathub. flathub right now only have fcitx5 main program, Chinese addons, Zhuyin, and Mozc.
To Setup the flatpak repo, you will need to execute following command, or do it in GUI.
# Add flatub repo, fcitx5-unstable also relies on some runtime packages in it. flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo # Optionally: Add fcitx 5 unstable repo if you want to use the unstable version. flatpak remote-add --user --if-not-exists fcitx5-unstable https://flatpak.fcitx-im.org/unstable-repo/fcitx5-unstable.flatpakrepo
To install fcitx from flatpak
# With older flatpk, you will need to specify the repository name too: flatpak install flathub org.fcitx.Fcitx5 flatpak install org.fcitx.Fcitx5 # Install fcitx 5 engines, for example, fcitx5-chinese-addons, or mozc flatpak install org.fcitx.Fcitx5.Addon.ChineseAddons flatpak install org.fcitx.Fcitx5.Addon.Mozc
Flatpak can not provide the im module you need on your host, so you would still need to install them natively. If your distribution does not have fcitx 5 package, you may use fcitx 4 im module instead (newer than 4.2.9.7), or even ibus im module.
Install Fcitx 5 from Source code
Please also read Setup Fcitx 5 before you start to use Fcitx 5.