User:Kyoran/tmp

From Gentoo Wiki
Jump to:navigation Jump to:search

This is just a scratchpad, please ignore it.



BPF

rework Knowledge_Base:Remove_orphaned_packages

+article explaining oneshot

Special:PageTranslation

changes

/wiki/Login integrate with shell

explain do not add dependencies to world. If dependancy needed for ie app being devel locally, create custom repo "eselect repository create myprohect-dependencies" or custom profiles ?

man article, sh: /usr/bin/less: No such file or directory section, add better ref to depclean

man page : constrained systems, suggest rm mandb etc from system set ? probably not good idea. maybe for embedded systems though?... The sys-apps/man-db and sys-apps/man-pages packages 'might' be able to be removed

wiki : why after bullet list, too little space - or two much if two crs added ?

--keep-going

virtual packages: how to swap dependenceis : oneshot then depclean

dont run unstable, unless you wnat to help out testing & fileing bug reports, or rally know what you are doing.

Gentoo is rock solid. anyone who runs g stable and has compared it to other major distributions will know what this means. Gentoo does not crash, or dysfunction. Issues come from operator error, not reading & following the docs, or misunderstanding how things work.

Gentoo is rock solid. anyone who runs g stable and has compared it to other major distributions will know what this means. Gentoo does not crash, or dysfunction. Issues come from operator error, not reading & following the docs, or misunderstanding how things work. G pulls this off wile having more up to date packages than most other stable dists, often closely following upstream for many important pkgs.

dont run unstable, unless you wnat to help out testing & fileing bug reports, or rally know what you are doing. only selectively add unstable packages if absolutely necesary. it is often easier to live with an issue or missing func than to deal with unexpected bugs.

gentoo is comlex. why should all linux distributions be simple, at the cost of functionality, of power ? Just because non tech savvy need simple os, server administrators have their own needs etc. all linux distributions must not be constrained by low com denom. Gentoo is the only dist for linux pros, developers & serious enthousiats, that puts the power in the users hands...

"Recommended applications has a list of useful software suited to graphical environments, with descriptions. Recommended tools has suggestions of command-line programs." in sw catgry

txt

This wiki aims to present exhaustive documentation for the Gentoo operating system, the packages, commands, and concepts that comprise it or are important for it's use. Basic documentation will be provided for notable packages from the Gentoo repository, developing specific information for getting software running and configured on Gentoo - with some pointers on basic usage, tips, and troubleshooting - for convenience. Many software projects provide comprehensive documentation themselves, delivering this in different ways, and these will be referenced from the wiki where appropriate. For many packages, the man pages will contain the canonical documentation.

the way of doing things laid out in this wiki is not strictly canonical, it is often based on sane defaults, meant for illustration or to get up and running. if you* know better, do not be constrained by how things are presented !

Gentoo is aimed at a specific user. one who wants to invest in learning and using Linux to get the maximum power and rewards for their experience.

masking

wiki//var/db/repos/gentoo/profiles/package.mask

<c> kyoran: well, the exact location depends on your repo location and when you installed your system <w> kyoran: use.mask is USE flags masked globally, package.use.mask is flags masked for specific packages. Older Gentoo builds may have the repository (and, subsequently, profiles directory) at /usr/portage, newer systems tend to have it at /var/db/repos/gentoo, any system can have it elsewhere. how do you unmask a use flag that has been masked by /usr/portage/profiles/base/package.use.mask? c> this is probably an easy question, but I haven't find the answer — how do you unmask a use flag that has been masked by /usr/portage/profiles/base/package.use.mask? <w> /etc/portage/profile/package.use.mask:foo/bar -flag <c> I'm pretty sure I already tried that, let me try again :-m <w> If it doesn't work, provide full command and output to a paste service and link.

<c> no, I hadn't tried that one <c> I had tried /etc/portage/profile/package.use.mask based on the logic that a /etc/portage/package.unmask file can unmask packages masked by /usr/portage/profiles/package.mask <c> isn't this confusing or is it just me? USE masks are a bit different, yes it is confusing there is no use.unmask file <w> You need to negate the mask that was put in place - if it's masked as "foo/bar flag", you need to "foo/bar -flag" in a similarly named file to override locally. <c> yes, sorry, that's what I mean, I wanted to say I tried /etc/portage/profile/package.use.unmask, I guess you got it although I said it wrong <c> yeah, using wraeth's advice worked, thanks The question was about unmasking a USE flag masked for a specific package - package.use.mask.

well, the exact location depends on your repo location and when you installed your system

