Is this right: first:       -sudo apt-get-repository -y ppa:webupd8team/java      -sudo apt-get update      -sudo apt-get install -y oracle-java8-installer   than  sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6   or   sudo apt-get install lib32stdc++6   For Install Android Studio:  $ sudo add-apt-repository ppa:paolorotolo/android-studio $ sudo apt-get update $ sudo apt-get install android-studio
4720
Please tell me the full process of installing Android Studio and its necessary dependencies.
1926
Any install that I'm trying through the Software Center is telling me:  Requires installation of untrusted packages: The action would require the installation of packages from not authenticated sources.  I did an apt-get update from the command line, then removed the software sources that the keys were bad from (PPAs I added myself), and unchecked them in the software sources for software center, but to no avail.  I can't install anything from software center anymore - only&gt; from the command line with apt-get. Is uninstalling/installing the only option?  I don't want to break other PPAs that I have. Additional information: Here's a paste from apt-get update: Reading package lists... Done W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B725097B3ACC3965 W: GPG error: http://us.archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key &lt;ftpmaster@ubuntu.com&gt;  I've tried apt-key update, and there was no effect (two keys unchanged). The output of apt-get update and apt-get upgrade, and the contents of /etc/apt/sources.list, can be found in .
12852
After doing a man apt-get and cursory Google search it's not clear how I find new programs to install (from the internet) using apt-get (which is amazingly powerful and simple coming from another Linux distro).  I'm using Ubuntu Server 8.04 LTS (an inherited system used for some random work), so no GUI.  Anyone have quick advice here?
37604
I know this is asked often but nothing seems to work for me. Every time I try to update I get the following:  sudo apt-get update Get:1 http://archive.ubuntu.com precise Release.gpg Get:2 http://ppa.launchpad.net precise Release.gpg Get:3 http://archive.ubuntu.com precise Release                             Get:4 http://ppa.launchpad.net precise Release.gpg                          Get:5 http://ppa.launchpad.net precise Release                               Ign http://archive.ubuntu.com precise Release                                E: GPG error: http://archive.ubuntu.com precise Release: The following signatures were invalid: NODATA 1 NODATA 2   The only way I can successfully execute   sudo apt-get update   is by removing ALL software sources (which is pointless).  Regardless of whatever software source I use (official ubuntu or some other PPA) I get the same errors.  So far I have tried:   Changing the server from MAIN to some other . . . no joy   The suggested fixes from , , , and .   Nothing seems to work. It seems that all my key data is missing and I can't figure out how to get it back.  Any help would be very appreciated !
35247
I've tried the normal way, sudo apt-get install python3.6, but... well... that didn't work.   So, how would I go about it? (I'd preferably not build it on my own)  I'm using Ubuntu 16.04.
121762
I want to install Google Chrome Nightly (the dev version) next to the stable version. Is there a PPA for Nightly and 12.04?   are the only PPAs I found and they are not working on 12.04 yet.
118143
After executing this command  sudo apt-get update &amp;&amp; sudo apt-get -y upgrade   I get this error  W: The repository 'http://dl.google.com/linux/chrome/deb stable Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details.   I've seen past inquiries on same issue but the answers given are specific to other repositories.  Any help will be appreciated.
120040
I am unable to add a repository via the command line on Ubuntu 14.04. Apt-get works perfectly fine, and I am able to update the system. I have configured my /etc/apt/apt.config file as follows:  Acquire::http::proxy "http://&lt;username&gt;:&lt;password&gt;@&lt;proxy address&gt;:&lt;port&gt;/";   For example, when trying to add the repository for y-ppa-manager, I receive:  add-apt-repository ppa:webupd8team/y-ppa-manager Cannot add PPA: 'ppa:webupd8team/y-ppa-manager'. Please check that the PPA name or format is correct.   If you need any more info., feel free to ask.
66744
I've got an Ubuntu 11.10 system connected via a proxy to the internet, and I would like to install packages via apt-get. When I try to do that I get this error message:  sudo apt-get install libboost-program-options-dev [...] Err http://gb.archive.ubuntu.com/ubuntu/ oneiric/main libboost1.46-dev i386 1.46.1-5ubuntu2 407  Proxy Authentication Required   Any ideas?
9527
I keep getting this warning whenever I try to run sudo apt-get update.  W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages) W: You may want to run apt-get update to correct these problems   Below is the output from /etc/apt/sources.list file:  deb http://archive.ubuntu.com/ubuntu precise main restricted deb-src http://archive.ubuntu.com/ubuntu precise main restricted  deb http://archive.ubuntu.com/ubuntu precise-updates main restricted deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted  deb http://archive.ubuntu.com/ubuntu precise universe deb-src http://archive.ubuntu.com/ubuntu precise universe deb http://archive.ubuntu.com/ubuntu precise-updates universe deb-src http://archive.ubuntu.com/ubuntu precise-updates universe  deb http://archive.ubuntu.com/ubuntu precise multiverse deb-src http://archive.ubuntu.com/ubuntu precise multiverse deb http://archive.ubuntu.com/ubuntu precise-updates multiverse deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse  deb http://archive.ubuntu.com/ubuntu precise-security main restricted deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted deb http://archive.ubuntu.com/ubuntu precise-security universe deb-src http://archive.ubuntu.com/ubuntu precise-security universe deb http://archive.ubuntu.com/ubuntu precise-security multiverse deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse   How do I fix it?
9677
Since I upgraded to the latest version of Ubuntu, I cannot install the Java OpenJDK package needed to compile Android custom ROMs. When I run sudo apt-get install openjdk-7-jdk, the following error appears:  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  openjdk-7-jdk :  Depends: openjdk-7-jre (= 7u51-2.4.6-1ubuntu4) E: Unable to correct  problems, you have held broken packages.   How do I fix this problem?
61019
sudo apt-get update E: The method driver /usr/lib/apt/methods/https could not be found. michael@Ubuntu:~$ sudo apt-get clean michael@Ubuntu:~$ cd /var/lib/apt michael@Ubuntu:/var/lib/apt$ sudo mv lists lists.old michael@Ubuntu:/var/lib/apt$ sudo mkdir -p lists/partial michael@Ubuntu:/var/lib/apt$ sudo apt-get clean michael@Ubuntu:/var/lib/apt$ sudo apt-get update E: The method driver /usr/lib/apt/methods/https could not be found. E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? michael@Ubuntu:/var/lib/apt$ sudo apt-get update E: The method driver /usr/lib/apt/methods/https could not be found.   Why am I getting these errors when doing an apt-get update?
118595
I created a new Ubuntu 16.04.3 VM and am attempting to install JDK 9. Unfortunately, the latest version of the JDK apt installer, 9.0.1-1~webupd8~0, is failing to download the binaries and I suspect that the reason is because   I carried out the typical steps for installation:    add-apt-repository ppa:webupd8team/java apt-get update &amp;&amp; apt-get install oracle-java9-installer   I am then prompted with the following error message:  Downloading Oracle Java 9... --2018-01-16 15:15:07--  http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz Resolving download.oracle.com (download.oracle.com)... 23.200.70.136 Connecting to download.oracle.com (download.oracle.com)|23.200.70.136|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz [following] --2018-01-16 15:15:11--  https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.35.226.115, 2600:1404:21:49d::2d3e, 2600:1404:21:493::2d3e Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.35.226.115|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516137431_0e89d10b30203a572ea858768475ef74 [following] --2018-01-16 15:15:11--  http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516137431_0e89d10b30203a572ea858768475ef74 Connecting to download.oracle.com (download.oracle.com)|23.200.70.136|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-01-16 15:15:11 ERROR 404: Not Found.  download failed Oracle JDK 9 is NOT installed. dpkg: error processing package oracle-java9-installer (--configure):  subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:  oracle-java9-installer E: Sub-process /usr/bin/dpkg returned an error code (1)   I found , but it does not appear that the  works for JDK 9.0.4+11. I've updated the SHA checksums (), set the major version to 9.0.4, and set the minor version to 11, but I'm still not having success.  What steps need to be carried out to get the JDK apt installer to work until the WebUpd8 team is able to update the PPA?
20155
I need to install build-dependencies of something, how do I ensure the source code section of my software sources is enabled?
85397
I am trying install Oracle Java 8 on Ubuntu 18.04 LTS.  $ java --version  Command 'java' not found, but can be installed with:  sudo apt install default-jre             sudo apt install openjdk-11-jre-headless sudo apt install openjdk-8-jre-headless     According  i added ppa:  sudo add-apt-repository ppa:webupd8team/java   and after that i updated my os:  $ sudo torsocks apt-get update Hit:1 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease         Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease                    Hit:3 http://us.archive.ubuntu.com/ubuntu bionic InRelease                Hit:4 http://dl.google.com/linux/chrome/deb stable Release               Hit:6 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease       Hit:7 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:8 http://us.archive.ubuntu.com/ubuntu bionic-security InRelease Reading package lists... Done   and then I ran:  sudo apt-get install oracle-java8-installer   But I got :  $ sudo torsocks apt-get install oracle-java8-installer Reading package lists... Done Building dependency tree        Reading state information... Done Package oracle-java8-installer is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'oracle-java8-installer' has no installation candidate   I found this  but it is not working and I got same error
25746
I am specifically interested in determining whether a 32-bit version of OpenJDK 8 exists in the apt/Ubuntu repos.  According to , you can install the 32-bit version of the Open JDK 7 packages via:  sudo apt-get install openjdk-7-jre:i386   How can I do the equivalent of an ls -al to see what packages exist for OpenJDK 8, and specifically, the 32-bit ones?
15634
I am attempting to install java7 in a docker image. This was working till a few days ago. Commands are:      apt-get --fix-missing update     apt-get -y upgrade      apt-get -y install software-properties-common     add-apt-repository ppa:webupd8team/java     apt-get -y upgrade     apt-get -y update      echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections     apt-get install -y oracle-java7-installer   Output is:         Setting up oracle-java7-installer (7u80+7u60arm-0~webupd8~1) ...        debconf: unable to initialize frontend: Dialog        debconf: (TERM is not set, so the dialog frontend is not usable.)        debconf: falling back to frontend: Readline        debconf: unable to initialize frontend: Readline        debconf: (This frontend requires a controlling tty.)        debconf: falling back to frontend: Teletype        Downloading Oracle Java 7...        --2017-05-29 16:54:29--  http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz        Resolving download.oracle.com (download.oracle.com)... 104.96.220.162, 104.96.220.106        Connecting to download.oracle.com (download.oracle.com)|104.96.220.162|:80... connected.        HTTP request sent, awaiting response... 302 Moved Temporarily        Location: (REMOVING H-T-T-P-S BECAUSE I DON'T HAVE ENOUGH REP POINTS)://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz [following]        --2017-05-29 16:54:29--  (REMOVING H-T-T-P-S BECAUSE I DON'T HAVE ENOUGH REP POINTS)://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz        Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.196.115.62, 2600:1408:10:184::2d3e, 2600:1408:10:185::2d3e        Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.196.115.62|:443... connected.        HTTP request sent, awaiting response... 302 Moved Temporarily        Location: (REMOVING H-T-T-P BECAUSE I DON'T HAVE ENOUGH REP POINTS)//download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1496076904_47c6805122b1f8131f00e210452116ca [following]        --2017-05-29 16:54:29--  http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1496076904_47c6805122b1f8131f00e21                                                0452116ca        Connecting to download.oracle.com (download.oracle.com)|104.96.220.162|:80... connected.        HTTP request sent, awaiting response... 404 Not Found        2017-05-29 16:54:31 ERROR 404: Not Found.         download failed        Oracle JDK 7 is NOT installed.        dpkg: error processing package oracle-java7-installer (--configure):        subprocess installed post-installation script returned error exit status 1        Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ...        Setting up x11-common (1:7.7+1ubuntu8.1) ...        debconf: unable to initialize frontend: Dialog        debconf: (TERM is not set, so the dialog frontend is not usable.)        debconf: falling back to frontend: Readline        debconf: unable to initialize frontend: Readline        debconf: (This frontend requires a controlling tty.)        debconf: falling back to frontend: Teletype        invoke-rc.d: policy-rc.d denied execution of start.        Processing triggers for ureadahead (0.100.0-16) ...        Setting up xfonts-encodings (1:1.0.4-1ubuntu1) ...        Setting up xfonts-utils (1:7.7+1) ...        Setting up gsfonts-x11 (0.22) ...        Processing triggers for libc-bin (2.19-0ubuntu6.9) ...        Errors were encountered while processing:         oracle-java7-installer        E: Sub-process /usr/bin/dpkg returned an error code (1)        The command '/bin/sh -c apt-get install -y oracle-java7-installer'            returned a non-zero code: 100