HELP: .local/bin interfering with /usr/bin

running waydroid normally:

gitxpresso@fedora44:~$ waydroid
Traceback (most recent call last):
  File "/home/gitxpresso/.local/bin/waydroid", line 11, in <module>
    sys.exit(tools.main())
             ^^^^^^^^^^
AttributeError: module 'tools' has no attribute 'main'

Running waydroid from /usr/bin:

gitxpresso@fedora44:~$ /usr/bin/waydroid
[20:37:59] Starting waydroid session
^C^Z
[2]+  Stopped                    /usr/bin/waydroid
gitxpresso@fedora44:~$ 

ls .local/bin output:

 wc
 wcurl
 wdctl
 WebKitWebDriver
 websockets
 weechat
 weechat-curses
 weechat-headless
 westcos-tool
 wev
 wf-recorder
 wget
 wget2
 whatis
 whatis.man-db
 whatnow
 whereis
 which
 whiptail
 whirlpool-hash
 who
 whoami
 whois
 whois.md
 whom
 widl
 wihotspot
 wihotspot-gui
 winbindd
 winpr-hash
 winpr-makecert
 wipefs
 wireplumber
 wire-test
 wish
 wish8
 wish8.6
 wish9.0
 withsctp
 wl-copy
 wlfreerdp
 wl-gammactl
 wlogout
 wl-paste
 wlrctl
 wmc
 wmctrl
 wmenu
 wmenu-run
 wnck-urgency-monitor
 wob
 wobmute
 wob_process
 wobvolumedown
 wobvolumeup
 wol
 wol-bootptab
 wol-dhcpdconf
 wora
 wordview
 wpa_cli
 wpa_passphrase
 wpa_supplicant
 wpctl
 wpexec
 wrc
 wrestool
 write
 wrudf
 wsdd
 wsdump
 wspsearch
 wsrep_sst_backup
 wsrep_sst_common
 wsrep_sst_mariabackup
 wsrep_sst_mysqldump
 wsrep_sst_rsync
 wsrep_sst_rsync_tunnel
 wsrep_sst_rsync_wan
 wtype
 wvgain
 wvtag
 wvunpack
 X
 x42-darc
 x42-dpl
 x42-fat1
 x42-fil4
 x42-matrixmixer8x8
 x42-meter
 x42-mixtri
 x42-phaserotate
 x42-scope
 x42-spectr
 x42-stepseq
 x42-tuna
 x86_64
 x86_64-redhat-linux-c++
 x86_64-redhat-linux-g++
 x86_64-redhat-linux-gcc
 x86_64-redhat-linux-gcc-16
 x86_64-redhat-linux-gnu-pkg-config
 x86_64-w64-mingw32-addr2line
 x86_64-w64-mingw32-ar
 x86_64-w64-mingw32-as
 x86_64-w64-mingw32-c++
 x86_64-w64-mingw32-c++filt
 x86_64-w64-mingw32-cpp
 x86_64-w64-mingw32-dlltool
 x86_64-w64-mingw32-dllwrap
 x86_64-w64-mingw32-elfedit
 x86_64-w64-mingw32-g++
 x86_64-w64-mingw32-gcc
 x86_64-w64-mingw32-gcc-16.1.1
 x86_64-w64-mingw32-gcc-ar
 x86_64-w64-mingw32-gcc-nm
 x86_64-w64-mingw32-gcc-ranlib
 x86_64-w64-mingw32-gcov
 x86_64-w64-mingw32-gcov-dump
 x86_64-w64-mingw32-gcov-tool
 x86_64-w64-mingw32-gprof
 x86_64-w64-mingw32-ld
 x86_64-w64-mingw32-ld.bfd
 x86_64-w64-mingw32-lto-dump
 x86_64-w64-mingw32-moc-qt5
 x86_64-w64-mingw32-nm
 x86_64-w64-mingw32-objcopy
 x86_64-w64-mingw32-objdump
 x86_64-w64-mingw32-pkg-config
 x86_64-w64-mingw32-qdbuscpp2xml-qt5
 x86_64-w64-mingw32-qdbusxml2cpp-qt5
 x86_64-w64-mingw32-qmake-qt5
 x86_64-w64-mingw32-ranlib
 x86_64-w64-mingw32-rcc-qt5
 x86_64-w64-mingw32-readelf
 x86_64-w64-mingw32-size
 x86_64-w64-mingw32-strings
 x86_64-w64-mingw32-strip
 x86_64-w64-mingw32-syncqt.pl-qt5
 x86_64-w64-mingw32ucrt-pkg-config
 x86_64-w64-mingw32-uic-qt5
 x86_64-w64-mingw32-windmc
 x86_64-w64-mingw32-windres
 x86_energy_perf_policy
 xargs
 xauth
 xbrlapi
 xb-tool
 xcur2png
 xdelta
 xdelta3
 xdg-dbus-proxy
 xdg-desktop-icon
 xdg-desktop-menu
 xdg-email
 xdg-icon-resource
 xdg-mime
 xdg-open
 xdg-screensaver
 xdg-settings
 xdg-user-dir
 xdg-user-dirs-update
 xdpyinfo
 xdriinfo
 xembedsniproxy
 Xephyr
 xfreerdp
 xfs_admin
 xfs_bmap
 xfs_copy
 xfs_db
 xfs_estimate
 xfs_freeze
 xfs_fsr
 xfs_growfs
 xfs_info
 xfs_io
 xfs_logprint
 xfs_mdrestore
 xfs_metadump
 xfs_mkfile
 xfs_ncheck
 xfs_property
 xfs_quota
 xfs_repair
 xfs_rtcp
 xfs_spaceman
 xgettext
 xhost
 xinit
 xinput
 xkbcomp
 xls2csv
 xmessage
 xminicom
 xml2-config
 xmlcatalog
 xmllint
 xmlsec1
 xmlwf
 xmodmap
 Xorg
 xorrecord
 xorriso
 xorriso-dd-target
 xorrisofs
 xpath
 xprop
 xqmstats
 xrandr
 xrdb
 xsel
 xsetroot
 xsettingsd
 xslt-config
 xsltproc
 xsubpp
 xtables-monitor
 xtables-nft-multi
 xvinfo
 Xwayland
 xwayland-satellite
 xwaylandvideobridge
 xz
 xzcat
 xzcmp
 xzdec
 xzdiff
 xzegrep
 xzfgrep
 xzgrep
 xzless
 xzmore
 yacc
 yaml2obj
 yaml2obj-22
 yarn
 yarnpkg
 yasm
 yat2m
 ydotool
 ydotoold
 yes
 ypdomainname
 yq
 ytasm
 yt-dlp
 yum
 yum-builddep
 yum-config-manager
 yumdownloader
 yum-groups-manager
 zcat
 zcmp
 zdiff
 zdump
 zegrep
 zenity
 zfgrep
 zforce
 zgrep
 zic
 zig
 zip
 zipcloak
 zipdetails
 zipgrep
 zipinfo
 zipnote
 zipsplit
 zita-at1
 zita-rev1
 zless
 zmore
 znew
 zonage
 zoxide
 zramctl
 zresample
 zretune
 zsh
 zsoelim
 zstd
 zstdcat
 zstdgrep
 zstdless
 zstdmt
 zvbi-atsc-cc
 zvbi-chains
 zvbid
 zvbi-ntsc-cc
 zynaddsubfx
 zynaddsubfx-controller
 zynaddsubfx-ext-gui
 zynaddsubfx-spliter

