Unless you already have experience setting up a JVM stack, it's going to take you many hours.
apt-get install jenkins
How you'd spend 'many hours' on that is beyond me.
I have a strong feeling someone is trolling here.
Can you paste some of these 'cryptic error messages' that you were getting?
Then you have many platform specific packages or you can just download the war and run "java -jar jenkins.war".
Unless you already have experience setting up a JVM stack, it's going to take you many hours.