Kubuntu/Advanced/Repositories: Difference between revisions

From KDE UserBase Wiki
No edit summary
No edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Managing Repositories =
<languages />
<translate>


=== Add a Repository ===
</translate><span id="Managing Repositories"></span><translate>


You can use the Muon Software Center to add new repositories.
== Managing Repositories == <!--T:1-->


'''How-to:''' Start Muon Software Center. Select Settings, Configure Software Sources in the window. Enter your administrative password at the prompt. Left-click the 'Other Software' tab. Left-click the 'Add...' button. Enter the repository address into the text box. The proper format is required, and looks similar to this: <code>deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu raring main</code> 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.
=== Add a Repository === <!--T:2-->


=== Enable a Repository ===
<!--T:3-->
You can use the Muon Discover to add new repositories.


You can use the Muon Software Center to enable repositories.
<!--T:4-->
'''How-to:''' Start Muon Discover. Select Sources, Configure Software Sources in the window. Enter your administrative password at the prompt. Left-click the 'Other Software' tab. Left-click the 'Add...' button. Enter the repository address into the text box. The proper format is required, and looks similar to this: <code>deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu raring main</code> 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.


'''How-to:''' Start Muon Software Center. Select Settings, Configure Software Sources in the window. Enter your administrative password at the prompt. Left-click the 'Other Software' tab. Check the appropriate box in the center section of the window to enable a 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.
=== Enable a Repository === <!--T:5-->


=== Disable a Repository ===
<!--T:6-->
You can use the Muon Discover to enable repositories.


You can use the Muon Software Center to disable repositories.
<!--T:7-->
'''How-to:''' Start Muon Discover. Select Sources, Configure Software Sources in the window. Enter your administrative password at the prompt. Left-click the 'Other Software' tab. Check the appropriate box in the center section of the window to enable a 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.


'''How-to:''' Start Muon Software Center. Select Settings, Configure Software Sources in the window. Enter your administrative password at the prompt. Left-click the 'Other Software' tab. Uncheck the appropriate box in the center section of the window to disable a repository. Left-click the 'Close' button. A prompt will appear to update the package list. Muon will now forget the no longer available software.
=== Disable a Repository === <!--T:8-->


=== Remove a Repository ===
<!--T:9-->
You can use the Muon Discover to disable repositories.


You can use the Muon Software Center to remove repositories.
<!--T:10-->
'''How-to:''' Start Muon Discover. Select Sources, Configure Software Sources in the window. Enter your administrative password at the prompt. Left-click the 'Other Software' tab. Uncheck the appropriate box in the center section of the window to disable a repository. Left-click the 'Close' button. A prompt will appear to update the package list. Muon will now forget the no longer available software.


'''How-to:''' Start Muon Software Center. 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 an existing repository 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.
=== Remove a Repository === <!--T:11-->


== Managing Personal Package Archives ==
<!--T:12-->
You can use the Muon Discover to remove repositories.


