Tutorials/Install KDE software: Difference between revisions

From KDE Wiki Sandbox
m (fix typo)
(https)
 
(30 intermediate revisions by 13 users not shown)
Line 8: Line 8:


<!--T:3-->
<!--T:3-->
{{Tip|1=When you see mono-spaced text on a yellow background <code>like this</code> that is something that you need to type in, exactly as it appears there.}}
{{Tip|1=When you see mono-spaced text on a gray background <code>like this</code> that is something that you need to type in, exactly as it appears there.}}


</translate><span id="Using Package Managers"></span><translate>
</translate><span id="Using Package Managers"></span><translate>


== Using Package Managers == <!--T:4-->
== From the GUI == <!--T:4-->
=== Discover ===


=== openSUSE === <!--T:5-->
<!--T:39-->
Discover is the KDE Software Center and works with every distribution that supports [https://en.wikipedia.org/wiki/AppStream AppStream] (e.g. Ubuntu, Debian, ArchLinux, openSUSE, Red Hat, Fedora). If you want more info about Discover, visit the [[Special:myLanguage/Discover|Discover]] page.


<!--T:6-->
You find openSUSE's package management tool in the <menuchoice>Computer</menuchoice> tab of the start menu. Open that and click on the <menuchoice>Software management</menuchoice> icon to start the package manager.


<!--T:7-->
<!--T:40-->
[[Image:Yast-package-management-1.png|center|500px|thumb|Searching for Kate; libkate1 is already installed, kate has been marked for installation.]]
[[File:Discover-package-management.png|center|500px|thumb|Searching for KDE in Discover.]]


<!--T:8-->
=== openSUSE - YaST === <!--T:5-->
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 to be installed and then click <menuchoice>Accept</menuchoice>. See [http://en.opensuse.org/Package_management this page] for more on package management and openSUSE.


<!--T:9-->
<!--T:41-->
Alternatively, you can use [[Special:myLanguage/KPackageKit|KPackageKit]] for installing software in openSUSE.
Along with Discover, openSUSE comes with its own software management tool, YaST Software Management.


=== Ubuntu/Kubuntu === <!--T:10-->
<!--T:6-->
Search for <code>YaST Software Management</code> in the application launcher. Open YaST and click on the <menuchoice>Software Management</menuchoice> icon to start the package manager.


<!--T:11-->
<!--T:7-->
In Kubuntu the default way to install software is using [[Special:myLanguage/KPackageKit|KPackageKit]] (as of Kubuntu 11.04, this may change in future releases). Most software installation is described in the [[Special:myLanguage/KPackageKit|KPackageKit]] article. Unless you have been instructed to add additional software sources, you should not need the information below.
[[File:Yast-package-management-1.png|center|500px|thumb|Searching for KDE in the YaST sofware management.]]


<!--T:12-->
<!--T:8-->
The only real difference is in choosing sources for your software. Kubuntu is set up already with most of what you should need, but if you are instructed to add another software source then you need to go to <menuchoice>Settings</menuchoice> tab to the left side of the '''KPackageKit''' window. If the software source is not already listed (see screenshot below) then you can click on <menuchoice>Edit origins</menuchoice> towards the bottom of the window.
Use the search field to find the package that you wish to install; you can search by the package name or the package description. 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 <menuchoice>Accept</menuchoice>. See [https://en.opensuse.org/Package_management this page] for more on package management and openSUSE.
 
<!--T:13-->
[[Image:Kubuntu1.png|center|500px|thumb|Browsing software sources in KPackageKit. If you want to add another one, click on "Edit origins" button.]]
 
<!--T:14-->
You will be prompted for your user account password and then see a window like this:
 
<!--T:15-->
[[Image:Kubuntu2.png|center|500px|thumb|Software sources settings &mdash; you normally do not need to change anything here, but rather should go to the second tab "Other software".]]
 
<!--T:16-->
You normally do not need to change these setttings. The software sources can be added by going to the <menuchoice>Other software</menuchoice> tab, where you can click on the add button and type (or copy and paste) the software source address in the dialog that opens:
 
<!--T:17-->
[[Image:Kubuntu3.png|center|500px|thumb|After clicking on the "Add" button, you can type in the location of the software source directly.]]
 
=== Fedora === <!--T:18-->
 
<!--T:19-->
<code>yumex</code> will start the graphical package manager. When you start it, the first thing it will do is check to see whether you need any updates.  Usually it is best to accept all the updates. If you click on Groups above the file list you will see it re-ordered, showing how a group of packages can be installed by a single click. Look for the cursor in the left panel, touching the arrow:
 
 
<!--T:20-->
[[Image:PackageManager.png|center|500px|thumb]]
 
<!--T:21-->
Clicking on the arrow-head rotates it,listing the package options for that group.  This is where you can install the base KDE if it wasn't installed originally.
 
=== Mageia and Mandriva  === <!--T:22-->
 
<!--T:23-->
KDE is the default desktop in Mageia and Mandriva. You can install KDE software using '''Mageia/Mandriva Control Center''' (<code>mcc</code>). Just use <menuchoice>Favorites -> Mageia/Mandriva Control Center</menuchoice> then go to <menuchoice>Software Management -> Install & Remove Software</menuchoice> page and choose <menuchoice>Graphical desktop -> KDE</menuchoice>. Standalone graphical installer can be launched from [[Special:myLanguage/Plasma/Krunner|KRunner]], just enter <code>drakrpm</code> into the input box.


<!--T:24-->
=== Windows Store === <!--T:42-->  
[[Image:mcc_drakrpm.png|center|500px|thumb|Installing [[Special:myLanguage/Kdenlive|Kdenlive]] from Mageia Control Center.]]


=== Other distros === <!--T:25-->
<!--T:43-->
Some KDE applications are also available in the Windows Store. Some apps like [https://www.microsoft.com/en-us/p/krita/9n6x57zgrw96 Krita] and [https://www.microsoft.com/en-us/p/kstars/9pprz2qhlxtg KStars] are available in the Windows Store.


<!--T:26-->
<!--T:48-->
Other distros will offer a package manager.  You will need to find it from your menu, but once found, one of these descriptions above should have something similar to yours.  If in doubt, ask on [[Special:myLanguage/IRC_Channels|IRC]] and someone will help you.  If you've never used IRC, here is a [[Special:myLanguage/How_to_chat_with_other_KDE_users|guide to starting to chat]] with other users.
[[File:WindowsStoreKrita.png|center|500px]]


== From the command line == <!--T:27-->
== From the command line == <!--T:27-->


<!--T:28-->
<!--T:28-->
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, <code>yum --help</code> will list the commands you can use for Fedora, but they are many and can be confusing at first.
If you find that using a graphical 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. To find out what commands you can use to search for packages on your system: Find your distribution's package manager below, [[Special:MyLanguage/Tutorials/Open_a_console|open a console]], and append <code>--help</code> to the name of your distribution's package manager. As an example, <code>dnf --help</code> will list the commands you can use for Fedora, but there are many and they can be confusing at first.


=== openSUSE === <!--T:29-->
=== openSUSE === <!--T:29-->
Line 86: Line 54:
With openSUSE you install software using '''zypper'''
With openSUSE you install software using '''zypper'''
for example to install [[Special:myLanguage/KWrite|KWrite]] you will [[Special:MyLanguage/Tutorials/Open_a_console|open a console]] and enter
for example to install [[Special:myLanguage/KWrite|KWrite]] you will [[Special:MyLanguage/Tutorials/Open_a_console|open a console]] and enter
<code>zypper in kwrite</code>. In older installations of openSUSE, '''yast''' was used like this: <code>yast -i kwrite</code>. You can still use '''yast''' if you prefer.
<code>zypper in kwrite</code>.


=== Ubuntu === <!--T:31-->
=== Ubuntu === <!--T:31-->


<!--T:32-->
<!--T:32-->
With Ubuntu Linux you install software using '''apt-get'''. For example to install [[Special:myLanguage/KWrite|KWrite]] you will [[Special:MyLanguage/Tutorials/Open_a_console|open a console]] and enter
With Ubuntu Linux you install software using '''apt'''. For example to install [[Special:myLanguage/KWrite|KWrite]] you will [[Special:MyLanguage/Tutorials/Open_a_console|open a console]] and enter
<code>sudo apt-get install kwrite</code>
<code>sudo apt install kwrite</code>.


=== Fedora === <!--T:33-->
=== Fedora === <!--T:33-->


<!--T:34-->
<!--T:34-->
Fedora uses '''yum''' so to install [[Special:myLanguage/KWrite|KWrite]] you would [[Special:MyLanguage/Tutorials/Open_a_console|open a console]] and type <code>yum install kwrite</code> 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 &mdash; for example <code>yum list *network*</code> will list all available packages with "network" as part of the name.  Casting even wider, <code>yum search mpeg</code> will list all packages that either have ''mpeg'' in the name or in the description of the package.
Fedora uses '''dnf''' so to install [[Special:myLanguage/KWrite|KWrite]] you would [[Special:MyLanguage/Tutorials/Open_a_console|open a console]] and type <code>dnf install kwrite</code>. If you are unsure of the name of a package, you can use ''dnf list'' with wildcards to see all the packages with a word as part of the package name &mdash; for example <code>dnf list *network*</code> will list all available packages with "network" as part of the name.  Casting even wider, <code>dnf search mpeg</code> will list all packages that either have ''mpeg'' in the name or in the description of the package.
 
=== Gentoo === <!--T:46-->


=== Mageia and Mandriva === <!--T:35-->
<!--T:47-->
With Gentoo you install software using '''emerge''', e.g. for [[Special:myLanguage/KWrite|KWrite]] you would [[Special:MyLanguage/Tutorials/Open_a_console|open a console]] and type <code>emerge --ask kwrite</code> (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 &mdash; e.g. <code>emerge --search network</code> will list all available packages with "network" as part of the name.
 
=== Mageia === <!--T:35-->


<!--T:36-->
<!--T:36-->
You can use '''urpmi''' to install KDE software from a command line. Other useful commands can be found at [http://en.wikipedia.org/wiki/Urpmi Wikipedia's Urpmi page]
You can use '''urpmi''' to install KDE software from a command line. Other useful commands can be found at [https://en.wikipedia.org/wiki/Urpmi Wikipedia's Urpmi page].
 
=== OpenMandriva Lx === <!--T:49-->
 
<!--T:50-->
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. <code>dnf --refresh install kwrite</code>. If you don't know the package name, you can use <code>dnf --refresh search '*kde*'</code> to search (this example lists all packages that have "kde" as part of their name or description).
You can also use [[Special:myLanguage/Discover|Discover]] or <code>dnfdragora</code> as graphical frontends to package installation.
 
=== Arch Linux and Manjaro === <!--T:44-->
 
<!--T:45-->
With Arch Linux and Arch-based distributions like Manjaro, you can install software using the '''pacman''' utility. For example, to install [[Special:myLanguage/KWrite|KWrite]] you will [[Special:MyLanguage/Tutorials/Open_a_console|open a console]] and enter the command
<code>sudo pacman -S kwrite</code>.


<!--T:37-->
<!--T:37-->
[[Category:Getting_Started]]
[[Category:Getting_Started]]
</translate>
</translate>

Latest revision as of 10:31, 30 October 2022

Install KDE software

To install KDE software we recommend using the means of your distribution. Here is how you find your distribution's name and version.

Tip
When you see mono-spaced text on a gray background like this that is something that you need to type in, exactly as it appears there.

From the GUI

Discover

Discover is the KDE Software Center and works with every distribution that supports AppStream (e.g. Ubuntu, Debian, ArchLinux, openSUSE, Red Hat, Fedora). If you want more info about Discover, visit the Discover page.


Searching for KDE in Discover.

openSUSE - YaST

Along with Discover, openSUSE comes with its own software management tool, YaST Software Management.

Search for YaST Software Management in the application launcher. Open YaST and click on the Software Management icon to start the package manager.

Searching for KDE in the YaST sofware management.

Use the search field to find the package that you wish to install; you can search by the package name or the package description. 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 Accept. See this page for more on package management and openSUSE.

Windows Store

Some KDE applications are also available in the Windows Store. Some apps like Krita and KStars are available in the Windows Store.

From the command line

If you find that using a graphical 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. To find out what commands you can use to search for packages on your system: Find your distribution's package manager below, open a console, and append --help to the name of your distribution's package manager. As an example, dnf --help will list the commands you can use for Fedora, but there are many and they 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 dnf so to install KWrite you would open a console and type dnf install kwrite. If you are unsure of the name of a package, you can use dnf list with wildcards to see all the packages with a word as part of the package name — for example dnf list *network* will list all available packages with "network" as part of the name. Casting even wider, dnf 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-based distributions like Manjaro, you can install software using the pacman utility. For example, to install KWrite you will open a console and enter the command sudo pacman -S kwrite.