LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installpkg command not found (https://www.linuxquestions.org/questions/linux-newbie-8/installpkg-command-not-found-866354/)

dyahayum 03-03-2011 11:17 PM

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

KinnowGrower 03-03-2011 11:28 PM

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.

Stephen Morgan 03-04-2011 10:12 AM

Are you logged in as root?

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

sycamorex 03-04-2011 10:16 AM

Quote:

Originally Posted by dyahayum (Post 4278459)
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?

repo 03-04-2011 10:40 AM

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

Ignotum Per Ignotius 03-04-2011 11:15 AM

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! :)

MTK358 03-05-2011 07:52 AM

Quote:

Originally Posted by dyahayum (Post 4278459)
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.

dyahayum 03-09-2011 07:51 AM

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
:)


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