PDA

View Full Version : Installing application to another drive


bamb_i
2008-01-17, 00:18
I was wondering if new applications can be installed to another drive instead of the built in memory? How? Whenever I install something, it installs it into the internal memory. Very soon one may run out.:confused:

akd
2008-01-17, 00:33
You can start reading this (http://internettablettalk.com/forums/showthread.php?t=14597&highlight=APPS+MEMORY+CARD), then this (http://internettablettalk.com/forums/showthread.php?t=14952&highlight=APPS+MEMORY+CARD) and a final tip: If you don't want to be executed online, use the search button :D
Welcome!

bamb_i
2008-01-17, 00:51
Thanks. I did search. But the results threw up tons of pages to sift through. Read few which did not have anything close to what i was looking for. perhaps I used wrong search words.. Thanks for the links again.

akd
2008-01-17, 01:01
Thanks. I did search. But the results threw up tons of pages to sift through. Read few which did not have anything close to what i was looking for. perhaps I used wrong search words.. Thanks for the links again.

No problem.. you're welcome.

free
2008-01-18, 16:25
There are 2 constraints:
1)the application manager uses dpkg backend which is using default setting: install to /
2)linux virtual file system can block the execution of some binaries if the partition is mounted "noexec". This is to prevent that someone puts a usbkey containing harmful binaries.

It's been recently talked here (http://www.internettablettalk.com/forums/showthread.php?t=14319&highlight=dpkg)

1)
* You can bypass application manager and execute dpkg to install it somewhere else (see above link)
* You can modify dpkg default settings to always install to /path. I don't know what's happening in case of updates where one software is installed on / and you ask to upgrade it to /path ..
2)
* To check if your destination directory is allowed to execute binaries, use /bin/mount
* If it displays noexec then you will need to remount the partition with correct option.
mount /dev/device /mountpoint -o remount,defaults <-- not 100% about the syntax.

bamb_i
2008-01-19, 02:37
Free
Thanks for the information. Much appreciated!

bunanson
2008-01-19, 03:52
I did search. But the results threw up tons of pages to sift through..


Try this search, may have more searching power, this is an iTT search customize using Google, http://www.google.com/cse?cx=005981223421171304650%3Awt9tjwf2kd4.

BTW, online execution also means online death, right? So you have a virtual death :). What a big deal, :p


bun

ghoonk
2008-01-19, 08:40
You can start reading this (http://internettablettalk.com/forums/showthread.php?t=14597&highlight=APPS+MEMORY+CARD), then this (http://internettablettalk.com/forums/showthread.php?t=14952&highlight=APPS+MEMORY+CARD) and a final tip: If you don't want to be executed online, use the search button :D
Welcome!

Yep, it's possible to install apps on memory card if you choose to boot from memory card. However, the way to do it is not for the faint-hearted or Linux-inept people like me :)

free
2008-01-20, 15:36
Yep, it's possible to install apps on memory card if you choose to boot from memory card.
Yes, it's normal that you can install on X if your system is on X. But it's also possible to install on Y if your system is on X.
However, the way to do it is not for the faint-hearted or Linux-inept people like me
That's true, it's not straightforward.
I forgot 2 other constraints :)
3) If your application requires linux soft links, your filesystem will need to be soft-link capable. Same for Unix Rights. If your memory card is formatted as FAT, forget it, FAT doesn't know these concepts of security and links (.lnk..)
4) If your application installs libraries, you will have to tell the system to search the libraries also on the memory card.
Also the application will not be registered in the system's menu.