LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-04-2011, 12:17 AM   #1
dyahayum
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
installpkg command not found


i'm using ubuntu 8.4
when i want install file.tgz, i found an error like

"installpkg command not found"

even though i have typed the command like this

"#installpkg file.tgz"

so, what's the problem with this?
i need help to resolve this problem

thank's
 
Old 03-04-2011, 12:28 AM   #2
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 344

Rep: Reputation: 34
Its a tarrred and zipped file

There are two step to unpack it

1. gunzip file.tgz
2. tar -xvf file* # what ever the name of the unzipped file.
 
Old 03-04-2011, 11:12 AM   #3
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 154

Rep: Reputation: 15
Are you logged in as root?

ETA: Forget that. Does Ubuntu have an installpkg command?

Last edited by Stephen Morgan; 03-04-2011 at 11:13 AM. Reason: thinking slackware
 
Old 03-04-2011, 11:16 AM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,613
Blog Entries: 1

Rep: Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047
Quote:
Originally Posted by dyahayum View Post
i'm using ubuntu 8.4
when i want install file.tgz, i found an error like

"installpkg command not found"

even though i have typed the command like this

"#installpkg file.tgz"

so, what's the problem with this?
i need help to resolve this problem

thank's
What package is it? Have you checked Ubuntu repositories?
 
Old 03-04-2011, 11:40 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Quote:
when i want install file.tgz, i found an error like
I think you are confusing some things here.
tgz files are compressed files,
They are used in slackware to install programs, like ubuntu uses deb files.
installkg is a command in slackware to install these packages.
You can however extract these packages in ubuntu using the tar command
Code:
tar -xvzf file.tgz
This will not install the package on ubuntu.
As sycamorex suggested, look in the ubuntu package manager for the program you want to install,
or find the deb file.

Kind regards
 
Old 03-04-2011, 12:15 PM   #6
Ignotum Per Ignotius
Member
 
Registered: Sep 2009
Location: Wales, UK
Distribution: Slackware
Posts: 67
Blog Entries: 1

Rep: Reputation: 40
If you simply can't find the software as a deb package (though this is highly unlikely), you could try the package manager paco/superpaco --- I understand it will install Slackware packages (files which have the suffix tgz) on Ubuntu systems.

...Although please note that since I've never tried it myself, I can neither offer help with it nor vouch for its worth!
 
Old 03-05-2011, 08:52 AM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Quote:
Originally Posted by dyahayum View Post
i'm using ubuntu 8.4
when i want install file.tgz, i found an error like

"installpkg command not found"

even though i have typed the command like this

"#installpkg file.tgz"

so, what's the problem with this?
i need help to resolve this problem

thank's
"installpkg" and the tgz format (nothe that "tgz" is not slackware-specific, it's just a file format. But only Slackware uses it for packages) are for Slackware Linux only. Ubuntu uses deb packages and the "dpkg" tool.
 
Old 03-09-2011, 08:51 AM   #8
dyahayum
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Original Poster
Rep: Reputation: 0
sorry i have just read...
for all thank you very much.. i'll try later..

i still need your help if later i got trouble again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware current installpkg line 59 rev command not found disturbed1 Slackware 4 02-28-2011 05:03 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-28-2006 12:57 AM
"installpkg: command not found" dj_dubbbz Linux - Newbie 3 02-14-2006 05:10 PM
installpkg cmd not found Hectic Slackware 2 10-13-2004 08:31 AM
Slackware 8.1: "installpkg" command not working? tigerflag Slackware 5 10-12-2002 03:44 PM


All times are GMT -5. The time now is 03:19 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration