I am new to Linux, can anyone be kind enough to help me know how to install software from the terminal?
I tried to install java by entering the command in the terminal
sudo apt-get install openjdk-7-jdk
but i get errors ,
E:Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E:Unable to lock the administration directory (/var/lib/dpkg/), are you root?
I also tried root
su -
but it says that the password is incorrect, so what is root ?
Advance Thanks for the help Guys.