Why can't I install a *.tar.gz or a *.tar.bz2 file?
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Location: Argentina, corrientes (far from buenos aires, to the north)
Distribution: Ubuntu :(
Hi, that error message i think it is from the "instalpkg" command taht accepts only *.tgz files.. you have a compressed and packaged file here, and the compression is in two formats: gz and bz2- you dont install them at most you can decompress them at the right location by doing this:
tar -xzf /file/location/FILE.tar.gz
tar -xjf /file/location/FILE.tar.bz2
-x for unpacking
-z/j for decompressing using different algoritms.
-f for file is what follows..
If you have src2pkg installed this command: 'src2pkg -I name-of-tarball' might take care of unpacking, configuring, compiling and installing it, or converting it into package form if it happens to be pre-compiled binary content. Works that easy about 80% of the time.
I've created a package of the program for you along with src2pkg build script and other necessary file for building from source. But my website hosts ftp server seems to be down at the moment and I haven't been able to upload it.
Getting that to work on Slackware won't be a trivial matter as it requires modification of several config files and it depends on which way you want to use it -I mean on how you connect to the net.
Then go into your home directory and create a new empty directory. Then, while still on line, cd into the new directory, open an xterm there and paste this into the command-line:
A few seconds later you'll have a freshly-built package of ddclient in your /tmp directory which you can then install(as root) with installpkg /tmp/ddclient-3.6.7-i486-1.tgz
You'll need to do some configuration to get it working the way you want, like editing the /etc/ddclient.conf file and making /etc/rc.d/rc.ddclient executable. If you are going to use it with ppp, then you may need to copy the sample ip-up file into the /etc/ppp dir. Anyway, read the docs in /usr/doc/ddclient-3.6.7. let me knoe how it goes in case I need to change anything in the package.
You'll need to do some configuration to get it working the way you want, like editing the /etc/ddclient.conf file and making /etc/rc.d/rc.ddclient executable. If you are going to use it with ppp, then you may need to copy the sample ip-up file into the /etc/ppp dir. Anyway, read the docs in /usr/doc/ddclient-3.6.7. let me knoe how it goes in case I need to change anything in the package.[/QUOTE]
I am now reading (gasp!!) the /doc files that came with this and I will be updating my setup accordingly as soon as I understand it. Thanks for the help sofar and I will keep you posted.