• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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

 
Rancher
Posts: 280
VI Editor C++ Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Saloon Keeper
Posts: 25477
180
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Anand Hariharan
Rancher
Posts: 280
VI Editor C++ Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
He loves you so much! And I'm baking the cake! I'm going to put this tiny ad in the cake:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic