Compiling and Installing Local Source Files with Apt

If none of the more specific forums is the right place to ask

Compiling and Installing Local Source Files with Apt

Postby bjr87 » 2006-02-27 06:36

How do I install a program for source using apt, where I already have the source file located locally (e.g. in /home/username ion the hard drive) on my machine?
bjr87
 

Postby Harold » 2006-03-08 06:29

To install a program from source, you unpack the tarball, do ./configure followed by make followed by make install. You must be root to do make install.
Harold
 
Posts: 1502
Joined: 2005-01-07 00:15

Postby lacek » 2006-03-08 07:46

Have a look at the checkinstall package. In my opinion it is better than doing "make install", since it makes a debian package from the installed things. The package itself is bare enough, it doesn't have depedencies and the like, but at least when you try to remove/upgrade your program, you can do it with dpkg, and you can be sure that nothing is left when you purge the program.
You use the checkinstall program just like Harold said, except that run "checkinstall" instead of "make install". This will make and install a debian package.
lacek
Moderator Team Member
 
Posts: 769
Joined: 2004-03-11 18:49
Location: Budapest, Hungary


Return to General Questions

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable