Confused about packages, mainly

Post here if you are a new Porteus member and you're looking for some help.
stealthfreighter
White ninja
White ninja
Posts: 18
Joined: 12 May 2023, 19:46
Distribution: Slackware, Porteus 5.0 LXDE

Confused about packages, mainly

Post#1 by stealthfreighter » 12 May 2023, 20:53

I am searching for a Live USB stick distro that has GNOME and does not have systemd. I only need two additional packages (Openoffice.org and notepadqq, both on slackbuilds).
I have three issues/questions
1: is any 5.1 coming? 5.0 is almost a year old so if it's in the pipe, I would prefer to wait
2: can't find any list of packages... maybe it's on the main website and I missed it?
3: no clear info on modules / package-to-module workflow, more specifically
3.1: http://old.slax.org/documentation_creat ... _rules.php from FAQ is a dead link :(
3.2 distrowatch lists "Package Management: XZ" so I guess it can use Slackware XZ/TGZ packages? does this work as on slackware (just install with pgkinstall installpkg) or do I need to convert it into a porteus module first? The FAQ mentions txz2xzm but I do not understand why would I need to use this instead of installpkg? There is no info about what a porteus module is?! Help...

User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Confused about packages, mainly

Post#2 by Ed_P » 13 May 2023, 04:47

stealthfreighter wrote:
12 May 2023, 20:53
1: is any 5.1 coming? 5.0 is almost a year old so if it's in the pipe, I would prefer to wait
No. But 5.0 system updates are available via the menu's Admin>Porteus Settings Centre. The most recent Apr 30, '23.

