Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> can't run new programs!, Kwrite takes over
abben
post May 24 2006, 03:59 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 24-May 06
Member No.: 6,428



Hey, this is my first experience with Linux so forgive me for my basic question. But it is still really bugging me and I think I ought to already know how to solve it. I have Linux LE, and have installed a few programs. When I attempt to run the progrum, Kwrite comes up, showing me the coding that makes up the program, instead of letting me actually run it.

What am I supposed to do?

thanks in advance

Abben
Go to the top of the page
 
+Quote Post
michaelk
post May 24 2006, 04:23 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Not sure what is distribution linux le, Mandriva?

What is the program you are trying to run?

In a console window try the following command
ls -l /path_to/program_name

Change /path_to/program_name to the actual location/filename of this program.
Go to the top of the page
 
+Quote Post
abben
post May 24 2006, 11:23 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 24-May 06
Member No.: 6,428



Sorry for my vagueness before, yes I'm on Mandriva LE, the one released in 05. I played with the console a bit but it did not help really.

I was trying to run BitTorrent, but I have also tried to run firefox, opera, and a few other things all with similar results. Instead of running the file, a program, KWrite will come up and look at the coding of the file and provide me with all these great options for playing with the code, as if that was what I wanted to do. Basically what I want is for KWrite to NOT open these files, but for them to just run.

But programs that came installed with Mandriva, like the old version of firefox, kbear, etc. etc. are running fine.

Thanks very much for the help.

Abben
Go to the top of the page
 
+Quote Post
DS2K3
post May 25 2006, 10:13 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



The program you have is probably just an interpreted script for something like Python, not a compiled "program" in the true sense. Generally, to run these you need to use the interpreter for which they were written. Normally they come with a shell script that does all the for you though.

It is also possible that you downloaded the source code for the programs, and need to compile it into actual programs. In which case there is probably a file called "INSTALL" (or similar) which documents what you need to do.

If you can provide a link to the file that you downloaded, we will be able to get a better of idea of what you actually have.

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
matt_d
post May 28 2006, 01:13 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 28-May 06
Member No.: 6,448



Since the majority of Linux software is open source, it is distributed in source code format. This means you have to compile it. It sounds like this is what is going on. You are seeing the human readable source code.

There is usually a "README" or "INSTALL" file with source code distributions. You can also try issuing the following commands while in the directory of the source files:

CODE
./configure
make
make install


Does this help?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 12th December 2017 - 08:49 PM