?
Solved

installing files from cd

Posted on 2000-02-20
5
Medium Priority
?
184 Views
Last Modified: 2013-11-13
i know this may be a little funny but i am a beginner, i cant seem to figure out how to run exe files from the cdrom,any help would be appreciated!
0
Comment
Question by:giztek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2540954
Okay, lets figure out how far you get. Are you looking at the cdrom contents from a GUI tool or a shell inside a terminal window? Some things won't run from a filemanager as thay have to have a controlling tty. The best way is to use a terminal window and, if the file is executable simply type in the command. Whin I mount a CD on my system it shows up as "/cdrom". If I saw something like:

levie> ls -l /cdrom

-rwxrwxr-x   1 levie    staff       61419 Feb 18 13:33 gork*
-rwxrwxr-x   1 levie    staff       11710 Feb 20 13:28 grok*
-

I'd know that "gork" and "grok" were both executable by the "x"s. If I wanted to be sure that there were meant to run under Linux, I'd do:

levie> file /cdrom/gork
gork: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), not stripped
l

Yep, it's a Linux executable for a 386 or better processor. I can run it by saying:

levie> /cdrom/gork
  --or--
levie> cd /cdrom
levie> ./gork

You asked "how to run exe files". If by that you meant a file that ends in ".exe", that is probably a dos/windows executable and would have to be run in a dos or windows emulator (if it even can run in an emulator). I can check for that case by:

levie> file /cdrom/restorrb.exe
restorrb.exe: MS-DOS executable (EXE)
l

0
 
LVL 3

Expert Comment

by:freesource
ID: 2541035
Just because it is a Linux executable doesn't mean it will run.  In the case of shared libraries, you actually need those shared libraries on your system.  If it runs on an interpreter like Perl, Perl needs to be installed in order for a perl script to work.  

If if is a Windows executable you should try out Wine:

http://www.winehq.com/

If it is a dos executable try out dosemu:

http://www.dosemu.org/
0
 
LVL 2

Expert Comment

by:Reinier
ID: 2541933
Just another thing to check. How do you mount the cdrom? Using the option "user" in /etc/fstab implies the option "noexec". See "man mount". This is for security. You can override it by putting "exec" after the "user" option.
0
 
LVL 2

Expert Comment

by:EatEmAndSmile
ID: 2542679
That's right... Executables won't run from the cdrom by default. That is... If you configured your /etc/fstab from the example in the mount man pages.
0
 
LVL 4

Accepted Solution

by:
rickson earned 300 total points
ID: 2604134
first you must mount the cdrom.
but if it is a windows program ,  u need another program that can run win api in linux. if it is linux program ussualy u need to compile using c,or make if it is *.rpm it is executable file installation for linux just click it will automatically install.
0

Featured Post

AWS Certified Solutions Architect - Associate

This course has been developed to provide you with the requisite knowledge to not only pass the AWS CSA certification exam but also gain the hands-on experience required to become a qualified AWS Solutions architect working in a real-world environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question