Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-16-2005, 05:33 PM   #1
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, 05:43 PM   #2
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, 05:56 PM   #3
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, 05:56 PM   #4
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, 06:06 PM   #5
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, 07:25 PM   #6
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

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


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

All times are GMT -5. The time now is 04:43 AM.

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