Active Topics

 


Reply
Thread Tools
Posts: 27 | Thanked: 0 times | Joined on Feb 2007
#1
Hello
I am an N800 Newbie
Id like to know how to install (configure) a binary app on the n800 that runs in an Xterm window.
For Example Im interested in the Alpine Email client and I downloaded the n800 binary file for alpine. I copied this alpine file to the N800 external mmc card.

NOW, Which N800 directory do I put the alpine binary and how to set up the path so that I can open a xterm window & type alpine & have the email program run.

thank you for your assistance
stephen
 
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#2
It should be /bin I think. Still not familar with the Linux file layout myself.
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#3
Originally Posted by Laughing Man View Post
It should be /bin I think. Still not familar with the Linux file layout myself.
/usr/local/bin is probably your best bet.
 
Posts: 364 | Thanked: 54 times | Joined on Feb 2008
#4
don't forget you will need to flag the file as executable using chmod...the command should be some thing like:

chmod 0777 {filename} if I recall the syntax correctly.
 
free's Avatar
Posts: 739 | Thanked: 159 times | Joined on Sep 2007 @ Germany - Munich
#5
http://www.pathname.com/fhs/pub/fhs-2.3.html

/usr/bin
or
/usr/local/bin

/bin is for critical binaries used during boot and should always be present. /usr can be on another partition mounted later during boot.

Debian recommendations says it should go in /usr/bin for released softwares.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#6
In fact you can put it anywhere you want as long as the place is included in the PATH environment variable.

Code:
echo $PATH
cp myprogram /home/user/bin/
export PATH=/home/user/bin:$PATH
myprogram
 

The Following User Says Thank You to pycage For This Useful Post:
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#7
I typically make a bin directory in my home directory, for all the experimental/otherwise nonproduction software I throw on my system. It's a one-user system, so I could system-wide install everything, but I keep it separate. I'm doing the same on the N800, but I use apps, since it's already there.
 
Posts: 27 | Thanked: 0 times | Joined on Feb 2007
#8
Feb 22
Hello
thanks to all here who offered their advice.

I was able to downloaded the ALPINE email binary from
http://home.mminternet.com/~delaroca/

Under Win XP I used the WINSCP program to log into the N800
and copied the binaries for alpine & pico to /usr/bin

Then I left Wincp and used Putty to ssh (as root) into n800 & went to/usr/bin directory. I then typed chmod +x alpine (return) and also
chmod +x pico (return)
Now I can start up the terminal program on N800 and run Alpine email or Pico editor from the command line by just typing
alpine or pico
thanks again to everyone who made a helpful suggestion
stephen
 
bluesubaru's Avatar
Posts: 197 | Thanked: 39 times | Joined on Jan 2008 @ Long Island
#9
export PATH=/home/user/bin:$PATH


How do I make this stick thru a reboot?
__________________
Paul <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Linux newbie with a N810 OS2008 >>>>>>>>>>>>>>>>>> Art is the lie that shows us the Truth
Don't let a suitcase full of cheese be your big fork & spoon
 
free's Avatar
Posts: 739 | Thanked: 159 times | Joined on Sep 2007 @ Germany - Munich
#10
Usually this is in a profile file
$HOME/.profile or /etc/profile (this one is the system, all-users one)
It is sourced on login shells.
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:13.