View previous topic :: View next topic |
Author |
Message |
bperegrine n00b
Joined: 23 Dec 2017 Posts: 37
|
Posted: Fri Mar 02, 2018 5:40 pm Post subject: Package version for glibc / uclibc / musl |
|
|
For people that want to install gentoo, it's useful to know whether some packages (that the user wants to install) are available in uclibc or musl version (rather than standard glibc version). Reason here is that most users would want to use uclibc or musl (as uclibc and musl is faster than glibc) unless the packages he wants to include simply aren't available in uclibc/musl version. Also, even if they're not available, knowing which packages are available in uclibc/musl version is useful as he can then make a decision on what packages he wishes to swap out for other packages (that are available in uclibc/musl version).
So the question is: Is there a way to know which packages are available in uclibc/musl version (and which doesn't require having gentoo installed) ? The https://packages.gentoo.org/packages/ website doesn't seem to provide such info per package (it just tells you whether the package is available for your cpu architecture (x86, x86_64, arm, sparc, ...)) |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
|
Back to top |
|
|
Mr. T. Guru
Joined: 26 Dec 2016 Posts: 477
|
Posted: Fri Mar 02, 2018 8:13 pm Post subject: |
|
|
You may be interested by:
- Gentoo Hardened uClibc
- Gentoo Hardened musl
I think you have to test a package to see if it works with musl or another standard C library. |
|
Back to top |
|
|
bperegrine n00b
Joined: 23 Dec 2017 Posts: 37
|
|
Back to top |
|
|
Mr. T. Guru
Joined: 26 Dec 2016 Posts: 477
|
Posted: Sun Mar 04, 2018 3:48 pm Post subject: |
|
|
Advices that can be given varies depending on the level of the user. Currently, there is no documentation for end-users (or average users).
For example, my operating system (based on musl libc) is partially functional and not operational. I am trying to make progress and hope to arrive safely.
bperegrine wrote: | If not, how can I get such a list (there's a contents file I can download, but that's too detailed, I just want the programs that are installed on it) |
- I believe you can get the list of installed packages (a posteriori) using an utility that uses the world set. The process depends on the tool used.
Otherwise (see "Edit", below), you can view the packages installed looking at /var/db/pkg (see man portage).
bperegrine wrote: | The only problem here is that I'd like to have a list with everything in it, because I want to add and remove stuff as well. |
Edit: I believe it is easier to get a list of installed packages and then add or remove packages as usual, e.g. emerge --unmerge.
Personally, I use pquery -I (sys-apps/pkgcore) to get the list of installed packages. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|