How to install XBMC - how to add/enable "Software Sources"

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

How to install XBMC - how to add/enable "Software Sources"

Postby tud_x on Sat Jul 11, 2009 11:39 pm

Hi, brand new Linux user, just installed Mint 7 on an old computer and I want to install XBMC (xbmc.org) to use the computer as a music and photo server in my house. Unfortunately to install it I have to add the repository and I can not enable "Software Sources".

I would greatly appreciate any help in installing XBMC. I have been searching the forums for a few hours now without much luck.

The install instructions at:
http://xbmc.org/wiki/?title=HOW-TO_inst ... ep-by-step
give 4 steps:
1 Adding the XBMC Repo
2 Adding PPA Keys
3 Installing XBMC
4 Autostart XBMC (optional)

where in step 1:
* From the Desktop, click System -> Administration -> Software Sources.
* Click the "Third Party Sofware" tab.
* Click "Add". For the Apt line type the following, substituting "jaunty" for your version:
http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ jaunty main
* Click "Close". If you see a GPG Error upon closing the window, not to worry. That will be handled in the next step.

Now, I using the package manager I was able to find and install the software-properties-gtk package. Then "Software Sources" appears in the Administration programs list, but when I launch it nothing happens. This is how far I got.

Please let me know what I am missing.
Thanks a lot for the help,
Tud
tud_x
Level 1
Level 1
 
Posts: 3
Joined: Sat Jul 11, 2009 11:27 pm

Linux Mint is funded by ads and donations.
 

Re: How to install XBMC - how to add/enable "Software Sources"

Postby DrHu on Sat Jul 11, 2009 11:58 pm

What is XBMC?
XBMC (formerly "Xbox Media Center") is a free, open source (GPL) multimedia player that runs on the first-generation Microsoft Xbox™, (not the newer Xbox 360), as well as on computers running Linux, Mac OS X, and Windows.

Unless you are going to run the software on an actual xbox, I can't see the point, since there are plenty of media players within Mint that can be used to playback video files..
vlc
mplayer
xine

etc etc..

This seems more like the way to get a package from the xb team..
I would actually try their live version first..
https://launchpad.net/+help/soyuz/ppa-sources-list.html
--another page about ppa, installing..
https://launchpad.net/~team-xbmc/+archive/ppa
http://xbmc.org/forum/showthread.php?t=33327
Last edited by DrHu on Sun Jul 12, 2009 12:18 am, edited 3 times in total.
User avatar
DrHu
Level 16
Level 16
 
Posts: 6827
Joined: Wed Jun 17, 2009 8:20 pm

Re: How to install XBMC - how to add/enable "Software Sources"

Postby tud_x on Sun Jul 12, 2009 12:15 am

I am sorry but I am afraid I'm too much of a beginner and have no idea what to do with those packages.

I was hoping I would get some advice on how to get "Software Sources" to start and then follow the XBMC instructions. I think this path would allow me to manage easiest.

I assume I can somehow manually install the packages you pointed me to, but I don't even know where to begin and which of those I need to download. Sorry for being so clueless, I'm just getting started with linux, after years of being quite adept at manipulating windows. I need to learn a new way of doing things and it takes time.

