SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If pkgtool does not locate the directory or any packages available in the directory specified then it terminates after entering the directory name. It is probably better and easier to change to the directory desired and run pkgtool from that location. You also have the opportunity to view what packages are actually available before installing.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Silly question, but are you certain these ".tar.gz" files are Slackware
packages? I believe pkgtool will exit if it doesn't find any usable packages
in whatever directory you point it.
Slack packages use the the ".tgz" extension. "tar.gz" are just gzipped tar files. Use the "tar" command to extract them.
tar -xzvf the_file_name.tar.gz
These are usually source distributions and will require building prior to installation. But read the README and INSTALL files first to determine what is required. For instance, I know Opera is not source distributed, but binary only. After it is extracted you would just run ./install.sh to install it. For source distributions, then usually it starts with something like the following:
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
<slightly off topic>
Ahem. There is no requirement that any files use any extension.
While it's true that pkgtool looks for files that are named with a .tgz
extension, that's a mistake that should be easy to fix (I'm working on a
patch right now).
It's starting to sound like I'm a nutcase when it comes to filenames, but
UNIX does not limit your file names, thus you cannot rely on the file
name to tell you what is contained within, but you CAN rely on the
magic number within the file to tell you what it contains.
man file
If these files are in fact tarballs, you can do:
file -z filename.tar.gz
and it will return something like:
GNU tar archive (gzip compressed data). . .
</slightly off topic>
Regardless of whether the tarballs are slackpacks, you can do as
Excalibur says, which is decompress and unarchive them by using
tar xzvf filename.tar.gz. If this is a slackpack, there will be a directory
called "install" when you unwrap it. Until my patch is done, you can just
rename the .tar.gz to .tgz and pkgtool will be able to handle it.
Otherwise, it's jut a bunch of files that someone thought were important
enough to put together in a tarball.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.