USM Unified Slackware Package Manager
Re: USM Unified Slackware Package Manager
brokenman you have done a good job the salix repository is available thank to you for the first time out of salix environment,deps search is ok i have just try with vlc from salix repos and all the txz are stored into /tmp/usm so via cli it is possible to merge all the packages into one xzm package,i don't have a gui,i think if someone know porteus don't search other system.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
Ok so if I understand correctly, the popup window asking if the user wants to 'open' the storage folder should instead be ... "Would you like to activate/install the downloaded packages?"there should be a probe about activating the modules
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Contributor
- Posts: 166
- Joined: 08 Jul 2012, 02:30
- Distribution: Porteus v3.0 LXDE i486
- Location: South Central PA, USA
Re: USM Unified Slackware Package Manager
@brokenman,
You know the fella that did the review perhaps was in a hurry or something. francois has made a good point about an activation probe. Most distro's do an automatic install after a download, but we don't.
I would suggest giving a day or so of thought to how you wish to word any instructions. Because of our unique download/install/activate method, it might be a good idea to address the "optional" directory in /porteus also. I'm thinking here of something along the lines of:
You have, or are about to, download(ed) a package from a respoitory. You have 2 options:
1 - Install the package/module after downloading (Porteus calls this "Activate")
2 - Save the package/module in a holding directory on the system which you can access and Install/Activate at a later time. That holding directory is /porteus/optional.
Also the common "layperson -1/4 geek" (me) should be reminded of the effect a sizeable package/module may have on the system.
This then brings up another quandry, how does the user learn/remember/know how to move a package from "optional" to "modules" and Activate it? We know, but is there some easy way to learn them how to do it :-)
Just thinkin,
Sean
You know the fella that did the review perhaps was in a hurry or something. francois has made a good point about an activation probe. Most distro's do an automatic install after a download, but we don't.
I would suggest giving a day or so of thought to how you wish to word any instructions. Because of our unique download/install/activate method, it might be a good idea to address the "optional" directory in /porteus also. I'm thinking here of something along the lines of:
You have, or are about to, download(ed) a package from a respoitory. You have 2 options:
1 - Install the package/module after downloading (Porteus calls this "Activate")
2 - Save the package/module in a holding directory on the system which you can access and Install/Activate at a later time. That holding directory is /porteus/optional.
Also the common "layperson -1/4 geek" (me) should be reminded of the effect a sizeable package/module may have on the system.
This then brings up another quandry, how does the user learn/remember/know how to move a package from "optional" to "modules" and Activate it? We know, but is there some easy way to learn them how to do it :-)
Just thinkin,
Sean
- francois
- Contributor
- Posts: 6327
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: USM Unified Slackware Package Manager
Sean:
You know the fella that did the review perhaps was in a hurry or something
This is clear. Maybe he should have read wikipedia on porteus or our first faq about What is porteus? But sadly even if he had done that it seems that the first is outdated and the second does not put in evidence on of the most genuine characteristic of porteus: the modules.
Most of his discussion is positive. He has some difficulties with usm but does not have the time to understand what is going on. Then surprisingly he concludes that the porteus distribution is somewhat weak:
http://distrowatch.com/weekly.php?issue ... 08#feature
Were I to evaluate Porteus as a general purpose operating system the distribution would fail to gain good marks in most areas. Porteus does not play well with USB thumb drives, the installer really doesn't give us much flexibility, we are given one default user account, no practical security and no meaningful way to acquire additional software.
I use porteus as my main distribution. The only limit of porteus is that it is based on slackware (less software pasture), but the good news is that it has also its stenghts: its efficient and solid.
You know the fella that did the review perhaps was in a hurry or something
This is clear. Maybe he should have read wikipedia on porteus or our first faq about What is porteus? But sadly even if he had done that it seems that the first is outdated and the second does not put in evidence on of the most genuine characteristic of porteus: the modules.
Most of his discussion is positive. He has some difficulties with usm but does not have the time to understand what is going on. Then surprisingly he concludes that the porteus distribution is somewhat weak:
http://distrowatch.com/weekly.php?issue ... 08#feature
Were I to evaluate Porteus as a general purpose operating system the distribution would fail to gain good marks in most areas. Porteus does not play well with USB thumb drives, the installer really doesn't give us much flexibility, we are given one default user account, no practical security and no meaningful way to acquire additional software.
I use porteus as my main distribution. The only limit of porteus is that it is based on slackware (less software pasture), but the good news is that it has also its stenghts: its efficient and solid.
Prendre son temps, profiter de celui qui passe.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- francois
- Contributor
- Posts: 6327
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: USM Unified Slackware Package Manager
I have the impression that this would exactly do the job.brokenman wrote:Ok so if I understand correctly, the popup window asking if the user wants to 'open' the storage folder should instead be ... "Would you like to activate/install the downloaded packages?"there should be a probe about activating the modules
How about the other observers?
Prendre son temps, profiter de celui qui passe.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: USM Unified Slackware Package Manager
- Found "Choose an number to confirm." somewhat confusing. Looked like it was going to enter a download phase. Less confusing would have been "Choose an number to view.", for example.
Code: Select all
root@porteus:/home/guest# usm -v You are using USM version: 3.1.6 root@porteus:/home/guest# usm -i libxt The following items were found. Choose an number to confirm. ctrl+c to quit 1) libXt-1.1.4-i486-1.txz 2) libXtst-1.2.2-i486-1.txz #? 2
- Source of Confusion?
Code: Select all
root@porteus:/home/guest# usm -s libcl Nothing was found in Slackware but i found this in slackbuilds. NAME : libcli CATEG: libraries DESC : libcli (cisco style telnet commandline interface library) VERS : 1.9.4 Would you like to attempt to build this from source? [y/n]
libcl-1.1-4-i686.pkg.tar.xz was sought for package. Suppose it's a difficult decision to decide whether to present libcl?, but in this case one could very well have gone ahead and built the wrong package.Code: Select all
OpenCL library and ICD loader from NVIDIA. Packager: Felix Yan <felixonmars@gmail.com>. License: custom Binary package: libcl-1.1-4-i686.pkg.tar.xz
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
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- Ed_P
- Contributor
- Posts: 7908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM Unified Slackware Package Manager
A USM suggestion.
I recently used the USM Gui to create a module for kpat and when done I clicked on the button to have it open the /tmp/usm/ directory. The /tmp/usm/ window opened and was filled with about 2 dozen files, the dependencies that downloaded, and the single module file in the middle. It took me a moment to see the .xzm file. A newer newbie than I may think that the module wasn't created or that they needed all the dependencies in addition to the actual module.
It might be wise to delete the dependency files after the module is created. Or create a separate directory for the module, /tmp/usm/xzm for example. Thus when a module is created and the Open Folder option is selected there is no confusion as to what file has been created and needs to be moved to the porteus/extramods directory.
I recently used the USM Gui to create a module for kpat and when done I clicked on the button to have it open the /tmp/usm/ directory. The /tmp/usm/ window opened and was filled with about 2 dozen files, the dependencies that downloaded, and the single module file in the middle. It took me a moment to see the .xzm file. A newer newbie than I may think that the module wasn't created or that they needed all the dependencies in addition to the actual module.
It might be wise to delete the dependency files after the module is created. Or create a separate directory for the module, /tmp/usm/xzm for example. Thus when a module is created and the Open Folder option is selected there is no confusion as to what file has been created and needs to be moved to the porteus/extramods directory.
Ed
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
@FrancoisI have the impression that this would exactly do the job.
Added option in GUI to install packages instead of opening target folder.
@ BogomipsFound "Choose an number to confirm." somewhat confusing. Looked like it was going to enter a download phase.
Sorry, I disagree. If you are requesting info (-i) why would one think it is entering a download phase? The label here is a generic CLI menu so it is the same label for whatever calls it. Changing it for one (-i) could make it confusing for another (-g) so I will stick with the generic label for now.
@Ed_PIt might be wise to delete the dependency files after the module is created.
This is not viable in the case where one wants to manage packages. Deleting the slackware package means it will need to be redownloaded next time it is required as a dependency. I think leaving deletion of files to the user is the best idea.
Thanks for the suggestions.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Ed_P
- Contributor
- Posts: 7908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM Unified Slackware Package Manager
I don't understand. If a package is added to a module why would it need to be added to a different module? If it's active in one isn't it available to other modules? And once the module is created when the system is rebooted these /tmp/usm packages are all deleted.brokenman wrote:@Ed_PIt might be wise to delete the dependency files after the module is created.
This is not viable in the case where one wants to manage packages. Deleting the slackware package means it will need to be redownloaded next time it is required as a dependency.
Ed
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
Yes, but this assumes one is moving the package to the modules folder and actually WANTS them activated at every boot. Some people may prefer to activate on demand and in this case may even prefer bundles.If a package is added to a module why would it need to be added to a different module?
Assuming one does not use changes.And once the module is created when the system is rebooted these /tmp/usm packages are all deleted.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Ed_P
- Contributor
- Posts: 7908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM Unified Slackware Package Manager
changes=EXIT does not save the /tmp/ directory.brokenman wrote:Assuming one does not use changes.And once the module is created when the system is rebooted these /tmp/usm packages are all deleted.
Ed
- fanthom
- Moderator Team
- Posts: 5619
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: USM Unified Slackware Package Manager
/tmp folder should be used for storing of temporary files.
if USM files supposed to be persistent then i would consider placing them in /usr/share/usm or even /opt/usm.
if USM files supposed to be persistent then i would consider placing them in /usr/share/usm or even /opt/usm.
Please add [Solved] to your thread title if the solution was found.
- Ed_P
- Contributor
- Posts: 7908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM Unified Slackware Package Manager
Ideally, if a user selects the USM option to have the downloaded packages made into a module the module could be placed in the user's extramod directory, either by default or as an option. That would eliminate the user having to find it amongst all the dependencies.
Ed
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
USM has no way of knowing the location of your extramods directory. It could be anywhere. User can just as easily use extramod= to point to their USM storage.the module could be placed in the user's extramod directory, either by default or as an option.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.