LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2003, 07:02 PM   #1
J_Rit
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
Question howto compile prgrams...HELP!!!


I know I'm going to look like a fool asking this question...but thats probably because i am...i just switched over to linux and in the process lost windows so I'm stuck with linux for good (which isn't bad) but i have a lot to learn...and fast.....sooooooo, i have no idea how to compile/install a program.

if someone could give me a link or tell me how that would be awesome....I'm using knoppix (if that matters) and ill probably be using xterm for the compiling

THANKS everyone!!

-Jim

Last edited by J_Rit; 10-27-2003 at 07:16 PM.
 
Old 10-27-2003, 07:38 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
Re: howto compile prgrams...HELP!!!

Quote:
Originally posted by J_Rit
I know I'm going to look like a fool asking this question...but thats probably because i am...i just switched over to linux and in the process lost windows so I'm stuck with linux for good (which isn't bad) but i have a lot to learn...and fast.....sooooooo, i have no idea how to compile/install a program.

if someone could give me a link or tell me how that would be awesome....I'm using knoppix (if that matters) and ill probably be using xterm for the compiling

THANKS everyone!!

-Jim
Jim,

First, you don't look like a fool, and you are not. However, search here and www.google.com/linux as much as you can; and read the documentation you can find, especially posted in links here.

Have you installed Knoppix to your hard drive? I would assume you have, if you've "lost Windoze." Since you didn't ask how you might recover Windoze, I won't go there. It is good that you have decided to be "stuck with Linux." Though the learning curve may be steep, I don't think you'll regret "losing Windoze."

Knoppix is a version of Debian that has been compiled by Klaus Knopper. You may want to visit his website http://www.knopper.net/knoppix/index-old-en.html for more information, to give yourself a good base for starting. You can also read the html file on the Knoppix CD that launches if you insert said CD. Additionally, you should go to http://www.knoppix.net/ for Knoppix information and the Debian website at http://www.debian.org/

Now, Debian uses the APT (Advanced Packaging Tool) method to "compile/install" a program. Visit http://www.debian.org/doc/manuals/apt-howto/ to learn how to use APT.

And last for this post, but not least at all, you can also get help from the Knoppix forum at http://www.knoppix.net/forum/ While that forum has specific Knoppix threads, I do find that the more experienced posters in LQ have better information concerning Linux, and Debian specifically. Visit our Debian sub-forum under the Linux - Distributions forum http://www.linuxquestions.org/questi...php?forumid=26

Which version of Knoppix did you install, and what exactly do you need to compile/install? I run Debian Sarge on this comp, and have Knoppix v3.3 running on my wife and daughter's comp. I'm no expert, but will share what has worked for me.

Welcome to LQ, and the world of freedom!

My third desire in life at the moment is to be Micro$loth free!!!
 
Old 10-27-2003, 09:39 PM   #3
Laptop2250
Member
 
Registered: Oct 2003
Posts: 131

Rep: Reputation: 15
thats brave jim, i havent taken that big of a leap to linux yet... i still am dependent on windows for games, and java compilers (i know these are available in linux, but i want it installed on linux before i pull the plug on windows, no point in having a useless box for a few days/weeks if i dont get it)
 
Old 10-27-2003, 11:27 PM   #4
cirofren
Member
 
Registered: Aug 2003
Location: Australia
Distribution: Debian 3.0, Mandrake 9.0
Posts: 41

Rep: Reputation: 15
If you're talking about compiling from source, and not installing ("apt-get install [package_name]"), then there are a few steps you need to take once you have the file.
1. It's usually in the form of "package.tar.gz", so you need to run "tar -xvzf package.tar.gz".
2. cd into the directory created when you ran tar, and type "./configure". There are other options when you do this, such as --prefix=path, where path is where you want it installed.
3. type make, then once that's done make install, you're done. You can run make clean now, it's probably best.

Pretty sure make install needs to be done as root.

This page has an in depth description of the process.

Also, you are brave. I run Debian on my main desktop and Mandrake on my laptop for school, but I still run WinXP on a second desktop for games. I just don't like Wine I guess, but right now you can't beat Win for games. If your not a gamer of course, smart move and good luck.
- cirofren
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling narcussist Fedora 6 01-18-2006 12:50 PM
compiling z9_87 Linux - Software 4 12-23-2004 05:29 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM


All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration