I have installed sqlplus based on instruction given here
sqlplus \'username/password@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.100)(PORT=1521))(
Answer obtained here.
1 - Get your hostname:
$ hostname
new-host
2 - Change the contents of /etc/hosts:
$ sudo cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
$ sudo nano /etc/hosts
$ sudo cat /etc/hosts
127.0.0.1 localhost new-host
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
Hope this helps (: