maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   How do you use X Terminal to install .deb files (https://talk.maemo.org/showthread.php?t=35501)

medi37 2009-11-30 20:41

How do you use X Terminal to install .deb files
 
I was just wondering if there is anyone out there who could give a detailed explanation on how to use X terminal to install Debian files since I am quite new to all of this and all the explanation i have seen are not for novice users like me.

gidoca 2009-11-30 20:49

Re: How do you use X Terminal to install .deb files
 
Quote:

Originally Posted by medi37 (Post 401427)
I was just wondering if there is anyone out there who could give a detailed explanation on how to use X terminal to install Debian files since I am quite new to all of this and all the explanation i have seen are not for novice users like me.

sudo dpkg -i foo.deb

Texrat 2009-12-05 19:11

Re: How do you use X Terminal to install .deb files
 
Thread moved to more appropriate location. Please note that Brainstorm is not for help, but rather, for discovering and discussion new ideas and solutions.

Thanks!

Johnx 2009-12-05 23:13

Re: How do you use X Terminal to install .deb files
 
0.) You should be aware that installing random .deb files is a good way to end up having to reflash. Say to yourself, out loud, "I'm ok losing all the data on my N900 when this goes wrong."
1.) Download the .deb file you want to install from maemo.org. .deb files for Debian or Ubuntu will almost certainly not work the way you want them to, unless the program is very simple with few or no dependencies.
3.) Put the .deb file on your device at the same level as the "Audio Clips" and "Documents" folders.
4.) Go to Application Manager, install rootsh.
5.) Open X Terminal, type:
Code:

root
Code:

dpkg -i /home/user/MyDocs/foo.deb
(where "foo" is the name of your .deb file. Remember that the Linux terminal is case sensitive. If there are spaces in the filename you must put a \ before the space. (dpkg -i /home/user/MyDocs/my\ deb\ file\ with\ spaces.deb)

-John

drukane 2010-02-14 13:09

Re: How do you use X Terminal to install .deb files
 
doesnt work for me, i get this error instead even the folder and file does exist

/home/user # dpkg -i MyDocs/documents/redalert.deb
dpkg: error processing MyDocs/documents/redalert.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
MyDocs/documents/redalert.deb
/home/user #

rambo 2010-02-14 13:21

Re: How do you use X Terminal to install .deb files
 
Quote:

Originally Posted by drukane (Post 525919)
doesnt work for me, i get this error instead even the folder and file does exist

Are you sure, if you have the USB cable connected and are in mass-storage mode MyDocs is not mounted for access from the device... Also are you sure "documents" is that and not "Documents".

try "ls MyDocs/documents/redalert.deb" and then remove a component from the path and try again to figure out which part are you typoing.

One way to avoid typos in file/path names is to use the tab-autocomplete (type few letters of a dir/filename and press tab).

mikhmv 2010-02-14 13:29

Re: How do you use X Terminal to install .deb files
 
Quote:

Originally Posted by drukane (Post 525919)
doesnt work for me, i get this error instead even the folder and file does exist

/home/user # dpkg -i MyDocs/documents/redalert.deb
dpkg: error processing MyDocs/documents/redalert.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
MyDocs/documents/redalert.deb
/home/user #

It is because you made error in the path...
you can check it by this steps (in x-term):
1. sudo gainroot (or root)
2. cd /home/user/MyDocs
3. ls -la

you will see that forlder "documents" don't exist but exist folder ".documents"......

P.S. when you typing path like "cd /home/user/MyDocs" it will be helpful to use autocompletion. do next:
1. type "cd /h" press TAB.
2. type "u" press TAB .....
...../

drukane 2010-02-14 19:16

Re: How do you use X Terminal to install .deb files
 
thanks guys i will try this

drukane 2010-02-14 19:35

Re: How do you use X Terminal to install .deb files
 
working now thanks again guys

adnanmbs 2010-02-15 01:27

Re: How do you use X Terminal to install .deb files
 
I am still confused..Please can any one explain step by step the whole process rather than the correction as i have been trying to download Snes and unable to install the .deb file I tried these processes as well but did not help me much.


All times are GMT. The time now is 03:09.

vBulletin® Version 3.8.8