# How to set the existing kernel version in the system to use you system
###### tags: `Linux` `Kernel` `OS`
### Step 1: List All Installed Kernel Versions
```javascript=
$ dpkg --list | grep linux-image
ii linux-image-4.15.0-29-generic 4.15.0-29.31
ii linux-image-4.15.0-50-generic 4.15.0-50.54
ii linux-image-generic 4.15.0.50.52
... OUTPUT TRUNCATED ...
```
To remove the already existing image.
```javascript=
dpkg --purge linux-image-{$Kernel-Version}
```
Then Install the new kernel in this method
