Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-22-2004, 10:49 AM
|
#1
|
LQ Newbie
Registered: Oct 2004
Posts: 7
Rep:
|
executing a downloaded file?
Ok so this is probably the most stupid question in the world, but I am having huge problems executing downloaded files in Fedora Core 2. My most recent disaster has been with Kile-and IDE for latex. i have downloaded two different versions of it, but they will not start with ./filename at the command line, can anybody tell me what i am doing wrong?
]thanks,
|
|
|
10-22-2004, 11:09 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
they might not be set as executable.
chmod +x file
./file
or
sh file
|
|
|
10-23-2004, 04:05 AM
|
#3
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
If you downloaded 'kile', it was probably either an rpm package or a tarballed source directory that you downloaded. What was the exact file name that you downloaded? With a .rpm file you need to install it with a package manager or the 'rpm' command. If it was a tarball you need to extract the directory, and follow the instructions in the README and INST-LL files.
For kile, that would be the instruction sequence of
tar xvzf kile-<version>.gz
cd kile-<version>.gz
./configure
make
su
******* # root password
make install
Read through the INSTALL and README file to make sure this sequence is correct.
A simpler program may just have a Makefile. I've run across some tarballs where there wasn't a 'configure' file buy there was a config.in file, and I needed to run the
command 'autoconf' to produce the 'configure' script.
A tarball installation will probably put the files in the /usr heirarchy. You can run the command 'find /usr -cmin -5' to find new files and directories produced in the last 5 minutes.
The executable will probably be copied into either /usr/bin or /usr/local/bin. There will more often than not also be man files installed, and sometimes library files. For a program like kile, also icons files in /usr/share. But you may need to install the k-menu entry yourself.
On occasion, I've needed to run the 'ldconfig' command as root, so that the new library paths would be registered.
Another type of installation will run an automated install script. NVidia drivers and the Firefox browser may use this type of installation method.
Last edited by jschiwal; 10-23-2004 at 04:14 AM.
|
|
|
10-25-2004, 09:34 AM
|
#4
|
LQ Newbie
Registered: Oct 2004
Posts: 7
Original Poster
Rep:
|
Hi there,
thanks for your reply. It's an rpm that i have downloaded, kile-1.6.3-0.fdr.1.2.src.rpm. Can you tell me what this "rmp command" is?
thanks,
|
|
|
10-25-2004, 09:43 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
the rpm command is.. rpm.
to install.
|
|
|
10-25-2004, 10:27 AM
|
#6
|
Member
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669
Rep:
|
or
i = install
U = upgrade if it exists, install otherwise
v = verbose output to console
h = hash thingies (####) to show progress of installation
Last edited by student04; 10-25-2004 at 10:28 AM.
|
|
|
10-25-2004, 10:35 AM
|
#7
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
The file you downloaded is a source rpm. You might want to download an .RPM for your distro that doesn't have the .src. in the name.
|
|
|
All times are GMT -5. The time now is 12:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|