LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-25-2006, 07:16 AM   #1
carlos88
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Rep: Reputation: 0
Slackware General Package Question


I've been trying to play DVDs on Xine with encryption problems, and discovered I needed libdvdcss, so I went to the website and downloaded it this one:
libdvdcss-1.2.9-i486-1kjz.tar.gz (interestingly, when I downloaded it (using windows2000 ) it automatically uncompressed)
So I dumped the tar into the root and xvvf'd it, and xine worked .
Two things bother me:
First, my understanding is that an INSTALL directory is created/used for uninstallion purposes, but this was put in the root - is this right? I thought no directories should ever be built in root aside from original installation.

And second, when I run pkgtool, I can't find it.
Is this because I just untarred it? so what can I do to get this package 'visible' in pkgtool?

Thanks
 
Old 08-25-2006, 09:46 AM   #2
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
You will only get a package to be managed by pkgtool when you install a slackpackage as in a *.tgz, and using installpkg etc.
If you want the package to be managed by slack you need a slack pack, you can build them or maybe look on http:://linuxpackages.net for it or maybe our good friend google can turn the package up for you.
Yes that is the wrong place for that to be installed.

Last edited by lord-fu; 08-25-2006 at 09:50 AM.
 
Old 08-26-2006, 05:24 AM   #3
carlos88
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for that. As for INSTALL directory, it wsnt me that put it there! Perhaps I used to incorrect tar - i486. Ah well, it works.
 
Old 08-26-2006, 08:27 AM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
It is normal that the /install folder will be created when you install a Slackware package. If you use pkgtool(s) to install the tgz this folder will be deleted automatically after the install-scripts have been run. Of course it will be permanent if you just untar the file.
 
Old 08-29-2006, 05:31 AM   #5
carlos88
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by titopoquito
It is normal that the /install folder will be created when you install a Slackware package. If you use pkgtool(s) to install the tgz this folder will be deleted automatically after the install-scripts have been run. Of course it will be permanent if you just untar the file.
I see, thanks for that.
In fact, I've been having strange issues with this. I've got an ATI graphics card so I downloaded the proprietry drivers from Ati website as a DBM. To convert it, I used the tool DBN2TGZ.
When I ran this, however, it didnt convert to .Tgz, but to a tar.gz . When I ran PKGTOOL, it couldnt find it. Using INSTALPKG on the file returned the message that the package had to be a TGZ file. Why doesnt DBN2TGZ do what is says? And is it a simple matter of just renaming *.tar.gz to *.tgz? Thanks
 
Old 08-29-2006, 07:17 AM   #6
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
A tgz IS a tar.gz file, but it usually has an /install folder in it with a slack-desc (the package description) and possibly a doinst.sh for doing tasks like creating symlinks and other optional post-installation steps.
I don't know if it must have an /install folder -- I guess no.
 
Old 08-29-2006, 02:44 PM   #7
soggycornflake
Member
 
Registered: May 2006
Location: England
Distribution: Slackware 10.2, Slamd64
Posts: 249

Rep: Reputation: 31
There is, or should be, no /install directory on the system. This exists only in the tarball to store the slack-desc and install scripts. /install does not _have_ to exist, if it doesn't installpkg will not complain. If I understand correctly, you untar'ed the package in /, in which case you did NOT install it properly. Use installpkg <pkg> to install *.tgz packages. However, whether the tarball that dbn2tgz created can usefully be installed depends on the file structure of the package.
 
Old 08-29-2006, 03:21 PM   #8
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
For files that are not Slackware native you can download a program called checkinstall that will run the make install for you and register that package for pkgtool.
 
  


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
Stupid newbie question on Slackware package management infornography Linux - Newbie 3 09-30-2005 09:34 AM
slackware current bittorent package install question cinchel Linux - Software 3 10-25-2004 01:25 AM
General Q re: package install/kernel config keygrip Linux - Software 2 04-09-2004 08:55 AM


All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration