Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

60%
+1 −0
Q&A How to identify and separate standalone applications from libraries in Linux package lists?

I want to generate a list of trending Arch/AUR packages that focuses on user-facing applications rather than background libraries and dependencies. I wrote a script that uses the data from pkgstat...

1 answer  ·  posted 1y ago by ShadowsRanger‭  ·  last activity 1y ago by alx‭

Question arch-linux packages
#12: Post edited by user avatar ShadowsRanger‭ · 2023-10-04T14:37:40Z (about 1 year ago)
  • I want to generate a list of trending Arch/AUR packages that focuses on user-facing applications rather than background libraries and dependencies.
  • I wrote a [script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) to show non-dependency packages sorted by popularity. However, it doesn't distinguish between applications and libraries, so the output isn't very useful.
  • I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages. Not just for installed packages but for all of them.
  • [pamac](https://gitlab.manjaro.org/applications/pamac), Graphical Package Manager for Manjaro Linux with Alpm, AUR, Appstream, Flatpak and Snap support, seems to identify applications vs libraries/dependencies when grouping packages into categories like "Music & Audio" or "Games". As seen in [this code](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357), pamac gets categorized package lists and populates the UI accordingly.
  • Since it may not be clear what libraries or dependencies are and I'm already using pamac as an example. I'll consider packages that appear in pamac's categories like Games and Music & Audio as applications, and other packages as libraries/dependencies.
  • As an alternative, I would consider end-user software the ones that aren't required by any other packages. This isn't perfect, just good enough. For example, [this](https://pastebin.com/hcC4Ax3R) is how I would do this for installed packages.
  • How can I identify standalone applications and separate them from libraries/dependencies in the Arch/AUR package lists? The end goal is a trending packages list focused on end-user software rather than background components.
  • I want to generate a list of trending Arch/AUR packages that focuses on user-facing applications rather than background libraries and dependencies.
  • I wrote a [script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) to show packages sorted by popularity. However, it doesn't distinguish between applications and libraries, so the output isn't very useful.
  • I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages. Not just for installed packages but for all of them.
  • [pamac](https://gitlab.manjaro.org/applications/pamac), Graphical Package Manager for Manjaro Linux with Alpm, AUR, Appstream, Flatpak and Snap support, seems to identify applications vs libraries/dependencies when grouping packages into categories like "Music & Audio" or "Games". As seen in [this code](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357), pamac gets categorized package lists and populates the UI accordingly.
  • Since it may not be clear what libraries or dependencies are and I'm already using pamac as an example. I'll consider packages that appear in pamac's categories like Games and Music & Audio as applications, and other packages as libraries/dependencies.
  • As an alternative, I would consider end-user software the ones that aren't required by any other packages. This isn't perfect, just good enough. For example, [this](https://pastebin.com/hcC4Ax3R) is how I would do this for installed packages.
  • How can I identify standalone applications and separate them from libraries/dependencies in the Arch/AUR package lists? The end goal is a trending packages list focused on end-user software rather than background components.
#11: Post edited by user avatar ShadowsRanger‭ · 2023-09-21T14:36:19Z (about 1 year ago)
  • I want to generate a list of trending Arch/AUR packages that focuses on user-facing applications rather than background libraries and dependencies.
  • I wrote a [script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) to show non-dependency packages sorted by popularity. However, it doesn't distinguish between applications and libraries, so the output isn't very useful.
  • I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages. Not just for installed packages but for all of them.
  • [pamac](https://gitlab.manjaro.org/applications/pamac), Graphical Package Manager for Manjaro Linux with Alpm, AUR, Appstream, Flatpak and Snap support, seems to identify applications vs libraries/dependencies when grouping packages into categories like "Music & Audio" or "Games". As seen in [this code](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357), pamac gets categorized package lists and populates the UI accordingly.
  • Since it may not be clear what libraries or dependencies are and I'm already using pamac as an example. I'll consider packages that appear in pamac's categories like Games and Music & Audio as applications, and other packages as libraries/dependencies.
  • How can I identify standalone applications and separate them from libraries/dependencies in the Arch/AUR package lists? The end goal is a trending packages list focused on discoverable end-user software rather than background components.
  • I want to generate a list of trending Arch/AUR packages that focuses on user-facing applications rather than background libraries and dependencies.
  • I wrote a [script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) to show non-dependency packages sorted by popularity. However, it doesn't distinguish between applications and libraries, so the output isn't very useful.
  • I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages. Not just for installed packages but for all of them.
  • [pamac](https://gitlab.manjaro.org/applications/pamac), Graphical Package Manager for Manjaro Linux with Alpm, AUR, Appstream, Flatpak and Snap support, seems to identify applications vs libraries/dependencies when grouping packages into categories like "Music & Audio" or "Games". As seen in [this code](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357), pamac gets categorized package lists and populates the UI accordingly.
  • Since it may not be clear what libraries or dependencies are and I'm already using pamac as an example. I'll consider packages that appear in pamac's categories like Games and Music & Audio as applications, and other packages as libraries/dependencies.
  • As an alternative, I would consider end-user software the ones that aren't required by any other packages. This isn't perfect, just good enough. For example, [this](https://pastebin.com/hcC4Ax3R) is how I would do this for installed packages.
  • How can I identify standalone applications and separate them from libraries/dependencies in the Arch/AUR package lists? The end goal is a trending packages list focused on end-user software rather than background components.
#10: Post edited by user avatar ShadowsRanger‭ · 2023-09-21T13:44:04Z (about 1 year ago)
  • I want to generate a list of trending Arch/AUR packages that focuses on user-facing applications rather than background libraries and dependencies.
  • I wrote a [script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) to show non-dependency packages sorted by popularity. However, it doesn't distinguish between applications and libraries, so the output isn't very useful.
  • I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages. Not just for installed packages but for all of them.
  • The pamac package manager seems to identify applications vs libraries/dependencies when grouping packages into categories like "Music & Audio" or "Games". As seen in [this code](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357), pamac gets categorized package lists and populates the UI accordingly.
  • Since it may not be clear what libraries or dependencies are and I'm already using pamac as an example. I'll consider packages that appear in pamac's categories like Games and Music & Audio as applications, and other packages as libraries/dependencies.
  • How can I identify standalone applications and separate them from libraries/dependencies in the Arch/AUR package lists? The end goal is a trending packages list focused on discoverable end-user software rather than background components.
  • I want to generate a list of trending Arch/AUR packages that focuses on user-facing applications rather than background libraries and dependencies.
  • I wrote a [script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) to show non-dependency packages sorted by popularity. However, it doesn't distinguish between applications and libraries, so the output isn't very useful.
  • I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages. Not just for installed packages but for all of them.
  • [pamac](https://gitlab.manjaro.org/applications/pamac), Graphical Package Manager for Manjaro Linux with Alpm, AUR, Appstream, Flatpak and Snap support, seems to identify applications vs libraries/dependencies when grouping packages into categories like "Music & Audio" or "Games". As seen in [this code](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357), pamac gets categorized package lists and populates the UI accordingly.
  • Since it may not be clear what libraries or dependencies are and I'm already using pamac as an example. I'll consider packages that appear in pamac's categories like Games and Music & Audio as applications, and other packages as libraries/dependencies.
  • How can I identify standalone applications and separate them from libraries/dependencies in the Arch/AUR package lists? The end goal is a trending packages list focused on discoverable end-user software rather than background components.
#9: Post edited by user avatar ShadowsRanger‭ · 2023-09-21T13:41:50Z (about 1 year ago)
  • I want to generate a list of trending Linux packages that focuses on user-facing applications rather than background libraries and dependencies.
  • I wrote a [script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) to show non-dependency packages sorted by popularity. However, it doesn't distinguish between applications and libraries, so the output isn't very useful.
  • I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages, not just installed ones but all of them.
  • The pamac package manager seems to identify applications vs libraries/dependencies when grouping packages into categories like "Music &amp; Audio" or "Games". As seen in [this code](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357), pamac gets categorized package lists and populates the UI accordingly.
  • How can I identify standalone applications and separate them from libraries/dependencies in my own Linux package lists? The end goal is a trending packages list focused on discoverable end-user software rather than background components.
  • Since it may not be clear what libraries or dependencies are and I'm already using pamac as an example. I'll consider packages that appear in pamac's categories like Games and Music &amp; Audio as applications, and other packages as libraries/dependencies.
  • I want to generate a list of trending Arch/AUR packages that focuses on user-facing applications rather than background libraries and dependencies.
  • I wrote a [script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) to show non-dependency packages sorted by popularity. However, it doesn't distinguish between applications and libraries, so the output isn't very useful.
  • I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages. Not just for installed packages but for all of them.
  • The pamac package manager seems to identify applications vs libraries/dependencies when grouping packages into categories like "Music & Audio" or "Games". As seen in [this code](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357), pamac gets categorized package lists and populates the UI accordingly.
  • Since it may not be clear what libraries or dependencies are and I'm already using pamac as an example. I'll consider packages that appear in pamac's categories like Games and Music & Audio as applications, and other packages as libraries/dependencies.
  • How can I identify standalone applications and separate them from libraries/dependencies in the Arch/AUR package lists? The end goal is a trending packages list focused on discoverable end-user software rather than background components.
#8: Post edited by user avatar ShadowsRanger‭ · 2023-09-21T12:59:45Z (about 1 year ago)
  • How to divide linux packages in real software and dependencies?
  • How to identify and separate standalone applications from libraries in Linux package lists?
  • I want to show packages that aren't dependencies sorted with a trending algorithm. I wrote [a script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) but it doesn't distinguish between software and libraries so it's very difficult to find anything useful in the output. I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages, not just installed ones but all of them. I've seen the [pamac program](https://gitlab.manjaro.org/applications/pamac) does this but I still haven't figured out how. I believe [this](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357) is the relevant code.
  • ```vala
  • this.set_cursor (new Gdk.Cursor.from_name ("progress", null));
  • current_packages_list_name = "category_%s".printf (category);
  • get_category_pkgs.begin (category, (obj, res) => {
  • var pkgs = get_category_pkgs.end (res);
  • if (view_stack.visible_child_name == "browse" &amp;&amp; current_packages_list_name == "category_%s".printf (category)) {
  • view_stack_switcher.title = category_name;
  • populate_packages_list (pkgs);
  • } else {
  • this.set_cursor (new Gdk.Cursor.from_name ("default", null));
  • }
  • });
  • ```
  • Does anyone have tips for identifying and separating standalone applications from libraries and dependencies in Linux package lists? My end goal is a trending packages list that focuses on user-facing software rather than background libraries.
  • Since it may not be clear what libraries or dependencies are. To identify applications, I will consider any package that appears in one of the categories in pamac (photo & video, music & audio, productivity, communication & news, education & science, games, utilities, development). These categories seem to be a grouping of packages by theme focusing on end-user software. I identify packages in those pamac categories as applications and treat the remaining packages as libraries/dependencies.
  • I want to generate a list of trending Linux packages that focuses on user-facing applications rather than background libraries and dependencies.
  • I wrote a [script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) to show non-dependency packages sorted by popularity. However, it doesn't distinguish between applications and libraries, so the output isn't very useful.
  • I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages, not just installed ones but all of them.
  • The pamac package manager seems to identify applications vs libraries/dependencies when grouping packages into categories like "Music &amp; Audio" or "Games". As seen in [this code](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357), pamac gets categorized package lists and populates the UI accordingly.
  • How can I identify standalone applications and separate them from libraries/dependencies in my own Linux package lists? The end goal is a trending packages list focused on discoverable end-user software rather than background components.
  • Since it may not be clear what libraries or dependencies are and I'm already using pamac as an example. I'll consider packages that appear in pamac's categories like Games and Music &amp; Audio as applications, and other packages as libraries/dependencies.
#7: Post edited by user avatar ShadowsRanger‭ · 2023-09-21T12:38:14Z (about 1 year ago)
  • I want to show packages that aren't dependencies sorted with a trending algorithm. I wrote [a script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) but it doesn't distinguish between software and libraries so it's very difficult to find anything useful in the output. I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages, not just installed ones but all of them. I've seen the [pamac program](https://gitlab.manjaro.org/applications/pamac) does this but I still haven't figured out how. I believe [this](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357) is the relevant code.
  • ```vala
  • this.set_cursor (new Gdk.Cursor.from_name ("progress", null));
  • current_packages_list_name = "category_%s".printf (category);
  • get_category_pkgs.begin (category, (obj, res) => {
  • var pkgs = get_category_pkgs.end (res);
  • if (view_stack.visible_child_name == "browse" &amp;&amp; current_packages_list_name == "category_%s".printf (category)) {
  • view_stack_switcher.title = category_name;
  • populate_packages_list (pkgs);
  • } else {
  • this.set_cursor (new Gdk.Cursor.from_name ("default", null));
  • }
  • });
  • ```
  • Does anyone have tips for identifying and separating standalone applications from libraries and dependencies in Linux package lists? My end goal is a trending packages list that focuses on user-facing software rather than background libraries.
  • Since it may not be clear what libraries or dependencies are. To identify applications, I will consider any package that appears in one of the categories in pamac (photo & video, music & audio, productivity, communication & news, education & science, games, utilities, development). These categories seem to be a grouping of packages by theme focusing on end-user software. I identify packages in those pamac categories as applications and treat the remaining packages as libraries/dependencies
  • I want to show packages that aren't dependencies sorted with a trending algorithm. I wrote [a script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) but it doesn't distinguish between software and libraries so it's very difficult to find anything useful in the output. I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages, not just installed ones but all of them. I've seen the [pamac program](https://gitlab.manjaro.org/applications/pamac) does this but I still haven't figured out how. I believe [this](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357) is the relevant code.
  • ```vala
  • this.set_cursor (new Gdk.Cursor.from_name ("progress", null));
  • current_packages_list_name = "category_%s".printf (category);
  • get_category_pkgs.begin (category, (obj, res) => {
  • var pkgs = get_category_pkgs.end (res);
  • if (view_stack.visible_child_name == "browse" &amp;&amp; current_packages_list_name == "category_%s".printf (category)) {
  • view_stack_switcher.title = category_name;
  • populate_packages_list (pkgs);
  • } else {
  • this.set_cursor (new Gdk.Cursor.from_name ("default", null));
  • }
  • });
  • ```
  • Does anyone have tips for identifying and separating standalone applications from libraries and dependencies in Linux package lists? My end goal is a trending packages list that focuses on user-facing software rather than background libraries.
  • Since it may not be clear what libraries or dependencies are. To identify applications, I will consider any package that appears in one of the categories in pamac (photo & video, music & audio, productivity, communication & news, education & science, games, utilities, development). These categories seem to be a grouping of packages by theme focusing on end-user software. I identify packages in those pamac categories as applications and treat the remaining packages as libraries/dependencies.
#6: Post edited by user avatar ShadowsRanger‭ · 2023-09-21T12:37:30Z (about 1 year ago)
  • I want to show packages that aren't dependencies sorted with a trending algorithm. I wrote [a script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) but it doesn't distinguish between software and libraries so it's very difficult to find anything useful in the output. I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages, not just installed ones but all of them. I've seen the [pamac program](https://gitlab.manjaro.org/applications/pamac) does this but I still haven't figured out how. I believe [this](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357) is the relevant code.
  • ```vala
  • this.set_cursor (new Gdk.Cursor.from_name ("progress", null));
  • current_packages_list_name = "category_%s".printf (category);
  • get_category_pkgs.begin (category, (obj, res) => {
  • var pkgs = get_category_pkgs.end (res);
  • if (view_stack.visible_child_name == "browse" && current_packages_list_name == "category_%s".printf (category)) {
  • view_stack_switcher.title = category_name;
  • populate_packages_list (pkgs);
  • } else {
  • this.set_cursor (new Gdk.Cursor.from_name ("default", null));
  • }
  • });
  • ```
  • Does anyone have tips for identifying and separating standalone applications from libraries and dependencies in Linux package lists? My end goal is a trending packages list that focuses on user-facing software rather than background libraries.
  • I want to show packages that aren't dependencies sorted with a trending algorithm. I wrote [a script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) but it doesn't distinguish between software and libraries so it's very difficult to find anything useful in the output. I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages, not just installed ones but all of them. I've seen the [pamac program](https://gitlab.manjaro.org/applications/pamac) does this but I still haven't figured out how. I believe [this](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357) is the relevant code.
  • ```vala
  • this.set_cursor (new Gdk.Cursor.from_name ("progress", null));
  • current_packages_list_name = "category_%s".printf (category);
  • get_category_pkgs.begin (category, (obj, res) => {
  • var pkgs = get_category_pkgs.end (res);
  • if (view_stack.visible_child_name == "browse" &amp;&amp; current_packages_list_name == "category_%s".printf (category)) {
  • view_stack_switcher.title = category_name;
  • populate_packages_list (pkgs);
  • } else {
  • this.set_cursor (new Gdk.Cursor.from_name ("default", null));
  • }
  • });
  • ```
  • Does anyone have tips for identifying and separating standalone applications from libraries and dependencies in Linux package lists? My end goal is a trending packages list that focuses on user-facing software rather than background libraries.
  • Since it may not be clear what libraries or dependencies are. To identify applications, I will consider any package that appears in one of the categories in pamac (photo & video, music & audio, productivity, communication & news, education & science, games, utilities, development). These categories seem to be a grouping of packages by theme focusing on end-user software. I identify packages in those pamac categories as applications and treat the remaining packages as libraries/dependencies
#5: Post edited by user avatar ShadowsRanger‭ · 2023-09-21T11:39:43Z (about 1 year ago)
  • I want to show packages that aren't dependencies sorted with a trending algorithm. I wrote [a script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) but it doesn't distinguish between software and libraries so it's very difficult to find anything useful in the output. I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages, not just installed ones but all of them. I've seen the [pamac program](https://gitlab.manjaro.org/applications/pamac) does this but I still haven't figured out how. I believe [this](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357) is the relevant code.
  • ```vala
  • get_pending_pkgs.begin ((obj, res) => {
  • var pkgs = get_pending_pkgs.end (res);
  • if (view_stack.visible_child_name == "browse" && current_packages_list_name == "Pending") {
  • populate_packages_list (pkgs);
  • } else {
  • this.set_cursor (new Gdk.Cursor.from_name ("default", null));
  • }
  • });
  • ```
  • Does anyone have tips for identifying and separating standalone applications from libraries and dependencies in Linux package lists? My end goal is a trending packages list that focuses on user-facing software rather than background libraries.
  • I want to show packages that aren't dependencies sorted with a trending algorithm. I wrote [a script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) but it doesn't distinguish between software and libraries so it's very difficult to find anything useful in the output. I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages, not just installed ones but all of them. I've seen the [pamac program](https://gitlab.manjaro.org/applications/pamac) does this but I still haven't figured out how. I believe [this](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357) is the relevant code.
  • ```vala
  • this.set_cursor (new Gdk.Cursor.from_name ("progress", null));
  • current_packages_list_name = "category_%s".printf (category);
  • get_category_pkgs.begin (category, (obj, res) => {
  • var pkgs = get_category_pkgs.end (res);
  • if (view_stack.visible_child_name == "browse" && current_packages_list_name == "category_%s".printf (category)) {
  • view_stack_switcher.title = category_name;
  • populate_packages_list (pkgs);
  • } else {
  • this.set_cursor (new Gdk.Cursor.from_name ("default", null));
  • }
  • });
  • ```
  • Does anyone have tips for identifying and separating standalone applications from libraries and dependencies in Linux package lists? My end goal is a trending packages list that focuses on user-facing software rather than background libraries.
#4: Post edited by user avatar ShadowsRanger‭ · 2023-09-21T11:36:58Z (about 1 year ago)
  • I want to show packages that aren't dependencies sorted with a trending algorithm. I wrote [a script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) but it doesn't distinguish between software and libraries so it's very difficult to find anything useful in the output. I've seen the [pamac program](https://gitlab.manjaro.org/applications/pamac/-/blob/master/src/manager_window.vala) does this but I still haven't figured out how. I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages, not just installed ones but all of them. How can I separate standalone applications from libraries and dependencies in Linux package lists? My end goal is a trending packages list that focuses on user-facing software rather than background libraries.
  • I want to show packages that aren't dependencies sorted with a trending algorithm. I wrote [a script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) but it doesn't distinguish between software and libraries so it's very difficult to find anything useful in the output. I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages, not just installed ones but all of them. I've seen the [pamac program](https://gitlab.manjaro.org/applications/pamac) does this but I still haven't figured out how. I believe [this](https://gitlab.manjaro.org/applications/pamac/-/blob/b6d4815b051d4048f00fa05a57959a5681a031b5/src/manager_window.vala#L3317-3357) is the relevant code.
  • ```vala
  • get_pending_pkgs.begin ((obj, res) => {
  • var pkgs = get_pending_pkgs.end (res);
  • if (view_stack.visible_child_name == "browse" && current_packages_list_name == "Pending") {
  • populate_packages_list (pkgs);
  • } else {
  • this.set_cursor (new Gdk.Cursor.from_name ("default", null));
  • }
  • });
  • ```
  • Does anyone have tips for identifying and separating standalone applications from libraries and dependencies in Linux package lists? My end goal is a trending packages list that focuses on user-facing software rather than background libraries.
#3: Post edited by user avatar ShadowsRanger‭ · 2023-09-21T11:17:04Z (about 1 year ago)
  • I want to show packages that aren't dependencies sorted with a trending algorithm. I wrote [a script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) but it doesn't distinguish between software and libraries so it's very difficult to find anything useful in the output. I've seen the [pamac program](https://gitlab.manjaro.org/applications/pamac/-/blob/master/src/manager_window.vala) does this but I still haven't figured out how. I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages, not just installed ones but all of them. Does anyone have tips for identifying and separating standalone applications from libraries and dependencies in Linux package lists? My end goal is a trending packages list that focuses on user-facing software rather than background libraries.
  • I want to show packages that aren't dependencies sorted with a trending algorithm. I wrote [a script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) but it doesn't distinguish between software and libraries so it's very difficult to find anything useful in the output. I've seen the [pamac program](https://gitlab.manjaro.org/applications/pamac/-/blob/master/src/manager_window.vala) does this but I still haven't figured out how. I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages, not just installed ones but all of them. How can I separate standalone applications from libraries and dependencies in Linux package lists? My end goal is a trending packages list that focuses on user-facing software rather than background libraries.
#2: Post edited by user avatar ShadowsRanger‭ · 2023-09-21T11:12:43Z (about 1 year ago)
  • I want to show packages that aren't dependencies sorted with a trending algorithm. I wrote [a script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) but it doesn't distinguish between software and libraries so it's very difficult to find anything useful in the output. I've seen the [pamac program](https://gitlab.manjaro.org/applications/pamac/-/blob/master/src/manager_window.vala) does this but I still haven't figured out how. I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages. Does anyone have tips for identifying and separating standalone applications from libraries and dependencies in Linux package lists? My end goal is a trending packages list that focuses on user-facing software rather than background libraries.
  • I want to show packages that aren't dependencies sorted with a trending algorithm. I wrote [a script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) but it doesn't distinguish between software and libraries so it's very difficult to find anything useful in the output. I've seen the [pamac program](https://gitlab.manjaro.org/applications/pamac/-/blob/master/src/manager_window.vala) does this but I still haven't figured out how. I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages, not just installed ones but all of them. Does anyone have tips for identifying and separating standalone applications from libraries and dependencies in Linux package lists? My end goal is a trending packages list that focuses on user-facing software rather than background libraries.
#1: Initial revision by user avatar ShadowsRanger‭ · 2023-09-21T10:59:04Z (about 1 year ago)
How to divide linux packages in real software and dependencies?
I want to show packages that aren't dependencies sorted with a trending algorithm. I wrote [a script](https://git.disroot.org/hirrolot19/trending-linux-packages) that uses the data from [pkgstats](https://pkgstats.archlinux.de) but it doesn't distinguish between software and libraries so it's very difficult to find anything useful in the output. I've seen the [pamac program](https://gitlab.manjaro.org/applications/pamac/-/blob/master/src/manager_window.vala) does this but I still haven't figured out how. I want to identify and separate standalone applications from libraries and dependencies for both Arch official repositories and AUR packages. Does anyone have tips for identifying and separating standalone applications from libraries and dependencies in Linux package lists? My end goal is a trending packages list that focuses on user-facing software rather than background libraries.