<w> kyoran: use.mask is USE flags masked globally, package.use.mask is flags masked for specific packages. Older Gentoo builds may have the repository (and, subsequently, profiles directory) at /usr/portage, newer systems tend to have it at /var/db/repos/gentoo, any system can have it elsewhere. <c> I think the new default location for repos is /var/db/repos, but I have systems that are 10 years old when the main portage dir was going to /usr/portage w> Portage has a bit of a learning curve as far as the intricacies of masks, USE flags, per-package handling, and profiles, but it makes sense once you get your head around it. As I suggested, though, we're always open to improving documentation when it's lacking. :)


-


s> Can an ebuild's keyword list be influenced by a use flag? I.e., can a USE flag keyword mask/unmask a package if it set or unset? hi sam_ <w> p: No. A package may have stable, ~arch, or no keywords, and a USE flag may be masked, either globally or for the package, for a given keyword, but the keywords for a package cannot be changed by the state of a USE flag. <sa> that said, you can mask USE flags on certain profiles <w> Yes, well, "keyword" and "profile" is vaguely interchangeable, as far as flags are concerned, there. It's a bit complicated. cesswatch> nvm, what I was thinking about doesn't make sense. I wanted and 'lts' flag to follow the latest lts version, but I guess that is kind of antithetical to 'long-term'. <j> p: LTS for what?

dist-kernel, although the concept could apply to any package that supports it. <x> p: no, use flags are independent of keywords

openrc

what is it that determines the order of services being started?

<C> : each init script has a depend() function where you can define dependencies with various operators like "need", "use", "before" or "after". <C> depend() { before localmount ; after keymaps } <-- example <C> "localmount" and "keymaps" are other init scripts.

periodic tasks

Profile_(Portage) update profile age in 1st §


xfce apps

whisker menu

work on

Upgrading_Gentoo

wiki/Xfce/Guide

wiki/Gentoo_Cheat_Sheet some outdated commands

ideas

rest wiki : btn for important edits

heads up cirtual packages & nano depclean

"propose changes" to protected articles

site like https://man.archlinux.org/ https://manpages.ubuntu.com/ to link to man pages from wiki

invocation template for < command > --help, more compact than current template (less lines) with into text : "presentation of invocation options for command"...

emerge --depclean needs explanation. must warn about removing needed sw, ie nano, kernel etc : virtual packages that get another slot filled...

portage pbs : --keep-goins, --backtrack...

wiki/Knowledge_Base:Accepting_a_keyword_for_a_single_package + autoun zz

Upgrading_Gentoo

app pages

Useful_Portage_tools

Qt_Desktop_applications

Qt_Desktop_applications

Recommended_tools

Category:Software

Bootloader

Terminal_emulator

IRC

Qt_Desktop_applications

Torrent

Chroot

archive tools list

Software_tools_list


hardware configuration pages

system configuration pages

PPP

Partition




guides

dv : start readme explaining what proj is

of interest

Bootloader wiki/Selected-packages_set_(Portage)#Emerge_a_package_without_adding_it_to_the_world_file


wiki/Gentoolkit#revdep-rebuild no longer needed, so sould not be recomended in Project:Portage/FAQ etc

ext

https://www.serra.me/en/2020/03/using-snap-packages-in-gentoo/

https://www.google.com/search?client=firefox-b-d&q=gentoo+snaps

glossary


questions

wiki/Cinnamon#Xorg how install X for DE ? dependency pull-in ? desktop profile ? use flag in m.c ?

how to format inline app or framework names

comma ? "Lightweight, tiling, minimalist, window manager"

how to reference links in edit summary

Common reasons for masking include pre-release (unstable) versions of a certain package, there is no more upstream development, and there are known security issues in the package.

why clolor map artcile desctiption not come through ? wiki.gentoo.org/wiki/Portage#See_also

why does doc use flag not work - or rather why cant it be fixed ?

XEmacs dead ?


how to file a bug against handbook, ie : typo : wiki.gentoo.org/wiki/Handbook:X86/Portage/Branches#Testing_particular_versions

how autounmask work on new install. should it be said to be best solution for novice ? wiki.gentoo.org/wiki/Knowledge_Base:Accepting_a_keyword_for_a_single_package#Using_--autounmask-write_emerge_command_option

is the games group still used ? wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Finalizing

"Error: This action has been automatically identified as harmful, and therefore disallowed. If you believe your action was constructive, please inform an administrator of what you were trying to do. A brief description of the abuse rule which your action matched is: Disable writing internal wiki links " ie when adding certain plain text http links - explain this somewhere in the wiki docs.

how ofen should gentoo be updated at the most - specify this somewhere.

