From 70e18d604c14ab05764aa83c6239f5cde36503c0 Mon Sep 17 00:00:00 2001 From: Isabell Pflug Date: Wed, 6 Sep 2023 19:04:10 +0200 Subject: [PATCH] :memo: Documented my KDE development environment setup --- coding/kde_dev-environment-setup.md | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 coding/kde_dev-environment-setup.md diff --git a/coding/kde_dev-environment-setup.md b/coding/kde_dev-environment-setup.md new file mode 100644 index 0000000..defdb7a --- /dev/null +++ b/coding/kde_dev-environment-setup.md @@ -0,0 +1,33 @@ +## Set-up of a VM with openSUSE tumbleweed for KDE development + +#### Step 1: Installation of KVM on debian +I picked the GUI version: +``` +sudo apt install virt-manager qemu-system libvirt-daemon-system qemu-utils +sudo usermod -aG libvirt,kvm +sudo systemctl enable --now libvirtd + +``` + +#### Step 2: set-up the openSUSE tumbleweed iso +1. Download tumbleweed [here](https://get.opensuse.org/tumbleweed/) +2. start `virt-manager` +3. select `QEMU/KVM` +4. create new vm (pay attention to vm directory, RAM size, number of CPU cores and space (although the default 20GB should suffice)) +5. ! warning ! I've ran into an issue that my vm suspended itself when I tabbed out before I started the installation process which caused the vm to crash to a point where it couldn't start the installation screen anymore. I am not sure whether that issue would have also come up if I would have tabbed out of the running installation process because I did not dare to. Caution advised. + +#### Step 3: Getting everything inside the vm set-up +##### zsh +* for some (to me) unknown reason, `chsh -s /usr/bin/zsh` did not work. workaround: creating a new profile in Konsole and assigning zsh to it. +* typical zsh set-up. first downloading my `.zshrc`, then installing antigen into `$HOME/.antigen/antigen.zsh` +##### packages +* git is not pre-installed. Time to get to know `zypper`! It's just a package manager, nothing scary. +* mia-provided way of getting kde development libs and packages onto my system: + 1. `sudo zypper ar -fr https://download.opensuse.org/repositories/KDE:/Unstable:/Frameworks/openSUSE_Factory/KDE:Unstable:Frameworks.repo` + 2. `sudo zypper ar -fr https://download.opensuse.org/repositories/KDE:/Unstable:/Applications/KDE_Unstable_Frameworks_openSUSE_Factory/KDE:Unstable:Applications.repo` + 3. `sudo zypper in -t pattern devel_kde_frameworks` + +#### Step 4: Configuration +##### git +* `git config --global user.name "firstname lastname"` + `git config --global user.email "needs to be the same email as registered on bugs.kde.org"`