[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to install app from source code?



On Thu, Feb 22, 2001 at 03:41:39PM -0500, DTi4565459@aol.com wrote:
> 
> I can start gnome-session, then mount CDROM #4 from 6 disk set, and then find 
> the .gz and .dsc files.  But that's as far as I can get.  Which debian 
> install untility will work with these packages?  I could try to do it from 
> command line if that would help.  If I click on a .tar.gz file the Olde M$h*t 
> way in the Gnome File Manager, the source code will display as text, but no 
> install program gets initiated.  
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

Normally one could just untar and unzip the file

tar -xvzf someprogramv1.2.3.tar.gz

(Be careful, the above will normally put the files contained therein in
their own subdirectory, but I have had programs that expand a bunch of
files into the current directory. There is an option that you can
specify to tar that will only show you the filenames contained in an
archive `man tar` for details)

Next you need to configure the source code to understand the platform it
will be compiled under, also you may want to override some options like
put everything in /usr instead of /usr/local. You will need to read the
docs that come with the archive but the following is usually the first
thing I try:

./configure --help

This has to be run from the top level of the uncompressed archive. 
Next you need to compile everything:

make

The configure script will detect and setup everything in the 'Makefile'.
If done properly, typing make is usually sufficient, if more is
necessary the docs with the program will indicate such.
Next you need to install the binaries in the appropriate place:

make install

Lather, rinse, repeat! As a general rule, though, use the debian package
that accomplishes whatever you are looking for. This will make your life
a lot easier. If you need more help, next time try RTFM ;)

-> Wes


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wesley Wannemacher
Instructor / Network Administrator
University of Northwestern Ohio
http://www.unoh.edu/
wawannem@unoh.edu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
I dunno, I dream in Perl sometimes...
             -- Larry Wall in  <8538@jpl-devvax.JPL.NASA.GOV>
--



Reply to: