Active Topics

 



Notices


Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on Jan 2010 @ London
#1
Hi all, I am new to Linux and Meamo 5.
My question is this :- How do I transfer a zip file on N900 to the "/usr/bin/" folder. I am moving over from Symbian, where I hacked my N95 and N97.
I really want to understand X Terminal as I am a huge fan of Nokia mobiles and intend (hopefully) to become a productive member of this forum.
Any crumbs of info would be great as I don't want to brick my N900 unnecessarily.
What I'm trying to achieve here is a "wiicontrol" zip file move using xterm for use with DrNokSnes.
Any help with this will help me understand more about xterm and what I can do with it.
Thanks for your time.

Last edited by Reaper2; 2010-02-13 at 00:09. Reason: spelling
 
Posts: 75 | Thanked: 125 times | Joined on Nov 2008
#2
Hi.. you wont be able to copy to /usr/bin unless the copy command is running with root level privileges. This has been done for a reason, on linux based systems. Every file on the system is tracked by a package manager, making it possible to remove and upgrade packages easily. If you put files into the filesystem that the packagemanager does not know about, you risk breaking the operating system when future package updates are released.

The correct way to install files into /usr/bin would be to package them into a deb file, and install the deb using the package manager. (gainroot, then use "dpkg -i mydebfile.deb")

Alternatively, you can make a bin directory under your home directory and install/run the binary executable there.

cd
mkdir bin
cp mybinary bin
bin/mybinary

that last command will execute the binary. This is a much safer way of playing than writing files into the OS's directories

Hope that helps
 

The Following 2 Users Say Thank You to jabawok For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#3
You may also want to have a read through http://freeengineer.org/learnUNIXin10minutes.html for a basic introduction to common commands.
 

The Following 2 Users Say Thank You to Rob1n For This Useful Post:
Posts: 3 | Thanked: 0 times | Joined on Jan 2010 @ London
#4
My thanks to you both for your information. As I said I'm new here so even the info given by jabawok kind of confuses me. However, the link from Rob1n will be read by me more than a few times.
I guess it's back to school for me on this.
Hitting the thanks button for you two now.
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:07.