When you install a package to build the Linux IL2CPP player, choose the com.unity.toolchain. package based on your host (Editor) platform:
When you have installed your toolchain package, go to Project Settings > Player > Configuration and set the ScriptingBackend to IL2CPP.
To build your project go to File > Build Settings, in the Target Platform dropdown select Linux, then click Build or Build and Run.