![]() |
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???? |
Re: Anyone Know how to install a .deb file via Terminal?
dpkg -i filename.deb (as root)
|
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? |
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. |
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 |
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 Code:
dpkg -i /path/from/above/flashlight-applet_0.2-0_armel.deb |
Re: Anyone Know how to install a .deb file via Terminal?
Quote:
|
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! |
Re: Anyone Know how to install a .deb file via Terminal?
Quote:
|
Re: Anyone Know how to install a .deb file via Terminal?
Quote:
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