Ways to set links to your site

Links lead to clicks onto your website and help to improve your search engine rankings. So, it is very important to have links on the other sites. But what if you do not wish, on the other turn, to set links of the other pages on your web site? Is there any way to do so? First of all you can buy links. But you are dependant on those site owners