Question:
The ubuntu terminal screen doesn't give any prompts?
jacoborcup
2011-06-02 06:25:20 UTC
I tried to install java in ubuntu 10.10 using sudo apt-get install sun-java6-jre (or jde don't remember exactly). now the terminal gives a screen which asks me to accept the terms contained in the licence agreement. with a button like ok. i don't know how to press the ok in this interface.... any help most welcome... thanks a lot
Three answers:
?
2011-06-02 06:41:20 UTC
Hitting the "Tab" button on your keyboard ought to make the "Enter" or "Okay" button selectable. Then you can continue on with your install.
Linux Mint 11
2011-06-02 14:34:15 UTC
Install Java (JRE and the Java Plugin) In Ubuntu 10.10 Maverick Meerkat

http://www.webupd8.org/2010/09/how-to-install-java-jre-and-java-plugin.html



Ubuntu 10.10 (Maverick Meerkat) User Guide

http://ubuntuguide.org/wiki/Ubuntu:Maverick





LUg.
?
2011-06-02 07:40:07 UTC
one way to get past prompts with installs is to use the -y argument.



example:



apt-get -y install sun-java6-jre



apt 0.7.25.3ubuntu9.4 for i386 compiled on Feb 23 2011 22:08:44

Usage: apt-get [options] command

apt-get [options] install|remove pkg1 [pkg2 ...]

apt-get [options] source pkg1 [pkg2 ...]



apt-get is a simple command line interface for downloading and

installing packages. The most frequently used commands are update

and install.



Commands:

update - Retrieve new lists of packages

upgrade - Perform an upgrade

install - Install new packages (pkg is libc6 not libc6.deb)

remove - Remove packages

autoremove - Remove automatically all unused packages

purge - Remove packages and config files

source - Download source archives

build-dep - Configure build-dependencies for source packages

dist-upgrade - Distribution upgrade, see apt-get(8)

dselect-upgrade - Follow dselect selections

clean - Erase downloaded archive files

autoclean - Erase old downloaded archive files

check - Verify that there are no broken dependencies



Options:

-h This help text.

-q Loggable output - no progress indicator

-qq No output except for errors

-d Download only - do NOT install or unpack archives

-s No-act. Perform ordering simulation

-y Assume Yes to all queries and do not prompt

-f Attempt to correct a system with broken dependencies in place

-m Attempt to continue if archives are unlocatable

-u Show a list of upgraded packages as well

-b Build the source package after fetching it

-V Show verbose version numbers

-c=? Read this configuration file

-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp

See the apt-get(8), sources.list(5) and apt.conf(5) manual

pages for more information and options.

This APT has Super Cow Powers.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...