Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to open an exe file with command line

Status
Not open for further replies.

TaiChi56

Technical User
Mar 6, 2002
188
US
I have RedHat 9 running on my computer, coexisting with XP pro (go figure). So far I really like it. Learning curve though. Here is a question:

How do I open an exe file in linux. I downloaded Flash for the Internet. But then I needed a program to open the exe. So I downloaed Winrar. But it is for command line only. I know how to get to the command line, just do not know what to type. Help. Thank you.

The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
 
Yes you are correct. But I downloaded the Linux version. I was talking about WinRar. But I have that decompressed. But I still cannot get the flash plugin to work. The site tells me to decompress the file and it will create a folder called install_flash_player_6_linux. I then go to the folder and run the command line and type this in ./flashplayer-installer and it should run. But I get the "Unknown Host" and it stops. What is going wrong? Thank you.

The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
 
The installer downloads the files it will need to do it's thing. For some reason it can't find the host. I'm going to guess that it can't get an internet connection or for whatever reason, can't find a dns server.
 
There is an Internet connection.

The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
 
Thank you. I just posted another help for extracting a file.
Here is what I wrote. (I am using Mozilla Browser)

Ok, this is getting real fraustrating. They were not kidding when they said there is a learning curve with Linux. I do like the OS, but I am having problems. I downloaded the flash installer for Mozilla (yes, it is a Linux installer). I extracted like it said. Then I went to the directory and found the flashplayer-installer file. I ran the command line. Nothing happers.

ie. /home/dad/Desktop//install_flash_player_6_linux/
./flashplayer-installer

If I run just ./flashplayer-installer, I get unknown host

What am I doing wrong. I can only add flash to my web browser using a script according to Macromedia. Thank you.

The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
 
hey what you do is download the rpm from the site and then right click and say install packages
that will do, no need to use ./ and all
don't download the binary file ...
i am a newbie too but this worked for me
so just thought i could help
 
Don't know if you have solved your problem yet or not, but one thing that I noticed is that you are using a 'user' directory. Most software must be installed as root, not as a user. That may be your issue. I can't recall whether the flash plugin will install as a user or not.

Also, ./ means run from this directory. By default the local directory is never in your path in *nix. With that in mind, you would run the app using this command:

/home/dad/Desktop/install_flash_player_6_linux/flashplayer-installer

Note also that the double / was removed from between Desktop and install_flash_player_6_linux.

What distro are you running?


pansophic
 
If he is getting "unknown host" then he is executing the binary, and it's trying to reach out into the net. If the port is blocked by certian hardware/sofware firewalls even a call out might be stopped. If you have a firewall, turn it off while trying to run.

Using the RPM would work if your irectory structure is set up the same way the package was made... The RPM is typically easier to work with if your paths match the paths in the file. I've been re-compiling a lot of applications from source (as the copies packaged with my distro were out of date) and RedHat doesn't follow the conventions that Debain and most other distros use. So be careful with the RPMs (If your using RH9, like you said above, the RPM should be fine).

Hope you get it it going.
 
Thank you guys. I have been able to get the installer to run. But I have a problem on the third line where it asks for the path for mozilla. It is not /usr/lib/mozilla. I have not figured it out yet so I am stuck with intalling it. What would be the path for where mozilla resides? Thank you.

The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
 
If you are installing this as a regular user, you will need to add the plugin to your own user directory. Inside your home directory, you have a sub-directory called .mozilla. You can't see it because it is hidden. Anything with the dot in front is a hidden file. To make sure I'm not lying, type "ls -a " in your home directory. See, what did I tell ya? :) When prompted, enter "/home/username/.mozilla. I hope that works. You've been working on this a long time.
 
Also, if installing as root RH sometimes puts mozilla and/or netscape in
Code:
/usr/local/
or
Code:
/usr/local/lib/
or
Code:
/usr/local/bin/
...
 
Man I am having no luck. No of these suggestions worked. Thank you though.

The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top