Here's what I have done:
sudo apt-get install vidalia
and it has been installed after that I've set the proxy settings in network to
localhost:8118 and applied it system wide; however, when I want to install a package via apt-get an error logs saying:
Unable to connect to localhost:8118: [IP: 127.0.0.1 8118]
Also tor check is not working because I can't connect to the internet at all when the proxy option is applied.
The main propose of using tor here is to use it with terminal.
Update: I've already applied the configuration to the polipo, FYI.