How to add Ubuntu repositories on Kubuntu?

I have noticed that Kubuntu (I am using 12.04 version) doesn't use exactly the same repositories that Ubuntu. Or at least, that is what I think. For example, if I search for Steam on Muon Software Center or Muon Package Manager, I just can't find it; even if I use sudo apt-get install steam-launcher. But on Ubuntu I have no problem. Why?

That's why I think Ubuntu has some repositories that Kubuntu doesn't. In this case (I don't know if I'm right), how can I add this Ubuntu repositories?

Steam is only an example. There are many packages that I can't find on Kubuntu. Another example: Motorbike (a game) (). sudo apt-get install motorbike doesn't work.

Regards.

2 Answers

Kubuntu Wikipedia page: Every package in Kubuntu shares the same repositories as Ubuntu. However Steam and Motorbike aren't in the default ubuntu/kubuntu repositories. So you will have to enable the universe and multiverse repositories.

Managing Repositories in Kubuntu

pic1

Kubuntu uses KPackageKit for software management. To open it, click on your Kmenu, then open System Settings.

pic2

Next, select "Add and Remove Software"

pic3

Click the "Settings" button, then select "Edit Software Sources".

pic4

You will be prompted for your password in order to proceed

pic5

Next, go the the "Updates" tab. From here, you can enable/disable some of the official Ubuntu repositories and change your update settings. You should enable the universe and the multiverse repos.

Or, you could just type a line or two of commands and get the job done as follows:

sudo add-apt-repository "deb $(lsb_release -sc) main universe multiverse"

then

sudo apt-get update

then

sudo apt-get upgrade

Kubuntu repository installation instruction page

3

I had the same issue with kubuntu 12.04.3 LTS. I tried the terminal commands above but when I checked /etc/apt/sources.list the entries for universe and multiverse were incorrect.

The answer is to manually edit the file:

sudo nano /etc/apt/sources.list

Then add the following two lines:

deb precise universe multiverse
deb-src precise universe multiverse

Then save and exit. Finally:

sudo apt-get update

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like