Porteus uses packages as modules named xzm. And these can be created using getmod as described in this thread:
[Porteus 5.0's USM replacement] getmod: A wrapper for slapt-get to build modules

Other threads that may interest you:
80+ modules available
Howto: Popular AppImages one click away
Ed

User avatar
Blaze
DEV Team
DEV Team
Posts: 3885
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Confused about packages, mainly

Post#3 by Blaze » 13 May 2023, 08:21

stealthfreighter, how about LibreOffice (for his building need to activate 05-devel.xzm module (for SBo building too))?

Open terminal and run

Code: Select all

su
toor

Usage: update-libreoffice your-language
For example: update-libreoffice en-US

Supported languages:
af am ar as ast be bg bn bn-IN bo br brx bs ca ca-valencia cs cy da de
dgo dsb dz el en-GB en-US en-ZA eo es et eu fa fi fr fy ga gd gl gu gug
he hi hr hsb hu id is it ja ka kab kk km kmr-Latn kn ko kok ks lb lo lt
lv mai mk ml mn mni mr my nb ne nl nn nr nso oc om or pa-IN pl pt pt-BR
ro ru rw sa-IN sat sd si sid sk sl sq sr sr-Latn ss st sv sw-TZ ta te
tg th tn tr ts tt ug uk uz ve vec vi xh zh-CN zh-TW zu
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Confused about packages, mainly

Post#4 by Ed_P » 13 May 2023, 18:05

I think you missed a command between "toor" and "Usage:" Blaze.
Ed

User avatar
Blaze
DEV Team
DEV Team
Posts: 3885
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Confused about packages, mainly

Post#5 by Blaze » 13 May 2023, 18:56

Ed_P, no, I just shared example
update-libreoffice en-US
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Confused about packages, mainly

Post#6 by Ed_P » 13 May 2023, 19:27

Oh! :o Thank you Blaze. The "Usage:" prompt confused me.
Ed

User avatar
Blaze
DEV Team
DEV Team
Posts: 3885
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Confused about packages, mainly

Post#7 by Blaze » 14 May 2023, 09:42

Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

stealthfreighter
White ninja
White ninja
Posts: 18
Joined: 12 May 2023, 19:46
Distribution: Slackware, Porteus 5.0 LXDE

Confused about packages, mainly

Post#8 by stealthfreighter » 14 May 2023, 15:18

First of all, thank you for all the replies.
I found out that in fact I wanted MATE (GNOME 2), not "GNOME." I will probably need to fix my Slackware to run MATE too as KDE seems to be glitching out after a few months of daily use :(

Thank you for the links.

I will use porteus on a system that has no hard disk and will not be connected to the internet. But I guess I won't need the updates, as they are mostly network security related?
I have already built Openoffice on my Slackware machine, so that is not a problem. I will try to convert it with txz2xzm Will check back once I get around to it... need to find the power brick for the laptop destined for porteus.

To all the people shilling Libreoffice: I tried both Openoffice and Libreoffice and the latter I find unusable (unless by "use" people mean "open a .doc once every three months but furiously masturbate every day on every forum in existence about how people should use libreoffice instead of openoffice). News flash: some people actually need to use the software and not just to admire programming prowess distilled in the latest and greatest features. Apache Openoffice has no alternative except Microsoft Word.

stealthfreighter
White ninja
White ninja
Posts: 18
Joined: 12 May 2023, 19:46
Distribution: Slackware, Porteus 5.0 LXDE

Confused about packages, mainly

Post#9 by stealthfreighter » 14 May 2023, 15:39

I have one more question, if you excuse me, also related to modules: is there any order to loading them? For example if I have a module proper (converted SBo tgz) that has a dependency (also converted SBo tgz) the only thing I need to solve is to load the dependency module before the module proper, right?

Edit: I should probably use the Case No. 2 mentioned here huh http://www.porteus.org/component/conten ... udies.html starting with "Now, you could use txz2xzm to convert each of these packages into a module, and then use Porteus-Module-Tools to merge those modules together. However, it's easier to install both packages to a fakeroot directory, and then turn that directory into a module:"

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

Confused about packages, mainly

Post#10 by beny » 14 May 2023, 16:20

hi, if you have a software with a lot of deps you can make a directory inside the modules with the name of the software and all the deps in, when the system boot are loaded without issue,is just to have a clean modules directory.

stealthfreighter
White ninja
White ninja
Posts: 18
Joined: 12 May 2023, 19:46
Distribution: Slackware, Porteus 5.0 LXDE

Confused about packages, mainly

Post#11 by stealthfreighter » 14 May 2023, 16:55

Thank you, fortunately one dep only, but I will keep that in mind. Is there any difference between having the dependency modules separate or merged together (considering that they are loaded in alphabetical order, a question yet unanswered)?

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

Confused about packages, mainly

Post#12 by beny » 14 May 2023, 17:14

when system start all the packages of modules directory are loaded, if you want to merge it you have to use getmod and salix and salix extra repositories when you choose a software all the deps are merged into one package, when are downloaded the prompt ask you if you want to merge all and wait for answer..

Code: Select all

  guest@porteus:~$ sudo getmod -u
Password: 
Retrieving package data [http://slackware.uk/salix/x86_64/slackware-15.0/]...  0Done
Retrieving patch list [http://slackware.uk/salix/x86_64/slackware-15.0/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/slackware-15.0/]...  Done
Retrieving checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/]...Done
Verifying checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/]...No key for verification
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/slackware-15.0/]...  Done
Reading Package Lists...Done
Retrieving package data [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Retrieving patch list [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Cached
Retrieving checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Cached
Verifying checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...No key for verification
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Reading Package Lists...Done
Retrieving package data [http://slackware.uk/salix/x86_64/15.0/]...Done
Retrieving patch list [http://slackware.uk/salix/x86_64/15.0/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/15.0/]...Done
Retrieving checksum signature [http://slackware.uk/salix/x86_64/15.0/]...Done
Verifying checksum signature [http://slackware.uk/salix/x86_64/15.0/]...No key for verification
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/15.0/]...Done
Reading Package Lists...Done
Retrieving package data [http://slackware.uk/salix/x86_64/extra-15.0/]...Done
Retrieving patch list [http://slackware.uk/salix/x86_64/extra-15.0/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/extra-15.0/]...Cached
Retrieving checksum signature [http://slackware.uk/salix/x86_64/extra-15.0/]...Cached
Verifying checksum signature [http://slackware.uk/salix/x86_64/extra-15.0/]...No key for verification
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/extra-15.0/]...Cached
Reading Package Lists...Done
Retrieving package data [http://ponce.cc/slackware/slackware64-15.0/packages/]...Cached
Retrieving patch list [http://ponce.cc/slackware/slackware64-15.0/packages/]... Done
Retrieving checksum list [http://ponce.cc/slackware/slackware64-15.0/packages/]...Cached
Retrieving checksum signature [http://ponce.cc/slackware/slackware64-15.0/packages/]...Cached
Verifying checksum signature [http://ponce.cc/slackware/slackware64-15.0/packages/]...No key for verification
Retrieving ChangeLog.txt [http://ponce.cc/slackware/slackware64-15.0/packages/]...Cached
Reading Package Lists...Done
guest@porteus:~$ getmod -m kdenlive
bash: getmod: command not found
guest@porteus:~$ sudo getmod -m kdenlive
Reading Package Lists...Done
The following NEW packages will be installed:
  attica karchive python2 kcoreaddons polkit-qt-1 kauth kcodecs kconfig 
  kguiaddons ki18n kconfigwidgets kwindowsystem kcrash kdbusaddons 
  kglobalaccel kiconthemes kxmlgui kbookmarks kcompletion kdoctools 
  kjobwidgets libdbusmenu-qt knotifications kservice hunspell sonnet 
  ktextwidgets kwallet solid kio kpackage kdeclarative ebook-tools pango 
  poppler kfilemetadata syndication knewstuff knotifyconfig openal-soft sox 
  vid.stab mlt purpose kdenlive 
0 upgraded, 0 reinstalled, 45 newly installed, 0 to remove, 0 not upgraded.
Need to get 41.6MB of archives.
Do you want to continue? [y/N] 

 Parallel mksquashfs: Using 6 processors
Creating 4.0 filesystem on /tmp/kdenlive-21.12.1-x86_64-1.xzm, block size 1048576.
[=============================================================|] 6518/6518 100%

Exportable Squashfs 4.0 filesystem, zstd compressed, data block size 1048576
	compressed data, compressed metadata, compressed fragments,
	compressed xattrs, compressed ids
	duplicates are removed
Filesystem size 29837.64 Kbytes (29.14 Mbytes)
	20.86% of uncompressed filesystem size (143066.60 Kbytes)
Inode table size 56028 bytes (54.71 Kbytes)
	23.94% of uncompressed inode table size (234039 bytes)
Directory table size 68388 bytes (66.79 Kbytes)
	39.23% of uncompressed directory table size (174332 bytes)
Number of duplicate files found 383
Number of inodes 7235
Number of files 6500
Number of fragments 95
Number of symbolic links 154
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 581
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)

====> '/tmp/kdenlive-21.12.1-x86_64-1.xzm' was created successfully.

guest@porteus:~$ 

                                                                                                  

stealthfreighter
White ninja
White ninja
Posts: 18
Joined: 12 May 2023, 19:46
Distribution: Slackware, Porteus 5.0 LXDE

Confused about packages, mainly

Post#13 by stealthfreighter » 14 May 2023, 18:41

As I mentioned before, I won't be using internet on the porteus machine.
I am not interested in any salix or whatever, I already said that I have the packages in tgz format (happily working on a vanilla Slackware 15 installation).
Also the answer to the simple question "in which order are the packages loaded" is still unanswered...
If my American English is confusing to you British English speakers, I can do nothing about that.

User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Confused about packages, mainly

Post#14 by Ed_P » 14 May 2023, 18:51

stealthfreighter wrote:
14 May 2023, 18:41
I won't be using internet on the porteus machine.
But you may be building the porteus system on a machine that does have internet access. Useful for doing Porteus updates.
stealthfreighter wrote:
14 May 2023, 18:41
the simple question "in which order are the packages loaded"
Modules are loaded in alphanumerical sequence. It is best to load an app's dependencies 1st. I have scripts that do it for some of the apps I use.
Ed

stealthfreighter
White ninja
White ninja
Posts: 18
Joined: 12 May 2023, 19:46
Distribution: Slackware, Porteus 5.0 LXDE

Confused about packages, mainly

Post#15 by stealthfreighter » 14 May 2023, 18:55

Ed_P wrote:
14 May 2023, 18:51
stealthfreighter wrote:
14 May 2023, 18:41
the simple question "in which order are the packages loaded"
Modules are loaded in alphanumerical sequence. It is best to load an app's dependencies 1st. I have scripts that do it for some of the apps I use.
Thank you for the clear answer.
May I ask why would you need scripts if they are loaded in alphanumerical sequence?

Post Reply