StuRa Diskussion:Install-Party/Fedora: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Zeile 199: Zeile 199:


<pre>
<pre>
    1  ls
    2  pwd
    3  ls /run/media/liveuser/fedora_localhost-live/root
    4  mount /dev/mapper/luks-d7064367-0e36-4dce-a0de-94401230d6f4 /mnt
    5  sudo mount /dev/mapper/luks-d7064367-0e36-4dce-a0de-94401230d6f4 /mnt
    6  ls /mnt/
    7  ls /mnt/home/
    8  sudo umount /mnt
     9  sudo mount /dev/mapper/luks-d7064367-0e36-4dce-a0de-94401230d6f4 /mnt -t btrfs -o subvol=root
     9  sudo mount /dev/mapper/luks-d7064367-0e36-4dce-a0de-94401230d6f4 /mnt -t btrfs -o subvol=root
   10  ls /mnt
   10  ls /mnt
Zeile 217: Zeile 209:
   17  sudo mount -t sysfs /sys /mnt/sys
   17  sudo mount -t sysfs /sys /mnt/sys
   18  sudo mount -t tmpfs tmpfs /mnt/run
   18  sudo mount -t tmpfs tmpfs /mnt/run
  19  chroot /mnt
  20  sudo chroot /mnt
  21  ls /mnt/
  22  ls /mnt/run/
   23  mkdir -p /mnt/run/systemd/resolve/
   23  mkdir -p /mnt/run/systemd/resolve/
   24  nano /mnt/run/systemd/resolve/stub-resolv.conf
   24  nano /mnt/run/systemd/resolve/stub-resolv.conf
  25  ping heise.de
   26  sudo chroot /mnt
   26  sudo chroot /mnt
  27  history
</pre>
</pre>


<pre>
<pre>
    1  dnf update
    2  ls /lib64/libcrypto.so.3
    3  ls -l /lib64/libcrypto.so.3
    4  sudo dnf update
    5  ping 8.8.8.8
    6  ping heise.de
    7  systemctl status resolv
    8  ls /run/sys
    9  ls /run/
  10  exit
   11  ping heise.de
   11  ping heise.de
  12  dnf update
  13  flatpak update
   14  sudo flatpak update
   14  sudo flatpak update
   15  sudo dnf update
   15  sudo dnf update
  16  ls -l /lib64/libcrypto.so.
   17  ls -l /lib64/libcrypto.so.3
   17  ls -l /lib64/libcrypto.so.3
  18  btrfs
  19  btrfs filesystem
  20  btrfs filesystem du
  21  btrfs filesystem du /
  22  btrfs filesystem df /
  23  sudo dnf install ddate
   24  cat /lib64/libcrypto.so.3
   24  cat /lib64/libcrypto.so.3
   25  cat /lib64/libcrypto.so.3.0.5  
   25  cat /lib64/libcrypto.so.3.0.5  
  26  rm /lib64/libcrypto.so.3
   27  rm /lib64/libcrypto.so.3
   27  rm /lib64/libcrypto.so.3
   28  ln /lib64/libcrypto.so.3.0.5 /lib64/libcrypto.so.3
   28  ln /lib64/libcrypto.so.3.0.5 /lib64/libcrypto.so.3
  29  dnf update
  30  ln -l /lib64/liblzma.so.5
  31  ls -l /lib64/liblzma.so.5
  32*
   33  sudo dnf update
   33  sudo dnf update
   34  cat  /lib64/libssl.so.3
   34  cat  /lib64/libssl.so.3
