Installing this repositories
sudo add-apt-repository "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner"
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
so, install flash:
sudo apt-get install adobe-flashplugin
Hello! The purpose of this page is to guide new users of Ubuntu who want to install and configure Ubuntu to the maximum the graphics mode. If use of the graphical environment is not possible, the guidelines seek to be as simple as possible, always geared to beginners of Ubuntu. Ours efforts is to explain using the newest version of Ubuntu, you have to pay attention when the blog shows tricks about an older ubuntu version and if that explanations are enough or appropriate for your situation.
Dicas para o Ubuntu
Olá!
O objetivo dessa página é orientar usuários iniciantes do Ubuntu que desejam instalar e configurar o Ubuntu utilizando ao máximo o modo gráfico. Caso o uso do ambiente gráfico não for possível, as orientações buscam ser o mais simples possível, sempre voltadas aos iniciantes do Ubuntu. A versão utilizada do Ubuntu é sempre mais atual e estável de 64 bits.
domingo, 11 de janeiro de 2015
Installing java on Ubuntu
Install latest Oracle Java in Ubuntu or Linux Mint via PPA
This package provides Oracle Java JDK X
(which includes Java JDK, JRE and the Java browser plugin). However,
you can't only install Oracle JRE - the PPA only provides the full
Oracle JDKX package.
note: "X" is the last version, ok?
How to check the latest java version on linux.
So, you can see this page
Important: Since Ubuntu 13.04 and 12.10 are no longer supported by Canonical: there will be no security updates and they don't allow uploading new packages to Launchpad PPAs!
note: "X" is the last version, ok?
How to check the latest java version on linux.
So, you can see this page
Important: Since Ubuntu 13.04 and 12.10 are no longer supported by Canonical: there will be no security updates and they don't allow uploading new packages to Launchpad PPAs!
To add our PPA and install the
latest Oracle Java X in Ubuntu (supports since Ubuntu 13.10, 13.04, 12.10,
12.04 and 10.04 until the newest version) or Linux Mint, use the commands below:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-javaX-installer
Important! Change the " X " character for the latest number stable version of java!!!
See the message on terminal like that:
"Important!!! For now, you should continue to use Java 8 because Oracle Java 9 is available as an early access release (it should be released in 2016)! You should only use Oracle Java 9 if you explicitly need it, because it may contain bugs and it might not include the latest security patches! Also, some Java options were removed in JDK9, so you may encounter issues with various Java apps. More information and installation instructions (Ubuntu / Linux Mint / Debian): http://www.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html
More info: https://launchpad.net/~webupd8team/+archive/ubuntu/java"
After the installation finishes, if you wish to see if it was successful, you can run the following command:
java -version
It should return something like this:java version "1.8.0_72"
Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode)
(This is the latest version on 2016/January)
The package installs all the Java
binaries, so you can also try "javac -version" which should return
"javac 1.8.0_72" (2016/January) and so on (the "_72" part of the version can be
different because I'm constantly updating the PPA with the latest Oracle
Java 8 version). The current JDK version in the PPA is Oracle Java 8 Update 72 (8u72), on 2016/January.
If for some reason, the Java version in use is not 1.8.0, you can try to run the following command:
sudo update-java-alternatives -s java-8-oracle
Update: the installer now
requires you accept the Oracle license before the installation begins.
This is only required once. If for some reason you need the installation
to be automated, you can run the following command to automatically
accept the Oracle license:
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
Setting Java environment variables
To automatically set up the Java 8 environment variables, you can install the following package:
sudo apt-get install oracle-java7-set-default
If you've already installed oracle-java6-set-default or oracle-java8-set-default, they will be automatically removed when installing oracle-java7-set-default (and the environment variables will be set for Oracle Java 7 instead).
Removing Oracle Java 7
If you don't want to use Oracle Java
(JDK) 7 anymore on your Ubuntu / Linux Mint computer and want to go back
to OpenJDK, all you have to do is remove the Oracle JDK7 Installer and
the previous Java (OpenJDK, etc.) version will be used:
sudo apt-get remove oracle-java7-installer
from: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
Assinar:
Postagens (Atom)