📝 Documented my KDE development environment setup
parent
6f15803a10
commit
70e18d604c
@ -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 <user>
|
||||||
|
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"`
|
Loading…
Reference in New Issue