LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-16-2005, 04:33 PM   #1
brynjarh
Member
 
Registered: May 2004
Location: Iceland
Distribution: Ubuntu Dapper Drake
Posts: 172

Rep: Reputation: 30
Question Learn to compile software (the advanced way)?


I like to try out new software now and again and sometimes it's not available in binary form for my operating system(s). I use Ubuntu and Debian most of the time.

I would like to learn how to compile software in a clean way and be able to manage it without ending up with a computer full of files all over my system that have no business there. Basically Install/Remove without package management that wont mess up my system.

So I'm looking for online books, guides, tutorials to go through, just learn it all the way.
And maybe offline books later, so I welcome them also. Debian/Ubuntu specific material and possibly some integration with APT (making APT aware) if available would be really cool.

Right now I know how to download, unzip, install dependencies and do ./configure, make, make install. Nothing else really. Hope I'm being clear enough.

Now can someone help by pointing out the material to study?
 
Old 12-16-2005, 04:43 PM   #2
mebrelith
Member
 
Registered: Nov 2004
Location: Torreón, Coahuila, México
Distribution: Gentoo
Posts: 342
Blog Entries: 1

Rep: Reputation: 30
There's nothing cleaner than the old get sources, untar, ./configure, make and make install. As long as you remember not to erase these folders and also don't forget that you can always do a make uninstall.
 
Old 12-16-2005, 04:56 PM   #3
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
I think programming and using make (and autoconf et al.) yourself would be beneficial, but I suppose it's a lot of effort if you're only going to use this for `black-box-compiling' the programs you want to use.

Just a thought --Jonas
 
Old 12-16-2005, 04:56 PM   #4
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
I generally put programs I install (via source) in /usr/src/zips or something similar. If I ever need to uninstall that program, I unzip the correct file and do a make uninstall. Works like a charm.

Package management is nice, but I have 0 difficulty installing from source (Slackware has taught me a number of good things)
 
Old 12-16-2005, 05:06 PM   #5
alex_ainscow
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0
You could try building your own .debs, using dpkg. See the dpkg man page, this is a bit of work to learn how to do, but it is an ideal solution for what you want.

There are plenty of pages that google knows about explaining how to do this.
 
Old 12-16-2005, 06:25 PM   #6
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
checkinstall helps here as well.
 
  


Reply



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
when compile software from source... sirpelidor Linux - Software 3 10-05-2005 01:22 PM
How to learn advanced Tcl/tk Ephracis Programming 2 02-12-2005 11:06 AM
Do you compile your own software? levicc00123 Linux - Software 15 12-17-2004 03:54 PM
book/ reference to learn how to compile, install softwares? sirpelidor Linux - Software 2 10-29-2003 06:29 AM
Where can I learn more advanced programming concepts? OrganicX Programming 8 03-01-2003 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:47 AM.

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
Open Source Consulting | Domain Registration