LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-01-2024, 08:27 AM   #31
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 485

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339

Quote:
Originally Posted by GazL View Post
Yes, I'm sure my scripts are not the only ones that take advantage of that particular pattern. .tzz would work while maintaining the status quo.

I can work-around anything you decide to go with, but if you can let us know one way or the other then those of us who write package related tools can get ahead of the game should you decide to switch.
I patched pkgtools and slackpkg (and gen_repo_files.sh) to use .tzz extension about 12 months ago. It works perfectly. Creating and installing package is very fast, I enjoy a lot!

My patches:
https://www.linuxquestions.org/quest...ml#post6417473

Last edited by Thom1b; 04-01-2024 at 09:27 AM. Reason: Links to patches
 
2 members found this post helpful.
Old 04-01-2024, 08:30 AM   #32
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,073

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
Quote:
Originally Posted by Jeebizz View Post
does it offer as much compression as xz?
Apparently not. I extracted a 29.4 MB .tgz package and recompressed it: 18.9 MB as .tlz and 12.2 as .txz.
 
Old 04-01-2024, 10:37 AM   #33
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,674

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
I just use *.tar.xz and it works just fine.

I am not hung up on three character "extensions" that have no real meaning or purpose in Linux anyway.
 
Old 04-01-2024, 12:26 PM   #34
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,901

Rep: Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025
Quote:
Originally Posted by wpeckham View Post
I just use *.tar.xz and it works just fine.

I am not hung up on three character "extensions" that have no real meaning or purpose in Linux anyway.
Unlike other distros, Slackware packages don't have a specific suffix. The 3 character (dos style) .t[gbxl]z suffix fills that roll, helping differentiate a normal source tarball from a package tarball. CRUX use .pkg.tar.xz which I'd argue is better, but we're dealing with 30 years of history/continuity. It's not ideal, but it's where we are.
 
2 members found this post helpful.
Old 04-01-2024, 03:16 PM   #35
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 145

Rep: Reputation: 59
It is urgent not to change anything in the package manager

time tar -cvf archive-lvl6.xz -I 'xz -6' /usr/src/linux-5.4.272-test01/
real 9m5,413s 192.0 Mo
time tar -cvf archive-lvl6.lz -I 'lzip -6' /usr/src/linux-5.4.272-test01/
real 9m35,764s 195.2 Mo

time tar -xf /home/archive-lvl6.xz
real 0m34,407s
time tar -xf /home/archive-lvl6.lz
real 0m42,871s
 
1 members found this post helpful.
Old 04-02-2024, 08:53 AM   #36
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,363

Original Poster
Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
I think the speed balance is important. It can take time to make an archive, but they're quick to decompress. They're only made once. How many times are they opened?
 
1 members found this post helpful.
  


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
To allow anything to be written on a dir, but also to not erase anything. coltson Linux - Software 1 07-11-2020 06:30 PM
Using libreoffice or anything to print anything from terminal MattFly Programming 5 09-06-2015 04:06 PM
backup to qcow2 (or anything VM compatible) using dd (anything) serafean Linux - Software 3 07-02-2010 02:39 AM
OT: anyone need anything slack/linux/newbie related hosted? user1442 Slackware 1 10-18-2005 11:28 AM
i cant install anything or get anything to work!! karupt Linux - Software 2 03-04-2004 10:55 AM

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

All times are GMT -5. The time now is 01:10 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