LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-22-2004, 04:36 PM   #1
bankfishin
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware 10.0
Posts: 9

Rep: Reputation: 0
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?
 
Old 05-22-2004, 05:31 PM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tgz package for acrobat reader cutraman88 Slackware 4 10-14-2004 11:12 PM
can i install rpm package as non-root user? parv Linux - Software 10 09-17-2004 10:46 PM
installing a tgz.tar package? onegear Slackware 28 09-03-2004 05:57 PM
X Sever crash after xset.tgz & vg16.tgz install lachlan Slackware 0 08-13-2003 02:48 AM
tgz package for cups-1.1.12 fabio-i Slackware 1 07-18-2003 10:09 PM


All times are GMT -5. The time now is 10:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration