Linux Equivalent of Windows EXE
I am a Linux newbie & have Mandriva installed in my m/c. What I would like to know is how does one install a software in Mandriva. Like in Windows, to install a software, conventionally one has to open a file that has the EXE extension. Likewise, in Mandriva, which file extension denotes that a file is an executable file? In other words, what file extension is the counterpart of the Windows EXE in Mandriva?
Also does one have to install a software to open executable files in Mandriva or is there an in-built program in Mandriva which automatically opens executable files when double-clicked in Mandriva? Thanks, Ron |
This is a good question. As it was also one of my questions when I first started to use linux. I found the best way to install programs was to use the build-in package manager that the distrobution comes with. If you want to install some other program that is not ready made for you distro, then carefully read the FAQ for the program you want to install. I found the instructions very good and detailed. They'd tell you how to unpack using tar, then which script to execute.
I'm sure you will recieve much better detailed answers than mine. I'm not much into using the terminal or installing programs. |
Executables in UNIX usually don't have extensions.
|
Linux does not use file extensions the way windows does. Assuming that the file actually contains executable code, all that is required is to have the execute permission set. (File extensions ARE used to automatically call certain programs--just like Windows)
There is no added SW required to run any executable--except maybe one or more libraries. In Linux, these are called "dependencies". The best way to install SW is with your package manager. Here's a link describing package management on Mandriva: http://en.wikipedia.org/wiki/Mandriv...ackage_manager |
Welcome to the wonderful world of Linux (and it's package management)!
There's two ways you can go about installing software (or packages as is more common to call them): text-based, or graphically. Although the text-based way isn't necessarily the most friendly-looking way, you may find yourself preferring it. What you have to do is open up a terminal emulator (like Konsole, Gnome-Terminal, xterm, etc.) and make yourself root by typing Code:
$ su Use the RPM command for when you have downloaded an RPM package, and use URPMI (which you will more than likely need to update) for installing packages from a repository (noun. a remote place where a whole lot of packages are available). Code:
To install... |
There are two ways I know of to install software in linux. One is to "unzip" (untar in linux terminology :P ) the file onto a new folder, enter the folder by the terminal like mentioned before and type the follwing commands:
Code:
./configure |
A file is executable if it has the execution file attribute set !
To see what are the files attributes do a "ls -l". Files with a "x" mark is executable. Code:
[miguel@babylon5 lib]$ ls -l /etc/profile.d/ To turn on/off the executable bit for a file: Code:
chmod a+x /path/to/your/file If you set the execution bit on for a regular file, the shell will try to execute and interpret the file contents. This does not means you get any real results, probably only message errors for the not-understand instructions in the file. |
All times are GMT -5. The time now is 10:47 PM. |