LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 10-31-2008, 08:24 PM   #1
jmite
Member
 
Registered: Jun 2008
Distribution: Ubuntu
Posts: 266

Rep: Reputation: 36
Apt-src vs Apt-build


I'm looking into further optimizing my debian systems, but I am still fairly new. I was wondering, what is the difference between apt-src and apt-build? Will either build packages for you? Which one is easier to use?

Thanks!
 
Old 11-02-2008, 03:57 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
It depends on what you want to do; apt-build is just a set of scripts to apt so that you don't have to do things like the patching and specifying lines like "apt-get source build-dep somepackage" + dpkg-buildpackage.

apt-src downloads source but in such a way that you can use it to update source as you hack away at it (or so the package seems to claim).

Why do you want to build packages? The only packages I can think of which may benefit from a build are the kernel and libc. The only other times I actually build software (but usually don't package as a deb file) are when I need some code which hasn't made it into the Debian archives yet or I'm hacking at my own code. If you want to build packages just for the experience, go for it - but building everything from scratch as Gentoo can doesn't really get you any significant gains.
 
  


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
apt-build buhtl Debian 1 08-17-2007 10:11 AM
Apt build i_m_meen Debian 4 07-04-2005 02:58 PM
Apt-build RobNyc Debian 1 02-22-2005 03:14 PM
apt-build?? wrat Debian 7 02-22-2005 02:07 AM
apt-build ahz Fedora 0 01-10-2005 11:10 PM


All times are GMT -5. The time now is 05:48 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