1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4
<!ENTITY % globalent SYSTEM "../../../libs/global.ent">
6
<!ENTITY % kde-menus-C SYSTEM "../../../libs/kde-menus-C.ent">
8
<!ENTITY language "en">
10
<article id="manage-software">
13
>Software Management In &kubuntu;</title>
17
>This document describes managing and updating software in &kubuntu;. </para>
22
<sect1 id="intro" status="complete">
27
>There are several ways to manage applications in &kubuntu;. A convenient way to add or remove applications is with a <emphasis
28
>package manager</emphasis
29
>. The following package managers are described in this document: </para>
32
>Grafiska klienter</title>
40
>An advanced program with a graphical user interface <acronym
42
> for installing and removing applications. <application
44
> can be started by going to &menumuon;. </para>
50
>Kommandoradsverktyg</title>
58
>(Advanced Package Tool) är ett komplett system för pakethantering. </para>
65
>Aptitude</application
69
>Ett textbaserat, högnivå gränssnitt till <application
76
>It is possible to increase the number of programs that can be installed with package managers. The default installation does not include all the programs that can be used with &kubuntu;. System functionality can be enhanced by including more applications and newer software. This document describes how to add software repositories. </para>
78
>The software that comprises &kubuntu; is being improved continuously. With an Internet connection and &kubuntu; software updating, the latest improvements and security fixes can be applied to a system easily. This document explains how to perform update. </para>
81
<sect1 id="Muon" xreflabel="muon" status="complete">
87
>Software Center</application
88
> (Muon) is a graphical tool for installing new software on a &kubuntu; system. Software Center also provides tools for managing software and software repositories. Installing and removing software is password-protected to help prevent errors and potentially dangerous actions that would affect system operation. </para>
91
>Installera nya program med följande steg: </para>
95
>Start Muon with &menusysmuon;. </para>
100
>Sök efter programmet med sökrutan och filter överst i fönstret. </para>
105
>The application will show up in the large white space below the search area. Click on the application title to be installed. Click <guilabel
107
> to start the installation process. </para>
112
>Muon might provide information about required dependencies. Acknowledge this information, and the required packages will begin downloading. When the installation process is complete, the software will be ready to use. It is rarely necessary to restart the system after software installation or update. </para>
116
>Muon provides an easy method to remove the software that is no longer needed. To remove an application: </para>
120
>Start Muon with &menusysmuon;. </para>
126
>Installed Software</guimenu
127
> and find the application you want removed. </para>
134
> and Muon will remove the application. </para>
140
<sect1 id="apt" status="complete">
149
> (Advanced Packaging Tool) är ett kraftfullt pakethanteringssystem, som är basen för det grafiska programmet <application
150
>programvaruhantering</application
153
> hanterar automatiskt beroenden och utför andra paketåtgärder som krävs för en paketinstallation. </para>
156
>För att köra <application
158
> krävs administrativa rättigheter. Att ange kommandon med "sudo" skapar en lösenordsprompt. Flera av kommandona nedan kommer inte att fungera utan sudo. </para>
161
>Vanliga kommandon som används med <application
167
>Install packages: <screen
168
>sudo apt-get install <emphasis
169
>packagename</emphasis
175
>Remove packages: <screen
176
>sudo apt-get remove <emphasis
177
>packagename</emphasis
183
>Remove package dependencies that are no longer needed: <screen
184
>sudo apt-get autoremove</screen>
189
>Search for packages: <screen
190
>apt-cache search <emphasis
197
>Retrieve the current lists of available packages: <screen
198
>sudo apt-get update</screen>
203
>Install the latest available updates for the applications currently installed: <screen
204
>sudo apt-get upgrade</screen>
209
>List further commands and options: <screen
210
>apt-get help</screen>
216
>For further information about the use of <application
218
>, read the comprehensive <ulink url="&debian-apt;"
219
>Debian APT User Manual</ulink
226
<sect1 id="aptitude" status="complete">
232
>Aptitude</application
233
> är en kommandoradsframände till <application
236
>Aptitude</application
237
> möjliggör interaktivt paketval för borttagning, uppdatering, eller installering. <application
238
>Aptitude</application
239
> är ett avancerat pakethanteringssystem, med mer kontroll och funktionalitet än <application
241
> som kommandoradsverktyg. </para>
244
<!-- MANUAL INSTALLATION -->
245
<sect1 id="manual-install" status="complete">
247
>Manuell installation</title>
250
>Although the preferred method of installing programs is with the package manager, individual software package files can be downloaded and installed. Several kinds of package files are available for Linux systems. Generally, these file types are associated with the package managers of specific Linux distributions. </para>
253
>To install a particular application, it is preferable to select a &kubuntu; package of the application, and install it with a package manager. This ensures that the program is compatible with other software on the system. If there is no version of the package available through a package manager, it may be possible to install it manually. The installation procedure depends on the type of package file. </para>
255
<sect2 id="debfile-install" status="complete">
257
>Installera/avinstallera .deb-filer</title>
260
>The package files associated with &kubuntu; have the <emphasis
262
> suffix because of &kubuntu;'s close relationship with the Debian GNU/Linux distribution. Individual <emphasis
264
> files can be downloaded and installed. Administrative privileges are required to do this. </para>
266
>För att installera en .deb-fil, <mousebutton
268
> på .deb-filen för att inleda installationen. En prompt kommer visas för inmatning av administratörslösenordet. </para>
271
<sect2 id="alien" status="complete">
273
>Konvertera .rpm-filer till .deb-filer</title>
276
>Red Hat Package Manager files have the <emphasis
278
> suffix. It is not recommended that these be installed on a &kubuntu; system. In almost all cases, a native &kubuntu; <emphasis
280
> version of the package is available. However, if necessary, an <emphasis
282
> file can be converted to a <emphasis
284
> package using a program called <application
289
>Installera Alien</title>
293
>Software Center</application
294
> by going to &menusysmuon;. </para>
302
>-rutan överst i fönstret. </para>
306
>Hitta paketet med namnet <application
308
> och välj det. Tryck på <guibutton
310
>sknappen. Pilen kommer ändra färg. </para>
316
>Verkställ</guiubutton
317
>, och knappen <guibutton
318
>Installera nu</guibutton
319
> på nästa skärm. Det kan visas en lista över ytterligare paket som måste installeras som beroenden. Klicka i så fall på <guibutton
326
>Om du blir tillfrågad, skriv in ditt administratörslösenord och tryck på <guibutton
333
>När installationen har slutförts, stäng <application
334
>Programhanteraren</application
340
>Att använda alien</title>
344
>Konsole</application
345
> by going to &menukonsole;. </para>
349
>Vid kommandoraden, skriv <userinput
350
>sudo alien paketfil.rpm</userinput
357
>For more information on <application
360
>man alien</userinput
361
> at the command prompt. When complete, press <keycap
368
<sect2 id="tarball-install" status="complete">
370
>Installera från källkod</title>
373
>Files with the <emphasis
377
> suffix are package files known as <emphasis
381
> packages which are widely used in Linux. If there is no native &kubuntu; package available in any of the repositories, it may be possible to compile and install the package from source. For tips on compiling software, look at the <ulink url="https://wiki.ubuntu.com/CompilingSoftware"
382
>Compiling Software</ulink
383
> page on the Ubuntu Wiki. </para>
387
<!-- EXTRA REPOSITORIES -->
388
<sect1 id="repos" status="complete">
390
>Hantera programförråd</title>
392
<sect2 id="repos-info" status="complete">
394
>Vad är ett programförråd?</title>
397
>Thousands of programs are freely available to install on &kubuntu;. These programs are stored in software archives (<emphasis
398
>repositories</emphasis
399
>) and are made available for installation over the Internet. This makes it easy to install new programs in &kubuntu;. It is also secure, because each program is built specifically for &kubuntu; and is checked thoroughly before it is installed. &kubuntu; repositories are categorized into four groups: </para>
420
>Två faktorer avgör kategoriseringen: </para>
424
>Omfattningen av stödet som programmerarna ger för ett program </para>
428
>The level of compliance the program has to the <ulink url="&ubuntu-philosophy;"
429
>Free Software Philosophy</ulink
434
>Mer information om arkiven är tillgänglig på <ulink url="http://www.ubuntu.com/ubuntu/components"
435
>Ubuntus webbsida</ulink
438
>The standard &kubuntu; LiveCD contains some software from the <emphasis
441
>Restricted</emphasis
442
> categories. Once a system has information about the Internet-based locations for these repositories, more programs are available for installation. Using the software package management tools installed by default, it is possible to discover, install and update any piece of software directly over the Internet, without the need for the LiveCD. </para>
445
<sect2 id="repos-addremove" status="complete">
447
>Lägg till eller ta bort förråd</title>
450
>Att aktivera extra förråd:</para>
455
>Software Center</application
456
> by choosing &menusysmuon;.</para>
464
>Configure Software Sources</guimenuitem
466
> in the <application
467
>Software Center</application
468
> package manager window. </para>
472
>Administratörslösenordet krävs för att fortsätta. </para>
477
>Klicka sedan på <guilabel
478
>Annan mjukvara</guilabel
479
>-fliken. Befintliga arkiv kan aktiveras eller avaktiveras genom att kryssa för de relevanta kryssrutorna i den övre delen. För att lägga till ett nytt arkiv, klicka på knappen <guilabel
486
>Enter the repository address. The proper format is required, and looks similar to this: <screen
487
>deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu
488
oneiric main</screen>
494
>After adding the repository, a prompt will appear to update the package list. This will allow Muon to find the newly available software. </para>
499
>För att ta bort ett arkiv, markera det i <guilabel
500
>Programkällor</guilabel
501
>, och tryck på <guibutton
503
>-knappen. När processen slutförts, tryck på <guibutton
512
<sect1 id="updating" status="complete">
517
>&kubuntu; developers release feature and security updates for applications and packages within the &kubuntu; system. </para>
520
>When updates become available, &kubuntu; will display a message in the System Tray. To update the system, click the <guibutton
521
>Review and Update</guibutton
522
> button, which will open Muon. Click <guibutton
523
>Select All Updates</guibutton
524
> and then <guibutton
526
>. &kubuntu; will download and install the updates. </para>
530
>Software Center</application
531
> has finished updating, close the window by clicking the <guibutton
536
>After installing some updates, it may be necessary to restart the computer. If so, &kubuntu; will display a pop-up and an icon in the System Tray. </para>
543
sgml-minimize-attributes:nil
544
sgml-general-insert-case:lower
549
vim: tabstop=2:shiftwidth=2:expandtab:indentexpr=:tw=80:
550
kate: space-indent on; indent-width 2; tab-width 2; indent-mode none;