Home Learn Linux Linux Answers Applications When I type in terminal it says not found
  • As u mentioned apt-get, I am assuming u r using Ubuntu.... If this is Ok, u can use the webupd8 java ppa, so u get updates automatically through the package manager. then pass the commands.....
    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java7-installer
    sudo update-java-alternatives -s java-7-oracle

    Or u can dnld tar file to install it manually.

    Answered by rechil_colin
    2 years ago
    0 0
  • The reason the command could not be found is because the command you are trying to use is "apt-get" and not "apt". I hope that helps.

    Answered by DavidChipman
    2 years ago
    0 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category Applications

Upcoming Linux Foundation Courses

  1. LFD312 Developing Applications For Linux
    16 Feb » 20 Feb - Atlanta - GA
  2. LFD331 Developing Linux Device Drivers
    16 Feb » 20 Feb - San Jose - CA
  3. LFS220 Linux System Administration
    16 Feb » 19 Feb - Virtual

View All Upcoming Courses

Community Answers - Search

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board