Skip to main content

Thread: Creating .deb to install in prefix other then /usr ?


hi guys. hoping can me out.

sorry asking question, seems me should simple. but, can't find answer on google, forums, anything. frustrating!

have been tasked creating number of .deb package internal use in company. thing is, need install files under location other /usr. have /companyname use custom path across our servers need use. (/companyname/bin /companyname/sbin /companyname/lib etc)

have been reading on on create .debs , have been able it, , works fine standard process. have tried edit makefiles of source files use --prefix , --destdir, , same thing debian/rules not working me.

guess not asking wipe after me here, love sort of direction on how approach this.

helps!
much!
cindy

hi there. way depends on how you've packaged source. if using dh_install in debian/rules try creating <packagename>.install file tell debhelper install various files. should not edit source directly if can avoid it, can set configure/make options in rules file.
company thing can understand may not able upload actual package example if if can attach or give link of packaging possible it'll easier see if anythings going wrong. luck!


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs Creating .deb to install in prefix other then /usr ?


Ubuntu

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts