LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2004, 10:16 PM   #1
DesyphER
Member
 
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110

Rep: Reputation: 15
Installing BIn applications


Hey guys, i need more help LOL,

Well heres my problem. I've downloaded Amsn the bin (it says it's a GUI Installer) but when i click to install it nothing happens. Can someone guide me through how to install a bin file?

fanx
 
Old 12-21-2004, 10:29 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Most likely, the bin file needs to be made executable. And forget about GUI, it is not a good tool for doing work. Here are the directions to make the bin file executable:

1) Open a terminal

If your bin file is in /home/you,
2)then issue the command
Code:
cd /home/you
If it is in any other location, simply do the cd to that location.

3) issue the command
Code:
chmod o+x whatevername.bin
Obviosuly replace whatevername.bin with the true name of the bin file.

As long as you own the file, you can do that. If you put the bin file somewhere else, then you will need to become root to issue the chmod command. To do that, simply do:

Code:
su
and give it the passsword.


It is very easy, and if you encounter problems, write back. Also please use the terminal or CLI, you'l find it much more powerful for manipulating things than the GUI. GUI has it's place to be sure, but installation isn't that place.

Peace,
JimBass
 
Old 12-21-2004, 10:39 PM   #3
DesyphER
Member
 
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110

Original Poster
Rep: Reputation: 15
fanx man, i'll try that but i just extracted it another way i read a post and you do $cd /directory/file. That worked but now i don't know which file to run, i open amsn and it's a txt file :S.
 
Old 12-21-2004, 10:43 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
The vast majority of linux files are text. It is probably a shell script to install the program. You still should make it executable - there is no .exe in linux, you can make any program executable based on permissions. Once you cd into the directory where the .bin file is, you can issue the command:

Code:
chmod o+x *.bin
That should make the .bin file executable. Then do:

Code:
./*.bin
That will work as long as there is only 1 .bin file. If there is more than one, you'll have to write the name out. You know about using the tab key to complete commands? Saves mountains of time.


Peace,
JimBass
 
Old 12-21-2004, 11:01 PM   #5
DesyphER
Member
 
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110

Original Poster
Rep: Reputation: 15
uhhh.. i type chmod o+x amsn.bin ?
 
Old 12-21-2004, 11:07 PM   #6
DesyphER
Member
 
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110

Original Poster
Rep: Reputation: 15
oh, i just done the wish command, wish /directory/msn and it worked, but the problem is it launches with konsole so when i close konsole amsn closes with it

is there anyway i can prevent it closing with konsole?

or another way of opening it, thanx
 
Old 12-21-2004, 11:14 PM   #7
DesyphER
Member
 
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110

Original Poster
Rep: Reputation: 15
oh dw lol, i just ran the exec command it worked. What a guess command!!

oh not again, When i close konsole there amsn goes with it, can someone please help me

Last edited by DesyphER; 12-21-2004 at 11:17 PM.
 
Old 12-22-2004, 09:33 AM   #8
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You need to know where the file that launches amsn is. The bin file "usually" is just used to install the program. Say the amsn.bin created a directory called amsn in your home directory. Suppose within that amsn directory there is a file called amsn, and it is executable. The way to launch the executable would be to give the command:

Code:
/home/user/amsn/amsn &
The ampersand ( & ) launches the program in a subshell. That way, closing the utility that launched the program (be in the command line or konqueror) still allows the program itself to run. If you use konqueror to launch the amsn executable, I would expect there is a way to make it independent of the launcher program, but I don't that personally, so I can't help with it. If you don't know where the amsn executable program is, use the search feature in the GUI, and find where it is.

Have Fun!

Peace,
JimBass

Last edited by JimBass; 12-22-2004 at 09:35 AM.
 
Old 02-28-2005, 03:31 AM   #9
DesyphER
Member
 
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110

Original Poster
Rep: Reputation: 15
Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 09:30 PM
installing applications yiang Linux - Newbie 3 09-12-2004 02:03 PM
installing applications flynnhandley Linux - Software 1 07-01-2004 02:23 PM
Newbie needs help Installing j2sdk-1_4_2-nb_3_5_1-bin-linux.bin bendoku Linux - Newbie 5 10-11-2003 10:27 AM
help installing applications flynnhandley Linux - Software 3 10-02-2003 05:48 AM


All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration