Tutorials/Install KDE software/zh-cn: Difference between revisions
Imgradeone (talk | contribs) (Created page with "{{Tip|1=如果你看到灰色背景下的等宽字体,<code>就像这样</code>,那么这些内容是你需要输入的内容,请确保和所展示的完全一致。}}") |
Imgradeone (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
我们建议使用发行版内置的方式安装 KDE 软件。[http://www.linuxintro.org/wiki/Find_out_your_distribution 您可以在这里了解如何查询自己发行版的名称和版本]。 | 我们建议使用发行版内置的方式安装 KDE 软件。[http://www.linuxintro.org/wiki/Find_out_your_distribution 您可以在这里了解如何查询自己发行版的名称和版本]。 | ||
{{Tip|1=如果你看到灰色背景下的等宽字体,<code>就像这样</code> | {{Tip|1=如果你看到灰色背景下的等宽字体,<code>就像这样</code>,那么这些内容是你需要输入的内容,请确保你所输入的内容和所展示的完全一致。}} | ||
<span id="Using Package Managers"></span> | <span id="Using Package Managers"></span> | ||
== From the GUI == | == From the GUI == |
Revision as of 07:17, 3 April 2020
安装 KDE 软件
我们建议使用发行版内置的方式安装 KDE 软件。您可以在这里了解如何查询自己发行版的名称和版本。
From the GUI
Discover
Discover is the KDE Software Center and work with all the distribution supporting appstream (Ubuntu, Debian, Arch-Linux, OpenSUSE, Red Hat, Fedora, ...). If you want more info about discover, visit the discover page.
openSUSE - YaST
In openSUSE, you have the choice between using discover and YaST software management tool.
You find openSUSE's package management tool in the
tab of the start menu. Open that and click on the icon to start the package manager.Use the search field to find the package that you wish to install; you can search on the package name or the package description, and you only need to enter part of the name. You will then be presented with a list of packages matching your search. Click the selection boxes for the packages to be installed and then click this page for more on package management and openSUSE.
. SeeWindows Store
Some KDE applications are also available in the Windows Store. For example, you can buy Krita a digital painting software or KStars.
From the command line
If you find that using a package manager is unbearably slow, you will want to use command-line installation. This is much faster, but the disadvantage is that you need to know the exact name of the package you want to install. Each system has helpful commands for searching, for instance, so try using the first word of install command below, with --help appended. As an example, yum --help
will list the commands you can use for Fedora, but they are many and can be confusing at first.
openSUSE
With openSUSE you install software using zypper
for example to install KWrite you will open a console and enter
zypper in kwrite
.
Ubuntu
With Ubuntu Linux you install software using apt. For example to install KWrite you will open a console and enter
sudo apt install kwrite
Fedora
Fedora uses yum so to install KWrite you would open a console and type yum install kwrite
If you are unsure of the name of a package, you can use yum list with wildcards to see all the packages with a word as part of the package name — for example yum list *network*
will list all available packages with "network" as part of the name. Casting even wider, yum search mpeg
will list all packages that either have mpeg in the name or in the description of the package.
Gentoo
With Gentoo you install software using emerge, e.g. for KWrite you would open a console and type emerge --ask kwrite
(using --ask to get an overview of necessary dependencies and USE flag options before confirming). If you are unsure of the name of a package, you can use emerge --search to see all the packages with a word as part of the package name — e.g. emerge --search network
will list all available packages with "network" as part of the name.
Mageia
You can use urpmi to install KDE software from a command line. Other useful commands can be found at Wikipedia's Urpmi page
OpenMandriva Lx
Most KDE software is installed already - you can use dnf to install additional packages. If you know what a package is called, you can use e.g. dnf --refresh install kwrite
. If you don't know the package name, you can use dnf --refresh search '*kde*'
to search (this example lists all packages that have "kde" as part of their name or description).
You can also use discover
or dnfdragora
as graphical frontends to package installation.
Arch linux and Manjaro
With Arch linux and arch linux based distribution like Manjaro, you can install software using the pacman utility. For example to install KWrite you will open a console and enter
sudo pacman -S kwrite