What you need:
Copy all the contents onto the sd card and insert it into your phone.
First of all, you need to get your Phone into Recovery Mode. This is done either by adb or key combination.
The key combination for Recovery Mode is Power + Home Button. Hold the buttons until Samsung Logo disappears.
If using adb, go to applications > developer > enable USB Debugging.
Connect your phone with a >high quality usb cable< to your computer.
On your computer open powershell or commandline with:
Home > „cmd“ or „powershell“ type „adb devices“. If you see your device listed, type „adb reboot recovery“.
Next you navigate with volume up + down to >install zip from sd< with home button first and select the clockworkmod-file to install, by pressing it again.
After that, your screen should look blue and a bit different. Now navigate to install zip from sd and install twrp.
When you are finished installing twrp,
CM 11: select backup > ubuntu_backup and swipe to install.
The next step is to install google appstore. Go back to the Main TWRP page, select install and install gapps.zip
Reboot and you are finished 🙂