Installing tar.xz Packages Correctly

Post here if you are a new Porteus member and you're looking for some help.
User avatar
FURRY_NOVA
Black ninja
Black ninja
Posts: 84
Joined: 11 Aug 2016, 17:26
Distribution: Porteus XFCE v3.2 i586
Location: United Kingdom

Installing tar.xz Packages Correctly

Post#1 by FURRY_NOVA » 07 Sep 2016, 20:05

When I double-click a tar.xz file I've downloaded, there are no applications to open it. However, on Porteus 3.1, there was Xarchiver pre-installed. Even though the application wasn't assigned to open them, I managed to extract the contents with Xarchiver into a folder and run them in that folder as an application in Documents. But later I noticed Whisker menu assigned a icon link for it like it's supposed to run like a module.

I imagine there's a correct Porteus way of installing them. Making them xzm modules and placing them in module folders but, how would I do that? :unknown:
New to Linux but learning. Hoping to help out Porteus community. :)

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Installing tar.xz Packages Correctly

Post#2 by Bogomips » 07 Sep 2016, 20:21

From where has the file been downloaded? Normal Slackware are mostly .txz with a few being .tgz.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
FURRY_NOVA
Black ninja
Black ninja
Posts: 84
Joined: 11 Aug 2016, 17:26
Distribution: Porteus XFCE v3.2 i586
Location: United Kingdom

Re: Installing tar.xz Packages Correctly

Post#3 by FURRY_NOVA » 07 Sep 2016, 20:34

I got it from here: https://desktop.telegram.org I know there's a module on forums and USM but I thought getting it from their site directly would be better and secure.

I browsed around before and saw they done the same with VLC Media Player on another site with tar.xz but because Porteus uses a different module or something system, I thought it best to ask about it.
New to Linux but learning. Hoping to help out Porteus community. :)

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Installing tar.xz Packages Correctly

Post#4 by francois » 08 Sep 2016, 02:20

Just right click on it and uncompressed the file and see what you get. :twisted:
Prendre son temps, profiter de celui qui passe.

fullmoonremix

Re: Installing tar.xz Packages Correctly

Post#5 by fullmoonremix » 08 Sep 2016, 03:34

Solution...

Rename /~/*.tar.xz as /~/*.txz then convert w/ USM to /~/*.xzm

Posted by 73.112.17.112 via http://webwarper.net
This is added while posting a message to avoid misusing the service

User avatar
FURRY_NOVA
Black ninja
Black ninja
Posts: 84
Joined: 11 Aug 2016, 17:26
Distribution: Porteus XFCE v3.2 i586
Location: United Kingdom

Re: Installing tar.xz Packages Correctly

Post#6 by FURRY_NOVA » 08 Sep 2016, 03:57

So tar.xz are actually longer name of txz, just been browsing around. I've converted it successfully but doesn't add to Whisker menu. So, I'm guessing it supposed to work as portable executables.

Thanks for you helps guys.
New to Linux but learning. Hoping to help out Porteus community. :)

fullmoonremix

Re: Installing tar.xz Packages Correctly

Post#7 by fullmoonremix » 08 Sep 2016, 08:39

I'm sorry... I forgot to mention that "tar.xz" is for the Arch Linux package system.

Posted by 73.112.19.101 via http://webwarper.net
This is added while posting a message to avoid misusing the service

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Installing tar.xz Packages Correctly

Post#8 by Bogomips » 08 Sep 2016, 08:47

Made script xz2txz.sh which will make Slackware compliant package: http://forum.porteus.org/viewtopic.php? ... 577#p33210. Might get funny name, name fixing next on agenda. But suitable then for conversion txz2xzm. Might help to get it on the menu. Let us know if it works.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
FURRY_NOVA
Black ninja
Black ninja
Posts: 84
Joined: 11 Aug 2016, 17:26
Distribution: Porteus XFCE v3.2 i586
Location: United Kingdom

Re: Installing tar.xz Packages Correctly

Post#9 by FURRY_NOVA » 08 Sep 2016, 17:48

Bogomips wrote:Made script xz2txz.sh which will make Slackware compliant package: http://forum.porteus.org/viewtopic.php? ... 577#p33210. Might get funny name, name fixing next on agenda. But suitable then for conversion txz2xzm. Might help to get it on the menu. Let us know if it works.
Well, I've tried it out. I found if the sh file and tar.xz package are in a folder with spaces. It causes a script error. Desktop/New Folder/ for example when run.

After renaming the folder to folder, the script worked making a txz and I converted it to xzm but the Whisker menu didn't contain the link after activating it.

Also some odd behavior started happening after testing it in Always Fresh mode. When I rebooted to GUI, saw some error that it can't find "all" and "allfiles" types in sbin or something. When it started, I couldn't get Porteus to access WiFi since even checkbox was disabled in NetworkManager Applet. Even Network Connections wouldn't open in Whisker. Deleting Kate and like 20 packages it wanted made it work but didn't cause this before.

These are the contents of the tar.xz package just for noting.
- Telegram (executable)
- Updater (executable)
New to Linux but learning. Hoping to help out Porteus community. :)

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Installing tar.xz Packages Correctly

Post#10 by Bogomips » 08 Sep 2016, 19:32

Well, it looks like there are unsatisfied dependencies and incompatibilities. So the guiding principle is that if it can be got with usm then gettting it means Slackware packagers have already ironed out the incompatibilities, after which usm will fix up the dependencies.

It's only if one absolutely has to have the very later versions that one should spend time in sorting out xz or deb or rpm packages.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Post Reply