Difference between revisions of "Install Fcitx 5/zh-cn"

From Fcitx
Jump to navigation Jump to search
(Created page with "一个基本的fcitx5安装包括: * [https://pkgs.org/search/?q=fcitx5 fcitx5], 主程序 * [https://pkgs.org/search/?q=fcitx5-gtk fcitx5-gtk], [https://pkgs.org/search/?q=...")
Line 25: Line 25:
pkgs.org 也会提供针对不同发行版的特定安装命令。
pkgs.org 也会提供针对不同发行版的特定安装命令。
A basic installation of fcitx5 would includes:
* [https://pkgs.org/search/?q=fcitx5 fcitx5], the main program
* [https://pkgs.org/search/?q=fcitx5 fcitx5], 主程序
* [https://pkgs.org/search/?q=fcitx5-gtk fcitx5-gtk], [https://pkgs.org/search/?q=fcitx5-qt fcitx5-qt], the im module for the most popular UI toolkit.
* [https://pkgs.org/search/?q=fcitx5-gtk fcitx5-gtk], [https://pkgs.org/search/?q=fcitx5-qt fcitx5-qt], 最受欢迎的图形界面(GUI)输入法模块配置工具。
* [https://pkgs.org/search/?q=fcitx5-configtool fcitx5-configtool], the GUI configuration program.
* [https://pkgs.org/search/?q=fcitx5-configtool fcitx5-configtool], GUI配置程序。
* Input method engines for different languages:
* 对于不同语言,有许多的输入法引擎:
** See [[Special:myLanguage/Input method engines|Input method engines]]
** 参见 [[Special:myLanguage/Input method engines|输入法引擎]]
Some additional support addons and themes may includes:
Some additional support addons and themes may includes:

Revision as of 11:38, 12 November 2021

Other languages:
English • ‎中文(中国大陆)‎

Fcitx 软件包通常包括两部分部分:主程序,作为应用程序的输入法模块和插件(通常它们都是输入法引擎)。

从Linux发行版安装Fcitx 5

您需要从自己的软件包列表中搜索指定的Fcitx包。通常,Fcitx 5软件包的名称中包含“fcitx5”。

截至今天,除了一些滚动发行版,fcitx 5尚未在发行版存储库中普遍可用。

下面是一些在您使用的发行版中搜索 Fcitx 5 软件包的示例。 您还可以使用桌面提供的 GUI 软件中心,例如 gnome-software(GNOME)或Plasma-discover(KDE)发现。

yum search fcitx5 # CentOS
dnf search fcitx5 # Fedora
pacman -Ss fcitx5 # Archlinux
zypper search fcitx5 # OpenSUSE
apt-cache search fcitx5 # Debian/Ubuntu

或者 pkgs.org 提供一个在不同发行版中搜索软件包的简单方法。 请注意可能有一些版本为0.0~git这样的包,这种版本是一些相当老版本的,比最老的Fcitx5稳定发布版本还要老。通常不建议使用这种版本的Fcitx5.

pkgs.org 也会提供针对不同发行版的特定安装命令。


Some additional support addons and themes may includes:

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, or even ibus im module.

Install Fcitx 5 from Source code

Please also read Setup Fcitx 5 before you start to use Fcitx 5.