PDA

View Full Version : [all variants] how do i compile new programs



ghostz
February 23rd, 2009, 07:05 PM
i want to learn how ot build these programs an anyone give me a tut or how to ?


p.s i dnt know if im posting tin the right place

oldos2er
February 23rd, 2009, 09:21 PM
https://help.ubuntu.com/community/CompilingEasyHowTo

https://help.ubuntu.com/community/OtherWaysToInstall

WatchingThePain
February 23rd, 2009, 10:17 PM
Those links are a tutorial dude!

davec64
February 23rd, 2009, 10:22 PM
Download the source, unpack the archive and have a look at the readme file first!
Once you're happy there isn't an installation script or some special steps to compiling, then it should be a simple:



cd **to unpacked folder**
./configure
make
sudo make install


Make sure you've already installed any required dependancies and if you get an error look for a dependancy you've missed. :)

EDIT:

The first tutorial is spot on!
checkinstall is better as you can then use apt to remove the program later.