Kubuntu/Advanced/Repositories/ca: Difference between revisions

    From KDE UserBase Wiki
    (Importing a new version from external source)
    (Importing a new version from external source)
    Line 35: Line 35:
    === Afegir un PPA ===
    === Afegir un PPA ===


    You can use the Muon Discover to add a PPA:
    Podeu utilitzar el Descobridor Muon per afegir un PPA:


    '''How-to:''' Open the Launchpad PPA overview page in your browser. Look for the location of the PPA in the 'Adding this PPA to your system' section.
    '''How-to:''' Open the Launchpad PPA overview page in your browser. Look for the location of the PPA in the 'Adding this PPA to your system' section.

    Revision as of 17:32, 10 February 2014

    Gestionar els repositoris

    Afegir un repositori

    Podeu utilitzar el Descobridor Muon per afegir repositoris nous.

    Com fer-ho: Inicieu el Descobridor Muon. Seleccioneu «Fonts -> Configura les fonts de programari» a la finestra. Introduïu la contrasenya d'administrador en l'indicador. Feu clic esquerre a la pestanya «Altre programari». Feu clic esquerre al botó «Afegeix...». Introduïu l'adreça del repositori al quadre de text. És necessari emprar el format correcte, i té un aspecte similar a aquest: deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu raring main Feu clic al botó «Bé» per afegir el repositori. Feu clic al botó «Tanca». Apareixerà un missatge emergent mentre s'actualitza la llista de paquets. Ara el Muon us permetrà trobar el nou programari disponible.

    Habilitar un repositori

    Podeu utilitzar el Descobridor Muon per habilitar repositoris.

    Com fer-ho: Inicieu el Descobridor Muon. Seleccioneu «Fonts -> Configura les fonts de programari» a la finestra. Introduïu la contrasenya d'administrador en l'indicador. Feu clic a la pestanya «Altre programari». Marqueu la casella corresponent a la secció central de la finestra per habilitar un repositori. Feu clic al botó «Tanca». Apareixerà un missatge emergent mentre s'actualitza la llista de paquets. Ara el Muon us permetrà trobar el nou programari disponible.

    Deshabilitar un repositori

    Podeu utilitzar el Descobridor Muon per a deshabilitar repositoris.

    Com fer-ho: Inicieu el Descobridor Muon. Seleccioneu «Fonts -> Configura les fonts de programari» a la finestra. Introduïu la contrasenya d'administrador en l'indicador. Feu clic a la pestanya «Altre programari». Desmarqueu la casella corresponent a la secció central de la finestra per a deshabilitar un repositori. Feu clic al botó «Tanca». Apareixerà un missatge emergent mentre s'actualitza la llista de paquets. Ara el Muon oblidarà el programari que ja no està disponible.

    Eliminar un repositori

    Podeu utilitzar el Descobridor Muon per eliminar repositoris.

    Com fer-ho: Inicieu el Descobridor Muon. Seleccioneu «Fonts -> Configura les fonts de programari» a la finestra. Introduïu la contrasenya d'administrador en l'indicador. Feu clic a la pestanya «Altre programari». Feu clic sobre el nom d'un repositori existent a la secció central de la finestra per a seleccionar-lo. Feu clic al botó «Elimina». Feu clic al botó «Tanca». Apareixerà un missatge emergent mentre s'actualitza la llista de paquets. Ara el Muon oblidarà el programari que ja no està disponible.

    Gestionar els arxius de paquets personals (PPA)

    Els arxius de paquets personals permeten que qualsevol persona a la comunitat d'Ubuntu, que s'ha compromès a observar el [de conducta d'Ubuntu], pugui pujar paquets font d'Ubuntu per a ser construïts i publicats com un repositori apt a través de Launchpad. El programari des de l'[de paquets personals] (PPA) requereix una clau GnuPG (GPG) perquè el vostre sistema pugui verificar que s'estan obtenint els paquets de la font correcta i que els paquets no han estat interferits durant la seva construcció. GnuPG és una eina de GNU per a la comunicació segura i l'emmagatzematge de les dades.

    Important: El contingut dels arxius de paquets personals no es comproven o supervisen. Instal·leu el programari d'ells sota el vostre propi risc.

    Afegir un PPA

    Podeu utilitzar el Descobridor Muon per afegir un PPA:

    How-to: Open the Launchpad PPA overview page in your browser. Look for the location of the PPA in the 'Adding this PPA to your system' section.

    Open Muon Discover. Select Settings, Configure Software Sources in the window. Enter your administrative password at the prompt. Left-click on the 'Other Software' tab. Left-click the 'Add...' button. Paste the location you got from the PPA's overview page into the text box. Left-click the 'OK' button to add the repository. Left-click the 'Close' button. A prompt will appear to update the package list. Muon will now be allowed to find the newly available software.

    You can use the command line to add a PPA on 9.10 Karmic Koala or newer Kubuntu systems:

    How-to: Visit the Launchpad PPA overview page. Look for the location of the PPA in the 'Adding this PPA to your system' section.

    Open a terminal window. Add the PPA to your system by entering this command in the terminal window, replacing Location with the location you got from the PPA's overview page: sudo add-apt-repository Location Update the package index by entering this command in the terminal window: sudo apt-get update You can now install software from the PPA.

    Remove a PPA

    You can use the Muon Discover to remove a PPA:

    How-to: Start Muon Discover. Select Settings, Configure Software Sources in the window. Enter your administrative password at the prompt. Left-click the 'Other Software' tab. Left-click the name of a the PPA in the center section of the window to select it. Left-click the 'Remove' button. Left-click the 'Close' button. A prompt will appear to update the package list. Muon will now forget the no-longer-available software.

    Note: If you need to remove not only the PPA repository, but also remove the packages installed from that PPA, and revert to the packages from the official Ubuntu repositories, there is a command line package which will do that: ppa-purge.

    How-to: In a konsole, type sudo apt-get install ppa-purge. Then, sudo ppa-purge ppa:<repository-name>/<subdirectory> putting in the correct PPA name(s).

    If instead you merely wish to remove the PPA using the commandline, then type sudo add-apt-repository --remove ppa:someppa/ppa