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.
I'm new to Slackware, new to command-line, totally frustrated...
Just so you know, I've RTFMed, studied man pages (after fighting with BASH to figure out how to do ANYthing), searched all over the Internet before finally bothering you guys.
I have the 4-cd boxed set from Slackware, along with the Slackware Linux Essentials book. Did a full installation, except for Emacs. Trying to install some packages from the sourcecode/additional applications cd, in the "extra" directory.
I've tried "su" to root, and I've tried logged in as root. Same results both ways. Here's what happens:
I cd to "/mnt/cdrom" and then do "ls".
I manage to get to the "Extra" folder and do "ls" again.
I see a package, say, blackbox.
Go into the blackbox folder and see "blackbox-0.62.1-i386-1.tgz" along with a README.txt or something like that.
I do "installpkg blackbox-0.62.1-i386-1.tgz" (w/out the "") and get the following:
"cannot install blackbox-0.62.1-i386-1.tgz package does not end in .tgz ''
Same thing happenes when I try to install Java Runtime Environment from the same Extra folder. I figure I'm doing something wrong that will be obvious to someone, yet when I did "installpkg parted-blah-blah.tgz" it worked perfectly!!!
Using the shell is all hit-and-miss (mostly miss) with me, so if you have any suggestions, can you please tell me EXACTLY what to type?
Ok, I did all of the following both as user and after su to root. Tried the path you recommended as well as the long path with /mnt/cdrom. Got the same result each time:
input: file /path/to/blackbox-0.62.1/blackbox-0.62.1-i386.tgz
output: Can't stat '/path/to/blackbox-0.62.1/blackbox-0.62.1-i386.tgz' (No such file or directory).
input: file /path/to/java2-runtime-environment/j2re-1.4.0_01-i586.tgz
output: Can't stat '/path/to/java2-runtime-environment/j2re-1.4.0_01-i586.tgz' (No such file or directory).
input: file /path/to/mnt/cdrom/extra/java2-runtime-environment/j2re-1.4.0_01-i586.tgz
output: Can't stat '/path/to/mnt/cdrom/extra/java2-runtime-environment/j2re-1.4.0_01-i586.tgz' (No such file or directory).
input: file /path/to/parted-1.6.1/parted-1.6.1-i386.tgz
output: Can't stat '/path/to/parted-1.6.1/parted-1.6.1-i386.tgz' (No such file or directory).
input: file /path/to/mnt/cdrom/extra/parted-1.6.1/parted-1.6.1-i386.tgz
output: Can't stat '/path/to/mnt/cdrom/extra/parted-1.6.1/parted-1.6.1-i386.tgz' (No such file or directory).
What I ment with /path/to prefix you have to substitute with a real path to the file. You said you tried "the long path", so in that long path get rid of /path/to prefix
file /mnt/cdrom/extra/blackbox-0.62.1/blackbox-0.62.1-i386.tgz
Sorry for taking so long to get back to the forum with this. Life took a few wide turns the last few days...
When I typed in the correct file path for blackbox it returned the following full information:
gzip compressed data, deflated, original filename, 'blackbox-0.62.1-i386-1.tar' last modified: Mon May 6 00:07:39 2002 max compression, os: Unix
When I did the same for java2-runtime-environment it also returned full information on it. Exactly same as above, only specific to: 'j2re-1.4.0_01-i586-1.tar' for the original filename, and different dates for it.
Still, when I tried to do installpkg, it failed with 'can't stat...(No such file or directory). Maybe it's typos on my part, but I'm trying to be really careful.
On a better note, thanks to Bynaar's instructions, I was able to use pkgtool.
Still can't figure out how to install something like OpenOffice 1.0.x from a .tar file, but that can wait for another day...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.