Zeile 268: Zeile 230:
   38  cat /lib64/libssl.so.3.0.8  
   38  cat /lib64/libssl.so.3.0.8  
   39  cat /lib64/libssl.so.3.0.5  
   39  cat /lib64/libssl.so.3.0.5  
  40  cd /home/
  41  ls
  42  ls Ich-5/
  43  ls Ich-5/Videos/
  44  ls Ich-5/Schreibtisch/
  45*
   46  sudo dnf update
   46  sudo dnf update
  47  ln -s /lib64/libssl.so.3 /lib64/libssl.so.3.0.5
  48*
  49  ln -s /lib64/libssl.so.3 /lib64/libssl.so.3.0.5
  50  ln -s /lib64/libssl.so.3 /lib64/libssl.so.3.0.5
   51  rm /lib64/libssl.so.3
   51  rm /lib64/libssl.so.3
   52  ln -s /lib64/libssl.so.3.0.5 /lib64/libssl.so.3  
   52  ln -s /lib64/libssl.so.3.0.5 /lib64/libssl.so.3  
Zeile 284: Zeile 236:
   54  rm /lib64/liblzma.so.5  
   54  rm /lib64/liblzma.so.5  
   55  ln -s /lib64/liblzma.so.5.2.5 /lib64/liblzma.so.5
   55  ln -s /lib64/liblzma.so.5.2.5 /lib64/liblzma.so.5
  56*
  57  history
</pre>
</pre>

Version vom 1. März 2023, 15:32 Uhr

Probleme und Lösungen

Treiber fehlen (nach dem versehentlichen Löschen durch dnf mit --allowerasing)

dnf install mesa-dri-drivers

wayland oder xorg

echo $XDG_SESSION_TYPE
wayland

Verwaltung von Partionen

dnf search blivet-gui
dnf install -y blivet-gui

Fedora Silverblue

Suchen von Paketen

rpm-ostree bietet keine Suche für Pakete.

Erstellen von einem allgemeinen Container, falls noch keiner erstellt ist

toolbox -y create
Created container: fedora-toolbox-33
Enter with: toolbox enter

Aulisten aller (nun verfügbaren) Abbilder für Container

toolbox list -i
IMAGE ID      IMAGE NAME                                        CREATED
92d6fdd7ebda  registry.fedoraproject.org/f33/fedora-toolbox:33  12 days ago

Aulisten aller (nun verfügbaren) Container

toolbox list -c
CONTAINER ID  CONTAINER NAME     CREATED        STATUS      IMAGE NAME
1234567890ab  fedora-toolbox-33  5 minutes ago  configured  registry.fedoraproject.org/f33/fedora-toolbox:33

Suchen von einem Paket (beispielsweise dem Paket ddate) mit dem standardmäßigen Programm zur Verwaltung von Paketen dnf von außerhalb vom Container im Container

toolbox run dnf search ddate

ddate.x86_64 : Convert Gregorian dates to Discordian dates

Entfernen vom allgemeinen Container, falls er nicht mehr gebraucht wird

toolbox rm fedora-toolbox-33

Entfernen vom Abbild für einen allgemeinen Container, falls es nicht mehr gebraucht wird

toolbox rmi registry.fedoraproject.org/f33/fedora-toolbox:33

Experiment KDE (Wayland) Silverblue

toolbox run sudo dnf group info kde


Group: KDE
 Description: The KDE Plasma Workspaces, a highly-configurable graphical user interface which includes a panel, desktop, system icons and desktop widgets, and many powerful KDE applications.
 Mandatory Packages:
   NetworkManager-config-connectivity-fedora
   abrt-desktop
   adwaita-gtk2-theme
   akregator
   bluedevil
   breeze-icon-theme
   colord-kde
   cups-pk-helper
   dnfdragora
   dolphin
   earlyoom
   firewall-config
   glibc-all-langpacks
   gnome-keyring-pam
   gwenview
   initial-setup-gui
   kaddressbook
   kamera
   kcalc
   kcharselect
   kcm_systemd
   kcolorchooser
   kde-gtk-config
   kde-partitionmanager
   kde-print-manager
   kde-settings-pulseaudio
   kdegraphics-thumbnailers
   kdeplasma-addons
   kdialog
   kdnssd
   keditbookmarks
   kf5-akonadi-server
   kf5-akonadi-server-mysql
   kf5-baloo-file
   kf5-kipi-plugins
   kfind
   kget
   kgpg
   khelpcenter
   khotkeys
   kinfocenter
   kmag
   kmail
   kmenuedit
   kmousetool
   kmouth
   konsole5
   kontact
   korganizer
   kruler
   kscreen
   kscreenlocker
   ksshaskpass
   ksysguard
   kwalletmanager5
   kwebkitpart
   kwin
   kwrite
   pam-kwallet
   phonon-qt5-backend-gstreamer
   pinentry-qt
   plasma-breeze
   plasma-desktop
   plasma-desktop-doc
   plasma-discover
   plasma-drkonqi
   plasma-nm
   plasma-nm-l2tp
   plasma-nm-openconnect
   plasma-nm-openswan
   plasma-nm-openvpn
   plasma-nm-pptp
   plasma-nm-vpnc
   plasma-pa
   plasma-pk-updates
   plasma-user-manager
   plasma-workspace
   plasma-workspace-geolocation
   polkit-kde
   qt5-qtbase-gui
   qt5-qtdeclarative
   sddm
   sddm-breeze
   sddm-kcm
   spectacle
   xorg-x11-drv-libinput
 Conditional Packages:
   qt-at-spi

