LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-11-2007, 11:18 AM   #1
chike
Member
 
Registered: May 2007
Posts: 35

Rep: Reputation: 15
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
 
Old 05-11-2007, 11:29 AM   #2
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
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.
 
Old 05-11-2007, 11:39 AM   #3
chike
Member
 
Registered: May 2007
Posts: 35

Original Poster
Rep: Reputation: 15
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.
 
Old 05-11-2007, 12:05 PM   #4
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
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

Last edited by truthfatal; 05-11-2007 at 12:14 PM.
 
Old 05-12-2007, 05:02 PM   #5
chike
Member
 
Registered: May 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by truthfatal
of course, you could also just find the package on linuxpackages.net
that's exactly where i found it, actually

and the package ended in .tar.gz
 
Old 05-12-2007, 05:21 PM   #6
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

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

http://slackware.com/getslack/

Last edited by mattydee; 05-12-2007 at 05:22 PM.
 
Old 05-12-2007, 06:06 PM   #7
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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.
 
Old 05-12-2007, 07:06 PM   #8
littledrop
Member
 
Registered: Aug 2006
Posts: 97

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

Last edited by littledrop; 05-12-2007 at 07:09 PM.
 
Old 05-14-2007, 05:59 PM   #9
chike
Member
 
Registered: May 2007
Posts: 35

Original Poster
Rep: Reputation: 15
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?
 
Old 05-14-2007, 06:08 PM   #10
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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.
 
Old 05-15-2007, 12:56 AM   #11
Nem
Member
 
Registered: Mar 2007
Location: United States
Distribution: Slackware 11.0
Posts: 88

Rep: Reputation: 15
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.
 
Old 05-20-2007, 06:12 PM   #12
chike
Member
 
Registered: May 2007
Posts: 35

Original Poster
Rep: Reputation: 15
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.
 
Old 05-20-2007, 06:34 PM   #13
slimm609
Member
 
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 430

Rep: Reputation: 67
that means that it installed fine.
 
Old 05-21-2007, 01:41 AM   #14
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Run vlc (press tab to get available commands) in command line or search for shortcut in program menu (if you use kde/gnome).
 
Old 05-21-2007, 09:49 PM   #15
chike
Member
 
Registered: May 2007
Posts: 35

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables 1.3.7 tgz package linuxhippy Slackware 29 03-13-2007 09:20 AM
a tgz that doesn't end in tgz flebber VectorLinux 3 05-03-2006 05:31 AM
tgz file doesn't end in .tgz? detpenguin Slackware 4 05-15-2004 07:13 PM
Package for 'installpkg,removepkg,makepkg," bongski55 Slackware 4 09-15-2003 07:00 AM
XF86Config and .tgz/installpkg causticmtl Slackware 2 06-01-2003 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration