Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.