Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-20-2009, 02:38 AM   #1
Registered: Nov 2008
Location: so 34, hem 75, ngach 12 ngo 624, Minh Khai, Ha Noi , Viet Nam
Distribution: Slackware, slax, opensuse
Posts: 33

Rep: Reputation: 15
how to make slackware package txz

Dear everyone
I want to make slackware 13 package .txz
someone on the forum advise me to use makepkg command

when I use this command like this
makepkg openoffice_3.1
It said:
ERROR: Can't make output package in current directory.

what should I do?
Old 09-20-2009, 02:46 AM   #2
Registered: Apr 2009
Distribution: Slackware 13.0
Posts: 48

Rep: Reputation: 17
Make it "makepkg ../blah.txz"
It simply doesn't want to make the package in the source dir The same thing happened to me when I first moved in to Slack.

Last edited by el_b; 09-20-2009 at 02:48 AM.
Old 09-20-2009, 02:48 AM   #3
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
I don't know how you make txz instead of tgz. But you can't have the destination directory inside the directory you are making a package of. So there, make the package to some other directory. You forget file extension as well, so I suggest something like:

makepkg /tmp/openoffice-3.1.tgz

You could add more information, like build architecture and such if you like, but you can name it what you want to. Perhaps you need to gunzip the archive, and then compress it again the right file extension to make it txz. I've never done this, but it should work, I suppose.

Ok, thanks to el_b for pointing out that you can actually use .txz directly in makepkg.

Last edited by Dinithion; 09-20-2009 at 02:53 AM.
Old 09-20-2009, 02:56 AM   #4
Registered: Jul 2005
Posts: 408

Rep: Reputation: 127Reputation: 127
It's done the exact same way as an .tgz package with only the "file extension" different.
So you only need to replace .tgz with .txz
But you need to be running 13.0 for it to work out of the box.
Old 09-20-2009, 09:19 AM   #5
Registered: Nov 2008
Location: so 34, hem 75, ngach 12 ngo 624, Minh Khai, Ha Noi , Viet Nam
Distribution: Slackware, slax, opensuse
Posts: 33

Original Poster
Rep: Reputation: 15
thanks everyone
I had done my package


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
How to extract a .txz file? linus72 Linux - General 14 02-28-2010 02:55 AM
[SOLVED] .txz packages on slackware [SOLVED] michaelinux Linux - Software 4 09-04-2009 11:14 PM
Why ark in Slackware 13 doesn`t recognize .txz packages... witek Slackware 6 09-01-2009 10:10 PM
pkgtool doesn't support txz? zyli2006 Slackware 8 05-20-2009 04:56 PM
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 01:18 AM > Forums > Linux Forums > Linux - Distributions > Slackware

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

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