Heres how to mine primecoin in a few simple steps
1. Download the precompiled binaries or do a git clone and compile your own executables like how would be done to litecoin.
2 visit the appdata folder
Windows: press the windows key and R. After this type %appdata% and make a folder called primecoin. In this folder create the primecoin.conf file shown below.
Linux: visit the users home folder and press control and h to show hidden files. create a folder called primecoin and create primecoin.conf in that folder
primecoin.conf file
rpcuser=****username***
rpcpassword=****password***
rpcport=***any port(mine is 8001)****
gen=1