give a NEWB a crash course in Compiling APPS
I am fairly new to linux, but with the help of this forum I've learned a great deal! (THANK YOU ALL). Heres the deal I want to be able to install just about any program I want to on my linux box (fedora core 3) I can install a simple RPM or a couple of RPM's that depend on one another, No problem! But not all programs are that easy are they? I want to get my hands dirty and learn the nuts and bolts of how to build a program from scratch. Which I'm sure gives you a much greater understanding of whats going on when an app launches ect......
I am not a programmer but do understand what syntax is. I know what a variable is, param on and on and on. I have a basic understanding of how things get done, I've just not reached the level where I can MAKE them get done. But a good start I think will be to learn how to manipulate, handle and compile linux programs.
So All I want to know is WHERE TO START? I've had great luck with you guys, and I learn so much easier with your help! What are the basic commands? is BASH used? (another thing I've got to learn). Does anyone know of any websites dedicated for this type of thing? I've done searches but just get so floded with non-related, partially-related and allmost-related info it boggs me down. I think part of my problem is I dont know exzactly what I'm searching for?
thank you all for your time and energy.
Well, basically, you would:
Download the tarball (the zipped archive of source code)
Then from the BASH prompt:
depending on what zip method was used
tar xvf tarball
Unless you want to fiddle with compilation options, or the source code is unusual, those are the steps you'll generally want to take.
A read thru the LFS handbook can teach you a lot about compiling. So can creating an LFS system, of course, but it takes a while :)
Thank you verry much! I didnt realise it was that simple LOL !?! I thought it works somthing like java beans? I've yet to use the "makefile" command but will experiment later this evening.
Another way is
$tar -zxvf filename.tar.gz for gzipped files
$tar -jxvf filename.bz2 for bzipped files
Sometimes *tar.gz are named as filename.tgz and *tar.bz2 files are named as filename.tbz, so don't get confused by this. Always read the documentation before installing, coz it usually includes essential information on how to install etc. For linux commands take a look at linuxcommand.org.
|All times are GMT -5. The time now is 04:10 AM.|