Solved

Running a Unix app

Posted on 1998-03-15
4
244 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
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now