https://pagure.io/workstation-ostree-config/blob/master/f/kde-desktop-pkgs.yaml

btw
2020-11-16:
rpm-ostree install plasma-drkonqi

failed

rpm-ostree install initial-setup-gui

failed


systemctl disable gdm
systemctl enable sddm

Auswaehlen von Plasma (Wayland) bei der Anmeldung

echo $XDG_SESSION_TYPE
wayland

Logo Fedora Silverblue

wget -c https://silverblue.fedoraproject.org/public/silverblue-logo.svg
wget -c https://silverblue.fedoraproject.org/public/silverblue-black.svg
wget -c https://silverblue.fedoraproject.org/public/silverblue-white.svg

systemd management GUI

systemd control module von KDE

Installieren vom Paket kcm_systemd ()

sudo dnf -y install kcm_systemd

Starten der Anwendung kcm_systemd

kcmshell5 kcm_systemd

System von USB (live) erreichen

    9  sudo mount /dev/mapper/luks-d7064367-0e36-4dce-a0de-94401230d6f4 /mnt -t btrfs -o subvol=root
   10  ls /mnt
   11  sudo mount /dev/mapper/luks-d7064367-0e36-4dce-a0de-94401230d6f4 /mnt/home -t btrfs -o subvol=home
   12  ls /mnt/home/
   13  sudo mount /dev/nvme0n1p2 /mnt/boot
   14  sudo mount /dev/nvme0n1p1 /mnt/boot/efi
   15  sudo mount --bind /dev /mnt/dev
   16  sudo mount -t proc /proc /mnt/proc
   17  sudo mount -t sysfs /sys /mnt/sys
   18  sudo mount -t tmpfs tmpfs /mnt/run
   23  mkdir -p /mnt/run/systemd/resolve/
   24  nano /mnt/run/systemd/resolve/stub-resolv.conf
   26  sudo chroot /mnt
   11  ping heise.de
   14  sudo flatpak update
   15  sudo dnf update
   17  ls -l /lib64/libcrypto.so.3
   24  cat /lib64/libcrypto.so.3
   25  cat /lib64/libcrypto.so.3.0.5 
   27  rm /lib64/libcrypto.so.3
   28  ln /lib64/libcrypto.so.3.0.5 /lib64/libcrypto.so.3
   33  sudo dnf update
   34  cat  /lib64/libssl.so.3
   35  ln -s /lib64/libssl.so.3
   36  ls -l /lib64/libssl.so.3
   37  ls -l /lib64/libssl.so.3.0.8 
   38  cat /lib64/libssl.so.3.0.8 
   39  cat /lib64/libssl.so.3.0.5 
   46  sudo dnf update
   51  rm /lib64/libssl.so.3
   52  ln -s /lib64/libssl.so.3.0.5 /lib64/libssl.so.3 
   53  sudo dnf update
   54  rm /lib64/liblzma.so.5 
   55  ln -s /lib64/liblzma.so.5.2.5 /lib64/liblzma.so.5