How to enable the backports repository so I can get newer versions of software?
Ubuntu Backports are enabled by default in Ubuntu.
If for some motive you still don't get the backports use any of these 2 ways:
Any of the 2 Ways will get you to the Software Sources Manager or Software & Updates. In here Activate all 4 options in the Ubuntu Software Tab and in the Updates Tab. This should enable the Extras for your Ubuntu Version.
After this just click on the CLOSE Button and it should let you know that it needs to update because of the changes you made. Note that in the Updates tab, the Backport option is the 4th one in there. It's the one that says Unsupported updates.
To activate the backports (Which is automatically enabled since 11.10) from the terminal (In cases where you are working on a server and want the backports enabled) do the following after opening the terminal (This example is using Ubuntu 13.04):
And look for a commented line that mentions the keyword backport, should look something like
uncomment this lines so they look like this:
save the file and run the following to receive the backport updates:
NOTE - If the lines are not found, simply add them and change the name of the version to the one you are using as explained above.
Backports are enabled by default, here's how you can check to make sure they are turned on.
Ensuring Backports are enabled
To enable the backports manually make sure the following line is in your
Now the next steps will depend on whether you want apt to always use packages from the backports or whether you want to only use the backports only when manually specified.
Always use the backports..
Ubuntu 11.04 and newer are automatically configured to only use the backports when manually specified. If you want to always use the backports when installing you'll need to add the following lines to
Make sure you substitute
Using the backports manually..
If you only want to install packages from the backports when manually specified you'll need to add this to
note: You will need root privileges to modify
Installing from the backports..
If the backports are configured to be used manually you will need to add
For example, if you're using 12.10 Quantal and have configured the backports for manual install you would install amarok with this command:
Source: Ubuntu Backports - Ubuntu Wiki