cgminer is a command-line software.
Open a Terminal and change the working directory to where you have your cgminer executable with the
cd command. For example, if you have it on the Desktop you have to use the following command:
cd ~/Desktop (where ~ indicates your home directory).
Then, if necessary, mark it as an executable file with the
chmod +x cgminer command and finally run it with the
./cgminer command. Note that you will probably need to run it as the root user, so you probably want to run this command instead:
You can also specify command line options. For example, if your pool URL is http://foobarpool.net:3333, your username is qwertie.1 and your password is 1234 you can run cgminer with the following command so it is preconfigured and will start working right away:
sudo cgminer -o http://foobarpool.net:3333 -u qwertie.1 -p 1234.
You can also specify lots of options for the GPU, fallback mining pools and other things. For a complete list, use this command: