Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Running a Unix app

Posted on 1998-03-15
4
Medium Priority
?
255 Views
Last Modified: 2010-04-21
Hi,
   I need to run a Unix application which I've downloaded from the web. It's a program called Lyx, a graphical editor for LateX documents. I've downloaded a file called LYX-CURR.GZ, and have unzipped it with GZIP. This gives me the file LYX-CURR. Does anyone know how I'd run this? If I just type the name LYX-CURR in, it says access denied. What should I do?
Thanks in advance, Nik
(PS) I know very little about Unix, so please try and be as simple as possible!
0
Comment
Question by:NikWhit
[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
4 Comments
 
LVL 4

Expert Comment

by:d003303
ID: 2009007
- UNIX is case sensitive, so LYX-CURR and lyx-curr are two different files
- UNIX consoles have two different '-' keys. One at the keypad, one at the keyboard.
- try to run it with ./(filename) because maybe your administrator denied the working directory as an executable path
- look at the file permissions with ls -l.

0
 
LVL 6

Expert Comment

by:gadio
ID: 2009008
 NikWhit, there are several things that you have to check before trying to run this application. The first thing about programs that you take of the net is their format. I take it from what you write that this file what in binary executable format (it is very common to find source file versions on the net, and then you need to open them AND compile them - it is easier for the distributors to give a version for many machine architectures this way). You also need to make sure that this file was compiled for your machine type. If all these are correct, what you need to do is what you did (that is download, open) and then you need to make sure that it has running permissions. Use:
chmod +x ./LYX-CURR
Then you should be able to run it using:
./LYX-CURR
As mentioned above, take care for the case as unix is case sensitive.

Regards, G
0
 
LVL 1

Author Comment

by:NikWhit
ID: 2009009
Hi, guys.
    I've made it executable, now, but when I run it, it says says : 'syntax error : newline or ; expected line 2. Does this mean that the file is corrupt or something?

0
 
LVL 32

Accepted Solution

by:
jhance earned 0 total points
ID: 2009010
My guess is that it's a TAR file.  Try this:

tar tvf LYX-CURR

If you get file names, then you should extract the archive:

tar xvf LYX-CURR


0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

715 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