You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.4 KiB
2.4 KiB
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 <user>
sudo systemctl enable --now libvirtd
Step 2: set-up the openSUSE tumbleweed iso
- Download tumbleweed here
- start
virt-manager - select
QEMU/KVM - create new vm (pay attention to vm directory, RAM size, number of CPU cores and space (although the default 20GB should suffice))
- ! 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/zshdid 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 without much headache:
sudo zypper ar -fr https://download.opensuse.org/repositories/KDE:/Unstable:/Frameworks/openSUSE_Factory/KDE:Unstable:Frameworks.reposudo zypper ar -fr https://download.opensuse.org/repositories/KDE:/Unstable:/Applications/KDE_Unstable_Frameworks_openSUSE_Factory/KDE:Unstable:Applications.reposudo zypper in -t pattern devel_kde_frameworksTODO: I have yet to understand, what the 3rd line is exactly doing and how 🥴
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"- I've also registered a separate email address just for this and generated a gpg key for it:
gpg --generate-key(as usual) and then the super scarygpg --export-secret-keys -a <keyID> > filename.ascpart for importing into thunderbird (deletefilename.ascafterwards immediately!!!!!)
- I've also registered a separate email address just for this and generated a gpg key for it: