Go Back   maemo.org - Talk > Software > Applications
 
Register FAQ Community Calendar Today's Posts Search

Notices

Reply
 
Thread Tools
  #1  
Old 2009-12-17, 01:55
Aranel's Avatar
Aranel Aranel is offline
 
Join Date: Nov 2009
Location: Turkey
Posts: 301
Thanks!: 402
Thanked 227 Times in 95 Posts
Default How can I install devel apps without repository?

Hi, I want to install Quake 3, OpenArena and irreco, but it seems i cannot, b/c they're considered as extras-devel apps. I know extras-devel can brick my device, so I'm trying to avoid devel packages. Is there any way to install these 3 apps without adding devel repository to App. manager?

Here's the steps I tried:
1) Downloaded packages via maemo.org/packages/ and irreco.garage.maemo.org
2) Tried opening them with File manager - No luck.
3) Tried sudo gainroot, then sudo dpkg -i packagename_here.deb - It didnt do anything.

So, is there any other way?
Reply With Quote
  #2  
Old 2009-12-17, 01:58
maxximuscool maxximuscool is offline
 
Join Date: Sep 2009
Location: Hamilton, New Zealand
Posts: 3,664
Thanks!: 188
Thanked 1,530 Times in 783 Posts
Default Re: How can I install devel apps without repository?

sudo localinstall appName

---------

for my YDL i used: sudo yum localinstall appname
does this work??
Reply With Quote
The Following User Says Thank You to maxximuscool For This Useful Post:
  #3  
Old 2009-12-17, 02:52
fatalsaint fatalsaint is offline
 
Join Date: Jul 2008
Posts: 3,428
Thanks!: 2,609
Thanked 2,856 Times in 1,318 Posts
Default Re: How can I install devel apps without repository?

instead of sudo dpkg... switch to root using either just "root" or "sudo gainroot" and then navigate to the deb files and "dpkg -i quakeIII.deb" or whatever the filename is..
Reply With Quote
The Following User Says Thank You to fatalsaint For This Useful Post:
  #4  
Old 2009-12-17, 05:20
Aranel's Avatar
Aranel Aranel is offline
 
Join Date: Nov 2009
Location: Turkey
Posts: 301
Thanks!: 402
Thanked 227 Times in 95 Posts
Default Re: How can I install devel apps without repository?

Thanks maxximuscool and fatalsaint =) localinstall didnt work for me, said sth about /bin/sh , but just dpkg (without sudo) works.

Anyway, i still cant get irreco to work, 'cause of libsoup, it seems i'll add devel repository.
Reply With Quote
  #5  
Old 2009-12-17, 06:08
jaem
Guest
 
Posts: n/a
Default Re: How can I install devel apps without repository?

To clarify, extras-devel isn't guaranteed to brick your device, but there's every possibility that it will at any given time. Also note that it's unlikely (but not impossible?) anything in there will actually damage your device - it might just need a reflash. We used to have extras and extras-devel. The problem was that anything that wasn't ready for primetime, but was still reasonably safe got shoved in extras-devel, and then all the newbies would read about some cool beta apps, go add the repo, and then forget to disable it. Then, when they updated, all sorts of apps in stages of development ranging from "a bit buggy" to "kills kittens" would get installed, leading to a lot of complaints and general unhappiness. This issue was talked out last year in the community, and lead to what we have now. Extras is safe. Extras-testing is not guaranteed to work properly, but should be reasonably safe as well, and is intended for developers to get feedback from early adopters. Extras-devel is essentially just a mish-mash of whatever people need to throw into a repo, and may work, or be horribly broken.
Thus, extras-devel is not something you should use unless you know what you're doing, and have no other option. However, if you absolutely must install something from it, then add the repo, install the app, and disable/remove the repo immediately. If that app happens to do Bad Things, tough luck, but the bigger danger is leaving it enabled, as the updater just checks for a higher version number, not for some label designating if the app is stable or not.

