LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   installpkg: package does not end in .tgz? (https://www.linuxquestions.org/questions/slackware-14/installpkg-package-does-not-end-in-tgz-553161/)

chike 05-11-2007 11:18 AM

installpkg: package does not end in .tgz?
 
I am attempting to install ktorrent on my slackware machine, but i get this message:

root@what:~# installpkg ktorrent-2.1.4.tgz
Cannot install ktorrent-2.1.4.tgz: package does not end in .tgz
root@what:~#

this confuses me, i thought the package did end in .tgz

manwichmakesameal 05-11-2007 11:29 AM

Is that a source tarball, or is it an actual package? Some devs actually release tarballs with a .tgz file extension. It's the same thing as tar.gz, but it just looks different.

chike 05-11-2007 11:39 AM

Quote:

Originally Posted by manwichmakesameal
Is that a source tarball, or is it an actual package? Some devs actually release tarballs with a .tgz file extension. It's the same thing as tar.gz, but it just looks different.

i downloaded it as a source tarball that ended in .tar.gz and i tried installing it like that and it didn't work. i was told renaming the extension to .tgz would work but it did not.

truthfatal 05-11-2007 12:05 PM

Quote:

Originally Posted by chike
i downloaded it as a source tarball that ended in .tar.gz and i tried installing it like that and it didn't work. i was told renaming the extension to .tgz would work but it did not.

You were misinformed.

A Slackware *.tgz package is a lot different from a source tarball ending in *.tgz

If you downloaded a source tarball, why not try to make a proper package out of it :)

You can find a generic build script here. a Build script is run from the terminal to compile the source and bundle it into a package so that you can easily install and remove the utility.
There are a lot of good how-tos for building slackware packages all around the net, google can help you find them.

of course, you could also just find the package on linuxpackages.net :D

chike 05-12-2007 05:02 PM

Quote:

Originally Posted by truthfatal
of course, you could also just find the package on linuxpackages.net :D

that's exactly where i found it, actually

and the package ended in .tar.gz

mattydee 05-12-2007 05:21 PM

If you want Ktorrent, you can just get the package from one of the slackware mirrors in /extra

http://slackware.com/getslack/

MS3FGX 05-12-2007 06:06 PM

That is true, but he would have to use the -current package, which likely won't work on Slackware 11 since KDE has been moved out of /opt in -current. The version of KTorrent for Slackware 11 is considerably outdated, and since some very serious issues (issues that got KTorrent banned on a number of trackers) were fixed in the latest release, you really shouldn't be using an old version.

littledrop 05-12-2007 07:06 PM

unpack tar.gz file and read INSTALL/readme file which should be containing the installation steps

chike 05-14-2007 05:59 PM

Quote:

Originally Posted by littledrop
unpack tar.gz file and read INSTALL/readme file which should be containing the installation steps

is there any specific place to unpack the file?

MS3FGX 05-14-2007 06:08 PM

Not really, since the source itself is not going to be doing anything. You use the source to build the program, which will then be installed wherever it is intended to go.

The usual location is under /usr/src. but a lot of people build things in their home directory as well. Any directory you have access to will work.

Nem 05-15-2007 12:56 AM

You should stay away from linuxpackages.net
as they have a bad history you know...
I get most of packages from trusted places
like slackbuilds.org or the packages that
rworkman built. Or just compile from source.
Or build yourself a package as truthfatal said.

chike 05-20-2007 06:12 PM

ok i got ktorrent to install but i am having another problem trying to get vlc to install

i use the installpkg command and it seems to work at first...

root@what:~# installpkg vlc-0.8.5-i686-3.tgz
Installing package vlc-0.8.5-i686-3...
PACKAGE DESCRIPTION:
vlc: VLC (VLC media player)
vlc:
vlc: VLC (initially VideoLAN Client) is a highly portable multimedia player
vlc: for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3,
vlc: ogg, ...) as well as DVDs, VCDs, and various streaming protocols. It
vlc: can also be used as a server to stream in unicast or multicast in IPv4
vlc: or IPv6 on a high-bandwidth network.
vlc:
vlc: Visit the VLC media player project online:
vlc: http://www.videolan.org/vlc
vlc:
vlc: This package has been compiled for Slackware 10.x by pallansson@gmail.com
Executing install script for vlc-0.8.5-i686-3...

...but then it takes me here

root@what:~#

and leaves me here.

slimm609 05-20-2007 06:34 PM

that means that it installed fine.

Alien_Hominid 05-21-2007 01:41 AM

Run vlc (press tab to get available commands) in command line or search for shortcut in program menu (if you use kde/gnome).

chike 05-21-2007 09:49 PM

Quote:

Originally Posted by Alien_Hominid
Run vlc (press tab to get available commands) in command line or search for shortcut in program menu (if you use kde/gnome).

i use kde and i tried searching but it didn't work

and for some reason the command line won't let me change directories. i type in "cd" command but it doesn't change directories.


All times are GMT -5. The time now is 09:52 PM.