File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes Tell Debian I have installed App by building from source, How to? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Tell Debian I have installed App by building from source, How to?" Watch "Tell Debian I have installed App by building from source, How to?" New topic
Author

Tell Debian I have installed App by building from source, How to?

Anand Hariharan
Rancher

Joined: Aug 22, 2006
Posts: 257

I have fetched, tweaked and built source of a particular app in my Debian box. It installs itself in /usr/local, but I can get it to install elsewhere. My question is, how do I tell dpkg that I have done so? In terms of dependencies or requirements, how do downstream and upstream apps know that I have installed a particular version of the app?

thank you for any insights,
- Anand


"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- Antoine de Saint-Exupery
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

I think you can't. At least not without building a proper package and have dpkg install it, so that the dependancies and state are properly stored.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

I'm afraid most of my expertise is in RPMs, which are Red Hat, not Debian/Ubuntu dpkgs. But I think there's an "alternate installation" parameter on dpkg to indicate that a different install root than "/" has been selected. You'd probably have to adjust your PATH, however.


Customer surveys are for companies who didn't pay proper attention to begin with.
Anand Hariharan
Rancher

Joined: Aug 22, 2006
Posts: 257

Thank you, Tim. Your response gave me something to Google for (viz., "dpkg alternate installation"), and while I haven't gotten answers yet, I have something to read and find out:

http://www.debian.org/doc/manuals/debian-reference/ch02.en.html
http://linux.die.net/man/5/apt_preferences


sincerely,
- Anand
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Tell Debian I have installed App by building from source, How to?