Discussion:
List default packages and propose amendmends
Anatoli Babenia
2018-11-11 06:25:20 UTC
Permalink
Hello.

Where can I see the list of packages installed by default in Fedora?

I am writing a script for automation, which uses REST API + JSON, and I wonder if jq is installed by default to use in bash scripts? It not, then why and what is the process to get it there. The rationale is that nowadays most services on the net operate through API and shipping OS with those instruments included will enable less friction when developing these.
_______________________________________________
devel mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to devel-***@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.or
Richard W.M. Jones
2018-11-11 10:06:17 UTC
Permalink
Post by Anatoli Babenia
Hello.
Where can I see the list of packages installed by default in Fedora?
The key word is "comps". There is a separate database which stores
this information and is used by (some) installer software:

https://fedoraproject.org/wiki/How_to_use_and_edit_comps.xml_for_package_groups
Post by Anatoli Babenia
I am writing a script for automation, which uses REST API + JSON,
and I wonder if jq is installed by default to use in bash scripts?
It not, then why and what is the process to get it there. The
rationale is that nowadays most services on the net operate through
API and shipping OS with those instruments included will enable less
friction when developing these.
It seems like it is not. Why not install jq if you need it? I'm not
very clear on the problem, or what you're trying to do. Is this
question related to Ansible?

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
_______________________________________________
devel mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to devel-***@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/***@lists.fedoraproje
Anatoli Babenia
2018-11-16 18:14:28 UTC
Permalink
Post by Richard W.M. Jones
The key word is "comps". There is a separate database which stores
https://fedoraproject.org/wiki/How_to_use_and_edit_comps.xml_for_package_...
👍

https://fedoraproject.org/wiki/SIGs/Minimal_Core/***@core_Group
link to sources is dead.

https://pagure.io/fedora-comps/blob/master/f/comps-f29.xml.in
a lot of optional packages. How to find the section that goes by default
but can be unselected and section that can not be unselected and will
be installed always? It is possible to place those at the file start?
Post by Richard W.M. Jones
It seems like it is not. Why not install jq if you need it? I'm not
very clear on the problem, or what you're trying to do. Is this
question related to Ansible?
Almost. I am writing script that sets up external services like Travis and
GitHub for unprivileged user session. It is great to have `curl` installed
by default to make RESTful API calls, but there is nothing to parse the
replies. I can find and patch server initialization script what installs git,
and creates users to also install jq, but in 2018 where REST based APIs
are so ubiquitous it seems logical for network connected OS to give
users tools to work with network service APIs out of the box. Maybe it
should not be curl+jq, but something like httpie.
_______________________________________________
devel mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to devel-***@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/***@lists.fedoraproject.o
Loading...