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.
I have been trying for a long time now to figure out how to install and run .exe and .bin files (e.g., Real Player). I don't understand what it means to "set execute permission, unpack, and run the program." If I downloaded the file, then I think I already have execute permission.
In windows, I used to double-click the icon, and it would install itself. Can someone help me? Please note that I do have a program to run specifically for Linux (a fax program).
There are programs like Real Player that come with most distros. You did not mention which distro you are using. .EXE and .BIN files are windoze executables. Linus executables usually do not have the same kind of extensions.
I'm using Mandrake 9.1. It came with several audio programs that play mp3's, audio CD's etc. For example, I use Grip to play audio CD's. The programs you have will depend on which distro you have.
If you "have to" run Realplayer.exe under Linux, you will have to install Wine. That is no small challenge, especially if you are new to Linux.
Most software installation is done from RPM's or RPM like package managers. They vary with distro. You can also get software in source format. Then you can learn to compile and install your own software. Again, this is a new process to learn, and will take some time. There are several good sources of information on the "how to".
linux does not care about extensions or how a file is named. Further more any exe file is probably for windows and will not run on linux. Files have permissions for read, write and execute. The console command chmod changes the permissions for a file. See man pages for details.
Set execute permission on the file, ie is permissions a probably now 'rw-r--r--', or something like that, and a file needs at least 'rwxr--r--' to execute (note the 'x'). Set it using the 'chmod' command (chmod 744 primafax_l.bin), or, if you use kde, right-click the file, click properties, then click the Permissions tab, and make sure you have 'x' selected for eXecute.
In order to run the file, first chmod it as mentioned above, and then you can run it by cd-ing to the directory where the executabe is, and then running it by using the file name.
Example. I have a program named run.bin that I want to execute. It is located in my /home/user directory. First, I must make the file executabe. So I:
chmod 777 /home/user/run.bin
Next, I change to that directory:
cd /home/user
and then I run the file:
./run.bin
The period before the slash is not a type-O. It needs to be there. What the period means is 'in the current directory'. So the command is 'in the current directory, execute the file run.bin. ./run.bin
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.