XMBC seems to be one of the best Media Center software, allowing me to essentially (and easilly) use the PC as a Home Theatre PC, streaming music, video, photos to my receiver, TV, etc, and allowing very easy control (e.g. using a remote control, or through a web inetrface from other computers in the house.

Thanks,
Tud
tud_x
Level 1
Level 1
 
Posts: 3
Joined: Sat Jul 11, 2009 11:27 pm

Re: How to install XBMC - how to add/enable "Software Sources"

Postby DrHu on Sun Jul 12, 2009 12:23 am

tud_x wrote:XMBC seems to be one of the best Media Center software, allowing me to essentially (and easilly) use the PC as a Home Theatre PC, streaming music, video, photos to my receiver, TV, etc, and allowing very easy control (e.g. using a remote control, or through a web interface from other computers in the house.

I don't know if its going to do all that, as their are other considerations with remote controls, streaming media and devices to use TV and so on..
--anyway you can certainly try it..

First I think it might be risky, installing to Mint (even if mostly Ubuntu jaunty 9.4 )
https://launchpad.net/+help/soyuz/ppa-sources-list.html
Adding the PPA to Ubuntu
Step 1: Copy the first line from the apt sources.list entries section of the PPA overview page. For example:
deb http://ppa.launchpad.net/awn-testing/ubuntu jaunty main


I would still say, it would be safer to use their *.iso CD to test out first
In Mint gedit /etc/apt/sources.list
--add the line they have on this linked pages, and proceed with
  • apt-get update
  • apt-search xb
    --see if that package name now apppears as an installable package..
  • apt-get install xb
    --the packager name discovered in the apt search command
  • Try out the software..

Or you can use synaptic and add their ppa repository and try the install from there
--It will be easier from the command line (Terminal), as it is still a cut & paste operation from their instruction pag, and you need to get their verification key (gpg key..)

TEST, check..
https://launchpad.net/~team-xbmc/+archive/jaunty-ppa
--use the two lines they have on this page
deb http://ppa.launchpad.net/team-xbmc/jaunty-ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/team-xbmc/jaunty-ppa/ubuntu jaunty main

  • added to /etc/apt/sources.list
    In terminal, error; remember to add their gpg key and try again..
    W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9F10E6AE9317790E
  • sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9317790E
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 9317790E
    gpg: requesting key 9317790E from hkp server keyserver.ubuntu.com
    gpg: key 9317790E: public key "Launchpad PPA named jaunty-ppa for XBMC for Linux" imported
    gpg: no ultimately trusted keys found
    gpg: Total number processed: 1
    gpg: imported: 1 (RSA: 1)
    steps 4,5,6 on the link
  • apt-get update
    --again now that I have the gpg key from ppa..
[*]apt-cache search xbm
...
xbmc-standalone - The XBMC Standalone package
xbmc-skin-pm3-hd - XBMC PM3 HD skin package
xbmc-skin-pm3 - XBMC Project Mahem III skin package
xbmc-scripts-example - XBMC default scripts package
xbmc-live - The XBMC live package.
xbmc - The Full XBMC meta package
..various entries
you might find better descriptions in synaptic mint menu>Package manager; once you have edited the /etc/apt/sources.list file, added the two linesx needed, wget the ppa gpg key

THAT'S AS FAR..as I want to go with the testing..
In terminal you can use sudo gedit /etc/apt/sources.list to edit that file, and when you save it will save the changes you add (the two lines fromm the ppa site; probably best to put comments in front of the lines, like PPA archibves XBFM tests, or somesuch .. (## represents a comment, you se many examples within that file)
Last edited by DrHu on Sun Jul 12, 2009 12:55 am, edited 8 times in total.
User avatar
DrHu
Level 16
Level 16
 
Posts: 6827
Joined: Wed Jun 17, 2009 8:20 pm

Re: How to install XBMC - how to add/enable "Software Sources"

Postby tud_x on Sun Jul 12, 2009 12:46 am

Thank you very much for the details. I am slowly making my way through the instructions.

(I tried their Live CD yesterday and it seems to do a lot of what I want, but I wanted to have the option of playing with a full Linux distro, which is why I decided to install it on top of Mint).

BTW: when I try to save sources.list I get an error that I do not have the permission. Do I have to switch to an admin mode? And how?
(fyi: when I open other system settings, I am asked to enter my password).

- I got to the point where I see the xbmc packages in Synaptic. Now I have to figure out which ones to install.
- System froze 1/2 way through install... is there a way to terminate the process (all frozen, mouse, etc) or just a hard reset and then try to reinstall?

Thanks a lot for walking me through this.
tud_x
Level 1
Level 1
 
Posts: 3
Joined: Sat Jul 11, 2009 11:27 pm

Re: How to install XBMC - how to add/enable "Software Sources"

Postby DrHu on Sun Jul 12, 2009 2:22 am

tud_x wrote:- I got to the point where I see the xbmc packages in Synaptic. Now I have to figure out which ones to install.
- System froze 1/2 way through install... is there a way to terminate the process (all frozen, mouse, etc) or just a hard reset and then try to reinstall?

http://matthewstechnologyblog.blogspot. ... ux-pc.html
1. Kill a single graphical application
If you know the problem is a single application that you have open that maybe just froze then it is simple to fix. Press Alt+F2 and type 'xkill' (without the quotes) then press enter.This runs the xkill program, and the next application that you click on will be forced to close. If you change your mind, press the right mouse button to exit from this mode.

It may be worth setting a keypress that will automatically start xkill when you need it. In Ubuntu/GNOME, go to System->Preferences->Keyboard Shortcuts
I would have done it through the Terminal, you would have more control in the system, and could probably switch to window or application on the desktop
--I stopped after getting the list via apt-search xb*, so I can't tell you whether the items I highlighted like xb* -meta is the complete xb* package (with screen savers, skins, clients (ethernet, wireless ) etc .etc.. or not
User avatar
DrHu
Level 16
Level 16
 
Posts: 6827
Joined: Wed Jun 17, 2009 8:20 pm

Re: How to install XBMC - how to add/enable "Software Sources"

Postby kwisher on Sun Jul 12, 2009 12:08 pm

tud_x wrote:Thank you very much for the details. I am slowly making my way through the instructions.

(I tried their Live CD yesterday and it seems to do a lot of what I want, but I wanted to have the option of playing with a full Linux distro, which is why I decided to install it on top of Mint).

BTW: when I try to save sources.list I get an error that I do not have the permission. Do I have to switch to an admin mode? And how?
(fyi: when I open other system settings, I am asked to enter my password).

- I got to the point where I see the xbmc packages in Synaptic. Now I have to figure out which ones to install.
- System froze 1/2 way through install... is there a way to terminate the process (all frozen, mouse, etc) or just a hard reset and then try to reinstall?

Thanks a lot for walking me through this.


Open a terminal and type:
Code: Select all
sudo gedit /etc/apt/sources.list

This is assuming you are using gnome. If not substitute gedit with your text editor. Now you can add the XBMC repo info. I usually place added repo's under the "OTHER REPOSITORIES" section.

XBMC will run just fine under Mint and is a great application for a home theater system.

Enjoy!
The instructions suggested Windows XP or better, so I installed Linux :)
User avatar
kwisher
Level 5
Level 5
 
Posts: 635
Joined: Wed Mar 05, 2008 12:54 pm
Location: Greentown, Indiana USA

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: abd_bela and 32 guests