Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

SSH install from zip?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
SSH install from zip?
14th Jul, 2013, 08:11 PM
Post: #1
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
SSH install from zip?
Hi,

I was just wondering if it was possible to do an XBMC 'install from zip' via SSH?

I have to update a plugin on a headless pi.

Cheers,

Skywatch
Find all posts by this user
Quote this message in a reply
14th Jul, 2013, 09:27 PM
Post: #2
Fred Offline
Registered
Posts: 321
Joined: Apr 2013
Reputation: 36
RE: SSH install from zip?
If the file is online somewhere you can download it to your pi using wget and the file location.

Code:
wget http://x.x.x/somefile.zip

To transfer from pc to rpi you could use scp (winscp for windows)

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
16th Jul, 2013, 03:56 AM
Post: #3
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: SSH install from zip?
Thanks Fred for the reply.

I was wanting to update an addon within XBMC, not install into the nix. I don't think it's possible from ssh to do this now.

Looks like I will have to move the pi each month to do updates to XBMC plugins. Not a big issue, but a bit inconvenient.

Skywatch
Find all posts by this user
Quote this message in a reply
16th Jul, 2013, 04:39 AM
Post: #4
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: SSH install from zip?
(16th Jul, 2013 03:56 AM)Skywatch Wrote:  Thanks Fred for the reply.

I was wanting to update an addon within XBMC, not install into the nix. I don't think it's possible from ssh to do this now.

Looks like I will have to move the pi each month to do updates to XBMC plugins. Not a big issue, but a bit inconvenient.

Skywatch

actually, it is possible, although not as a afeature.

create the simplest repository for the zip package. it's simple .xml file, look into any repo installed at ~/addons/repositoryXXXXXXX/addon.xml. most of the tags is just info text.

one tag is important, it's <datadir zip="true"></datadir>.

usually, there is http:// address, which points to simple directory listing. you can use local folder.

more info at http://wiki.xbmc.org/index.php?title=Add-on_repositories

then, each time you put new zip into the dir xbmc will install (just set autoupdates to on)

don't try to replace .zip and add-on/dir/files directly, without db update at Database/Addons.db xbmc will make undefinable things, probably loops of errors etc.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
18th Jul, 2013, 09:30 PM
Post: #5
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: SSH install from zip?
Thanks so much for that info, I am sure that there are others who would benefit from this!

I will need to be a little more confident with linux before I try this, but by the end of next month I will give this a go!

Once again, thanks for all your help! ;-)

Skywatch
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 18th May, 2025, 04:04 PM Powered By MyBB, © 2002-2025 MyBB Group.