Hard Time Installing Packages That Don't Already Come in *.tgz Format
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.
Hard Time Installing Packages That Don't Already Come in *.tgz Format
Hello. I am using the ZipSlack distribution in Slackware 9.1, which enables me to dual-boot between Windows and Linux on one DOS partition. I downloaded the file utempter-0.5.2-i486-2.tgz.gz using Windows and placed it into a Windows folder, made a ZIP file and copied it to my Linux folder (I did that because whenever I download a file directly into my Linux folder that has multiple periods, whenever Linux boots up, it garbles up the filename; besides, I can't download it through Linux [stupid Winmodems, don't get me started...]), but when I booted into Linux, unzipped the file and gunzipped the file to make it into a *.tgz file, whenever I run pkgtool or installpkg in order to install the package, it returns a message saying that "the package is corrupt." I notice that I don't get this problem whenever I download a file that already comes in *.tgz format (even if it was in the *.zip format before it was extracted). What do I need to do differently so that way the file can work? Thank you.
Here's what I do. I always forget or mess up stuff when I am dealing with compressed files. Try using file roller to extract all of the files. The problem that you are having (and this is a total guess, here) is that utempter-0.5.2-i486-2.tgz is not a slackware package. The .tgz in this case just means that the file is tarred and gzipped. Once you unpack then file, you will probably see that what you have is just the source, and not a pre-compiled binary. You will need to read the README file. Probably just have to change to the new directory after unpacking and:
Code:
./configure
make
make install
You can also look into a program called checkinstall. It will make the souerce into a Slackware package for you so that you can upgrade/re-install more easily.
Thank you all for your help. I found the solution (shilo posted it after I was finishing installing XFree86/dual-booting into Windows); I downloaded the wrong file. Thank you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.