So, for some reason /usr/bin/* is copied to .local/bin, but when removing .local/bin, i can’t run any commands and “sed command not found, would you like to install sed” repeats every time a command or key bind is executed

Nothing in Fedora will have done this.
I will have something you have done.

Have you been building software yourself?

Seems the easy clean up is to rm the files in .local/bin.

The symptoms you describe can occur in many ways other than copying files.

Please use a terminal to show us ls -ld /usr/bin $HOME/.local/bin, echo $PATH, ls -lZ /usr/bin |head and ls -lZ $HOME/.local/bin |head (as pre-formatted text) so we can understand the current state.

You should look at the human-written book from https://LinuxCommand.org to become familar with command-line tools. These are the most effective tools to communicate issues with the broader Linux community and can be used in situations where the GUI is broken. You will be better off starting with Fedora 44 so you are less likely to encounter broken software.

I know how to use the linux command line, but i never could use native linux because of the restrictions put on me resulting in less experience in troubleshooting using dmesg, journalctl, and other similar commands.

When moving all files in .local/bin to a backup directory /usr/local/bak, i get this error:

gitxpresso@fedora44:~/.local/bin$ sudo mv ~/.local/bin/* /usr/local/bak
gitxpresso@fedora44:~/.local/bin$ ls
bash: /home/gitxpresso/.local/bin/ls: No such file or directory
gitxpresso@fedora44:~/.local/bin$ ls
bash: /home/gitxpresso/.local/bin/ls: No such file or directory
gitxpresso@fedora44:~/.local/bin$ 

What does echo $PATH show?

What im saying is .local/bin is interfering with the /usr/bin, and i have to manually execute any command with the full path

PATH=“/usr/libexec/gcc/x86_64-redhat-linux/16:/usr/libexec/gcc/x86_64-redhat-linux/16:/home/gitxpresso/.cargo/bin:/home/gitxpresso/.local/bin:/home/gitxpresso/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/gitxpresso/.composer/vendor/bin:/var/lib/snapd/snap/bin”

I moved all files in .local/bin to: /usr/local/bak, and reinstalled coreutils like this:

sudo dnf reinstall -y coreutils --allowerasing

And it seemed to fix the issue with “sed command not found even though it existed in /usr/bin”

You can use the /usr/bin/which command to find out where a command will be run from.
/usr/bin/which sed would have told you which sed would be used.

or ``type``

AstroNvim couldn’t use stdbool.h and the issue i had with .local/bin was the problem, and by reinstalling coreutils fixed my issue.