who when how why close discussions ? Help_talk:Talk_pages

wiki/Handbook:AMD64/Installation/Media#What_are_stages_then.3F should mention what stage tarball to chose, but that comes later: wiki/Handbook:AMD64/Installation/Stage#Choosing_a_stage_tarball also this should be made explicit how it relates to profile selection

profile selection should be better explained


what happens if use changes suggested and applied by emerge... then redo emerge w/o dispatch conf ? problem with double change or not ?


Handbook:AMD64/Working/Portage#Updating_the_Gentoo_repository whould it say webrsync can be faster for new installs ?

ebuilds ?

https://joplinapp.org/

cherrytree

tldr

new pages

Gentoo_Wiki:Requested_Articles

security suggestions ?

clipboards

circular dependencies

profiles, repositories, ebuilds differences &how they fit together

/etc/portage/profile/packages emerge --inject (depreciated)

how do you unmask a use flag that has been masked by /usr/portage/profiles/base/package.use.mask?

move gentoo fron one partition to another, one pc to another

move from dos to gpt, bios to uefi

what is on my system ? page : equery belongs, whereis info, system set, world...

compling software on gentoo : NEVER sudo make install !!! maybe prefix to ~ or just make; ./exe, but should ebuild in local overlay use wiki.gentoo.org/wiki/Custom_ebuild_repository www.reddit.com/r/Gentoo/comments/lt3369/best_way_to_install_custom_compiled_software/ forums.gentoo.org/viewtopic-t-1072328-start-0.html

doc : explain docs : man, info, web, -h --help, fish hep, f1, yelp, kde help, pydoc, sphynx, rest, *doc use flag*

essential sw, cf wiki/Troubleshooting#Programs

coreutils

kitty

files : where is what does it do

suggestions

hb: ls /sys/firmware/efi/efivars to check uefi ?

script to show handbook, from web ? local handbook in installation iso

make tools like genfstab arch-chroot from arch

say to use guide as installation method - no other, there are no shortcuts.

replace doc use flag with : userdoc, apidoc, mangen etc

+dont o3, dont lto pgo, EMERGE_DEFAULT_OPTS no -jx, dont use ~arch=lots of rebuilds.

"dependency calculation is difficult problem. build tools are legacy heavy, config is dependent on system state. sometimes this can cause emerge pbs 4 which jumping 2 rest of emerge + coming back, or emerging select packages --oneshot in advance, can help."

info on compile times. nb. compiles can be quick on modern high end, save a few, such as browsers. 1st install will be longest.

gentoo automates software build and installation, and it does it a level above other pms, ie maints dont have to manually...

please read and make sure the handbook was followed correctly before asking for help

basic rules 2 start

never em -C

avoid testing

dont sudo make install

dont o3

dont gold, lto etc

sure there are more obvious & more important ones

dont login as root ?

do use keys, dont put passwords in shell scripts ?

do use pw manager ?

dont use doc use flag

dont pollute world & dont put dependancies in it :use -1

disable root over ssh

move

Android/Terminal_Emulators_(Tips-and-tricks)

RECCOMENDED APPS TO CONSIDER FOR SECONDARY LIST

packages.gentoo.org/packages/dev-libs/input-pad xpad standardnotes.org

++

Feh

Ethernet

PPP

GTK_themes_in_Qt_applications

Knowledge_Base:Accepting_a_keyword_for_all_packages

Knowledge_Base:Unmasking_a_package

Knowledge_Base:Autounmask-write

Knowledge_Base:Unmasking_a_package

Knowledge_Base:Accepting_a_keyword_for_a_single_package

Portage

Hwinfo

Screen

Tmux

Init_system

Localization

Profile_(Portage)

Upgrading_Gentoo

Kakoune

Portage

Dispatch-conf

PulseAudio

Emacs

MATE

GNOME

Alacritty

LibreOffice

Quassel_Core

Skype

Signal_Desktop

Chromium

GIMP

Mpv

VLC

Audacious

Samba

Systemd

Pciutils

GNOME/GDM

Desktop_environment

FAQ

Terminal_emulator

Bash

Dash

KDE

Display_manager

Qtile

Window_manager

File_managers

Shell

Desktop_environment

Recommended_applications

Info

Python

Django

Zsh

Xfce

GNU_Emacs

Man_page

PipeWire

Vim

Runit

Distributions_based_on_Gentoo

Mdev

OpenRC/Users

OpenRC

Fish

OpenRC/openrc-init

Prefix

OpenRC/supervise-daemon

Recommended_tools

make.conf

[[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]] [[]]