Personal Package Archives allow any person in the Ubuntu community who has committed to observe the [[https://launchpad.net/codeofconduct|Ubuntu Code of Conduct]] to upload Ubuntu source packages to be built and published as an apt repository by Launchpad. Software from Launchpad's [[https://launchpad.net/ubuntu/+ppas|Personal Package Archive]] (PPA) requires a [[http://www.gnupg.org/|GnuPG]] (GPG) key so your system can verify that it's getting the packages from the correct source and that the packages have not been interfered with since they were built. GnuPG is GNU's tool for secure communication and data storage.
<!--T:13-->
'''How-to:''' Start Muon Discover. Select Sources, Configure Software Sources in the window. Enter your administrative password at the prompt. Left-click the 'Other Software' tab. Left-click the name of an existing repository 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.


</translate><span id="Managing Personal Package Archives"></span><translate>
== Managing Personal Package Archives == <!--T:14-->
<!--T:15-->
Personal Package Archives allow any person in the Ubuntu community who has committed to observe the [https://launchpad.net/codeofconduct Ubuntu Code of Conduct] to upload Ubuntu source packages to be built and published as an apt repository by Launchpad. Software from Launchpad's [https://launchpad.net/ubuntu/+ppas Personal Package Archive] (PPA) requires a [http://www.gnupg.org/ GnuPG] (GPG) key so your system can verify that it's getting the packages from the correct source and that the packages have not been interfered with since they were built. GnuPG is GNU's tool for secure communication and data storage.
<!--T:16-->
'''Important:''' The contents of Personal Package Archives are not checked or monitored. You install software from them at your own risk.
'''Important:''' The contents of Personal Package Archives are not checked or monitored. You install software from them at your own risk.


=== Add a PPA ===
=== Add a PPA === <!--T:17-->


You can use the Muon Software Center to add a PPA:
<!--T:18-->
You can use the Muon Discover to add a PPA:


<!--T:19-->
'''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.


Open Muon Software Center. 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.
<!--T:20-->
Open Muon Discover. Select Sources, 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.


<!--T:21-->
You can use the command line to add a PPA on 9.10 Karmic Koala or newer Kubuntu systems:
You can use the command line to add a PPA on 9.10 Karmic Koala or newer Kubuntu systems:


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


[[attachment:PPALocation.png|{{attachment:PPALocation.png|PPA location}}]]
<!--T:23-->
 
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:
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:<<BR>>{{{
<code>sudo add-apt-repository Location</code> Update the package index by entering this command in the terminal window:
sudo add-apt-repository Location
<code>sudo apt-get update</code> You can now install software from the PPA.
}}}Update the package index by entering this command in the terminal window:<<BR>>{{{
sudo apt-get update
}}}You can now install software from the PPA.


=== Remove a PPA ===
=== Remove a PPA === <!--T:24-->


You can use the Muon Software Center to remove a PPA:
<!--T:25-->
You can use the Muon Discover to remove a PPA:


'''How-to:''' Start Muon Software Center. 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.
<!--T:26-->
'''How-to:''' Start Muon Discover. Select Sources, 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.


<!--T:27-->
'''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.''
'''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.''


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


<!--T:29-->
If instead you merely wish to remove the PPA using the commandline, then type <code>sudo add-apt-repository --remove ppa:someppa/ppa</code>
If instead you merely wish to remove the PPA using the commandline, then type <code>sudo add-apt-repository --remove ppa:someppa/ppa</code>
<!--T:30-->
[[Special:myLanguage/Kubuntu/Advanced|Return to Kubuntu Advanced]]
<!--T:31-->
[[Category:Kubuntu]]
</translate>

Latest revision as of 13:53, 28 May 2014

Managing Repositories

Add a Repository

You can use the Muon Discover to add new repositories.

How-to: Start Muon Discover. Select Sources, Configure Software Sources in the window. Enter your administrative password at the prompt. Left-click the 'Other Software' tab. Left-click the 'Add...' button. Enter the repository address into the text box. The proper format is required, and looks similar to this: deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu raring main 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.

Enable a Repository

You can use the Muon Discover to enable repositories.

How-to: Start Muon Discover. Select Sources, Configure Software Sources in the window. Enter your administrative password at the prompt. Left-click the 'Other Software' tab. Check the appropriate box in the center section of the window to enable a 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.

Disable a Repository

You can use the Muon Discover to disable repositories.

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

Remove a Repository

You can use the Muon Discover to remove repositories.

How-to: Start Muon Discover. Select Sources, Configure Software Sources in the window. Enter your administrative password at the prompt. Left-click the 'Other Software' tab. Left-click the name of an existing repository 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.

Managing Personal Package Archives

Personal Package Archives allow any person in the Ubuntu community who has committed to observe the Ubuntu Code of Conduct to upload Ubuntu source packages to be built and published as an apt repository by Launchpad. Software from Launchpad's Personal Package Archive (PPA) requires a GnuPG (GPG) key so your system can verify that it's getting the packages from the correct source and that the packages have not been interfered with since they were built. GnuPG is GNU's tool for secure communication and data storage.

Important: The contents of Personal Package Archives are not checked or monitored. You install software from them at your own risk.

Add a PPA

You can use the Muon Discover to add a 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 Sources, 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 Sources, 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

Return to Kubuntu Advanced