maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Anyone Know how to install a .deb file via Terminal? (https://talk.maemo.org/showthread.php?t=41236)

poquifox 2010-01-18 21:07

Anyone Know how to install a .deb file via Terminal?
 
with the new firmware updated the red pill was removed an now i downloaded an .deb file i cant install it
My question is
How to install a .deb file (Aplication) With xTerminal????

Rob1n 2010-01-18 21:26

Re: Anyone Know how to install a .deb file via Terminal?
 
dpkg -i filename.deb (as root)

poquifox 2010-01-20 19:45

Re: Anyone Know how to install a .deb file via Terminal?
 
i try but when i do that the xterminal say me i need:
requested operation requires superuser privilege
How i fix it?

fatalsaint 2010-01-20 19:46

Re: Anyone Know how to install a .deb file via Terminal?
 
That was what Rob1n meant by "as root".

You have to first have rootsh installed, and then "sudo gainroot" first. Then you can run that command.

poquifox 2010-01-20 21:18

Re: Anyone Know how to install a .deb file via Terminal?
 
Sorry but im noob on this i have the rootsh installed after i type sudo gainroot

But after that i dont know what i type.

I type the name of the filename but it say me No such file or directorie

I try this

on terminal dpkg -i flashlight-applet_0.2-0_armel.deb

It say no such file or directorie
Im noob on linux

Please let me know step by step

fatalsaint 2010-01-20 21:22

Re: Anyone Know how to install a .deb file via Terminal?
 
We can't really help much there ... you have to know where you downloaded it to??

Code:

find /home/user -name flashlight-applet*.deb
It should return a path.. then do:

Code:

dpkg -i /path/from/above/flashlight-applet_0.2-0_armel.deb

andrei1089 2010-01-20 21:25

Re: Anyone Know how to install a .deb file via Terminal?
 
Quote:

Originally Posted by poquifox (Post 485244)
Im noob on linux

Please let me know step by step

Have a look on this thread, if you want to learn some basic commands for xterm http://talk.maemo.org/showthread.php?t=30505

geneven 2010-01-20 21:30

Re: Anyone Know how to install a .deb file via Terminal?
 
One of the tricky things is that when you are logged in as root, you are considered a different user and start off in a different directory. So finding the file you just downloaded is the first issue.

Once you get used to it, this is a simple process, as pointed out above, but it is very confusing at first. I think that some Linux users enjoy these irritating aspects of things because it makes them feel superior. But of course any amoeba could understand directory structure; it's just not obvious to a newbie.

There used to be an easy way to deal with deb files, but it has been gotten rid of just to help you out!

fatalsaint 2010-01-20 21:36

Re: Anyone Know how to install a .deb file via Terminal?
 
Quote:

Originally Posted by geneven (Post 485284)
There used to be an easy way to deal with deb files, but it has been gotten rid of just to help you out!

I can feel the sarcasm.. but I actually totally agree with this. Because it will help you learn.

vl_oka 2010-01-20 21:40

Re: Anyone Know how to install a .deb file via Terminal?
 
Quote:

Originally Posted by geneven (Post 485284)
...
I think that some Linux users enjoy these irritating aspects of things because it makes them feel superior. But of course any amoeba could understand directory structure; it's just not obvious to a newbie.
...

So let's explain it, shall we?

As a regular user, your home directory is "/home/user/". However, what you normally see in N900 menus is a little beyond that. Your "default" folder is "/home/user/MyDocs/" (capitalisation *is* important). What N900 displays as "Documents" is in "/home/user/MyDocs/.documents/" (note the ".", it's required). If you change to "/home/user/MyDocs/" and issue a "ls -a" command, you'll se other folders as well. It's fairly obvious which dot-something folders correspond to what you see in "normal" N900 menus.

<fx>feels a little bit superior</fx>

;)


All times are GMT. The time now is 00:22.

vBulletin® Version 3.8.8