LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How can I install my .tgz package under a directory besides root? (https://www.linuxquestions.org/questions/slackware-14/how-can-i-install-my-tgz-package-under-a-directory-besides-root-184602/)

bankfishin 05-22-2004 04:36 PM

How can I install my .tgz package under a directory besides root?
 
I have just learned how to create my own slackware packages using makepkg. One problem I have is that when I try to install the package it installs a bunch of directories on my root partition. How do I get the package to install on my usr partition?

This is what I have done:

1. Extract the tar.gz file
2. cd to the directory and ./config --prefix=/usr
3. make && make install
4. cd to /usr and makepkg *.tgz
5. then I use pkgtool to install the *.tgz

What happens next is a bunch of directories like li, share, man, docs are created on my root directory. Anyone have some answers for me?

Linux.tar.gz 05-22-2004 05:31 PM

http://www.linuxpackages.net/howto.p...=Package+Howto


All times are GMT -5. The time now is 06:13 PM.