To get back to your original question, both the App Manager, and the command line tool apt-get automatically resolve dependencies. Dependencies are, well, things that the app depends on. For example, if lots of apps need some particular mathematical calculation, then someone will code that, and other apps will just tell the App Manager that they need that bit of code as well. By not bundling everything all together, you can save a lot of space, however, you have to install all the dependencies before you can install the app you want. dpkg installs one or more specified packages from local files, but doesn't do the resolution step for you. If you try to install something with dpkg, it will tell you what else it needs (e.g. libsoup). To do things the hard way, you would then go find libsoup, try to install it, and if it needs something else, just repeat. This is what people used to have to do "In the Old Days", and was referred to as Dependency Hell. So essentially, your only easy option in this case is to add the repo. I know how tempting it is to try all the latest and greatest apps before they're ready, but the thing is -- they're not ready yet. If you've read all this, and you want to try it, we won't stop you, but if you break something and can't figure out how to fix it, you're likely to get a "told you so" response.
Cheers,
Reply With Quote
The Following 6 Users Say Thank You to For This Useful Post:
  #6  
Old 2009-12-17, 09:17
Rob1n Rob1n is offline
 
Join Date: Nov 2009
Location: Cambridge, UK
Posts: 3,617
Thanks!: 769
Thanked 2,412 Times in 1,382 Posts
Default Re: How can I install devel apps without repository?

If you really want the apps, just add the repositories, install the apps, then disable the repositories.
Reply With Quote
  #7  
Old 2009-12-17, 09:39
ewan's Avatar
ewan ewan is offline
 
Join Date: Oct 2009
Location: Oxford
Posts: 445
Thanks!: 147
Thanked 572 Times in 194 Posts
Default Re: How can I install devel apps without repository?

A fudamental point that seems to be being missed here is that it's not the repository that risks causing problems, it's the apps in it. If you install the same apps by another route you're just as much at risk.
Reply With Quote
The Following 4 Users Say Thank You to ewan For This Useful Post:
  #8  
Old 2009-12-17, 09:58
pelago's Avatar
pelago pelago is offline
 
Join Date: Mar 2008
Location: Oxford, UK
Posts: 2,121
Thanks!: 6,461
Thanked 1,540 Times in 755 Posts
Default Re: How can I install devel apps without repository?

Quote:
Originally Posted by ewan View Post
A fudamental point that seems to be being missed here is that it's not the repository that risks causing problems, it's the apps in it. If you install the same apps by another route you're just as much at risk.
Exactly what I was going to say. extras-devel is just a place for (potentially) dangerous apps. The danger comes from the apps themselves.

Last edited by pelago; 2009-12-17 at 10:01.
Reply With Quote
  #9  
Old 2009-12-17, 10:26
Aranel's Avatar
Aranel Aranel is offline
 
Join Date: Nov 2009
Location: Turkey
Posts: 301
Thanks!: 402
Thanked 227 Times in 95 Posts
Default Re: How can I install devel apps without repository?

Yeah, I know I have to find out dependencies, It's already same on my Ubuntu. But It seems I cant get libsoup to work, tried installing all (-dev and 2.2, 2.4 packages) but no luck.

It seems extras-devel doesnt work well for me either, b/c of this: http://talk.maemo.org/showthread.php?t=37494
Reply With Quote
  #10  
Old 2009-12-17, 15:28
fatalsaint fatalsaint is offline
 
Join Date: Jul 2008
Posts: 3,428
Thanks!: 2,609
Thanked 2,856 Times in 1,318 Posts
Default Re: How can I install devel apps without repository?

I'm a little curious (slight thread hijack):

Every time I see someone mention extras-devel it comes with the "kills kittens" warning (which is fine)... and like jaem said the problem isn't necessarily the app the user wants from extras-devel, but accidentally updating the entire device from extras-devel. If someone see's a post on here about XYZ app that a bunch of people are using it without problems.. for the most part (barring oddly unique things with their device) they are fine to also install that app from devel.

I assume, since Maemo 5 uses apt and is debian based, that it supports Pinning? Why hasn't anyone written a how-to for enabling testing and devel.. and then using pinning so that the maemo and extras repos take higher priority than testing and devel? This should, I think, prevent the device from trying to update/upgrade everything - and for packages that are in 2 or 3 of extras, extras-testing, and extras-devel, requires the user to install by hand, with a special command. Or does the built-in App Manager not support pinning and recommend you update anyway?

I'm just curious.
Reply With Quote
The Following User Says Thank You to fatalsaint For This Useful Post:
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:45.