Http://deeplearning.net/software/theano/install_ubuntu.html#install-ubuntuThe above link is the official website installs the tutorialInstalling Theano in Ubuntu is a lot easier to install on Windows.If you are an Ubuntu 16.04 systemThe installation process is as follows:sudo apt-GetInstall python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-Dev gitsudo pip install theano# cuda7.5Don'T support the default g++ version. Install an supported version and make it the default.s
for Linux1.4 TensorFlow 0.11TensorFlow GitHub above mentioned 4 kinds of installation methods, this tutorial using the four source code installationVIRTUALENV InstallationAnaconda InstallationDocker InstallationInstalling from sourcesHttps://github.com/tensorflow/tensorflow ()Description: I chose the Linux GPU Python2(2) Click Python 2 to start the download.2. Installing the ubuntu16.04 LTS systemFor details, please see the previous Notes Windows System installation Ubuntu dual system3. Install
is where my software is stored and can be stored in/user/lib/in3: Configured as default JDK version sudo update-alternatives--install/usr/bin/java Java/home/share/tools/jdk1.8.0_45/bin/java -sudo update-alternatives--install/usr/bin/javac Javac/home/share/tools/jdk1.8.0_45/bin/javac -What this means is to create two soft connections: [email protected]:~$ ll/usr/bin/Java lrwxrwxrwx1Root root A -- to- A +:
Ubuntu 16.04 itself is a python, and he's a 2-self. X and 3.X, two versions, the default is 2. X. Here's a note of how to switch between versions and how to switch the Python version to 3. The method under X.
1. View the installed Python version of the Ubuntu system and the Python version currently in use
Ls/usr/bin/python*python--version
Or
2. Set update-alternatives switch python version
Show Python instead of version information
Update-
at the end of the open file?
12345
# export Java env export java_home= /usr/local/java/jdk1 .7.0 export jre_home= /usr/local/java/jdk1 .7.0 /jre export classpath=.:%java_home% /lib/dt .jar:%java_home% /lib/tools .jar export path= $JAVA _home /bin : $JRE _home /bin : $PATH
Save the exit and enter the following command to make it effective?
1
source~/.bash_profile
4. Configure the default JDK (this step can be omitted
Finally, you can upgrade your system by implementing C ++ 11 GCC4.8.1. The following steps can be performed to install GCC4.8.1, sudoadd-apt-repositoryppa: ubuntu-toolchain-r/testsudoupdate-alternatives -- remove-allgccsudoupdate-alternatives -- remove
Finally, the complete implementation of C ++ 11 GCC 4.8.1.
Upgrade your system.
The following steps can be performed to install GCC 4.8.1 in Ubuntu 13.04,
Su
downloaded cannot be installed.
Original
Go to the directory where you downloadedthe JRE package, and change the permissions so the file is executable. Forexample:
$ CD/tmp
$ Chmod A + x jre-6u25-linux-x64-rpm.bin
Translation
Go to the JRE directory you downloaded and change the directory permissions so that they can be authorized to other users.
$ CD/tmp
$ Chmod A + x jre-6u25-linux-x64-rpm.bin
Original
Extract and run the RPM file. For example:
$ Sudo./jre-6u25-linux-x64-rpm.bin
The RPM IN
openjdk. To set the JDK we installed as the default JDK version, perform the following work.Run the Code:[Plain] View plaincopy
Sudo Update-alternatives -- install/usr/bin/Java/usr/lib/JVM/Java-7-sun/bin/Java 300
Sudo Update-alternatives -- install/usr/bin/javac/usr/lib/JVM/Java-7-sun/bin/javac 300
Sudo Update-alternatives -- install/usr/bin/Jar/usr/lib/JVM/
I encountered this error. I saw the solution in a Foreign Forum and successfully solved the problem. I hope to help others.
Error:Build/CORE/product_config.mk: 229: Warning: adding test OTA keyHost Java: clearsilver (Out/host/common/obj/java_libraries/Clearsilver_intermediates/classes)Unrecognized option: 9999999Make: *** [out/host/common/obj/java_libraries/Clearsilver_intermediates/javalib. jar] Error 41
Cause:According to the error message, it is probably a Java Virtual Machine problem. Some p
Build the ubuntu eclipse C ++ EnvironmentInstall the java Development Environment package JDK
Step 1: Download jdk-7-linux-i586.tar.gz
wget -c http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-i586.tar.gz
(Note: If the download fails, we recommend that you use thunder to download it and copy it to the Linux system .)Step 2: unzip and install
sudo tar zxvf ./jdk-7-linux-i586.tar.gz -C /usr/lib/jvm cd /usr/lib/jvm sudo mv jdk1.7.0/ java-7-sun
Step 3: Modify Environment Variables
vim
this case, you must use the "Update-alternatives" tool provided by Debian to complete the process.
Program Multiple versions are available:
Sudo Update-alternatives -- display Java
The system only lists gij JVM, because JDK 6 is manually decompressed and installed.
Enter the following two lines:
Sudo Update-alternatives -- install/usr/bin/Java/usr/local/lib/jdk
-headless* openjdk-6-jre-headless* gcj-4.5-jre-headless* openjdk-7-jre-headlessTry: sudo apt-get install
First, we need to check whether there are already some java alternatives installed on the system. To do that we can useUpdate-AlternativesCommand:
$ sudo update-alternatives --list javaupdate-alternatives: error: no alter
that this version number of Ubuntu comes with a jdk.) It's just that. I did it myself once, because the path I didn't know where I came from., or you can put it on your own again)3. Enter the directory under--CD/USR/LIB/JVM;4. Unpack this package-----sudo tar-zxvf jdk-7u45-linux-i586.tar.gz do not write another path, is to extract directly to the current folder。 Suppose you want to unzip to another folder and add it later (assuming you need permission to unzip it). Enter sudo-s and enter your l
(where bytecode files are stored) can have multiple, middle use: separate spacesPATH = Execution file location of the compilation run (Java Javac, etc.)Jre_home = location of the core jar packageE:1 export java_home=/usr/lib/jvm/2 export jre_home=${java_home}/3 Export classpath=.:${java_home}/lib:${jre_home}/4 export path=${java_home}/bin: $PATHView CodeExecute the source ~/.BASHRC to complete the modification4. Configure the default JDK versionFor multiple versions, or JDK versions installed b
First step: Download jdk-7u79-linux-x64.tar.gz
Wget-c http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-i586.tar.gz
(Note: If the download is not down, it is recommended to use Thunderbolt download, and then copied to the Linux system.) )Step Two: Unzip the installation
sudo tar zxvf jdk-7u79-linux-x64.tar.gz
Cd/usr/lib/jvm
Step Three: Modify environment variables
Vim ~/.BASHRC
Add to:
Export java_home=/usr/lib/jvm/jdk1.7.0_79
-linux-x64.tar.gz -c/usr/local/java
cd/usr/local/java
sudo mv jdk1.7.0_80 jdk1.7.0
3. Configure Environment Variables
VI ~/.bash_profile
Add at the end of an open file
# Export Java env
export java_home=/usr/local/java/jdk1.7.0
export JRE_HOME=/USR/LOCAL/JAVA/JDK1.7.0/JRE
Export Classpath=.:%java_home%/lib/dt.jar:%java_home%/lib/tools.jar
export path= $JAVA _home/bin: $JRE _ Home/bin: $PATH
Save the exit and enter the following command to make it effective
SOURCE ~/.bash_profile
4. Confi
Preparation: JBoss, JDK, a Java EE War pack, DockerfileNote: JBoss and JDK can not be prepared in advance, wget in the command, because I happen to have, directly copiedDockerfile content:#admln 20150120From ubuntu:14.04Maintainer admln RUN Mkdir/usr/jbossCOPY wildfly-8.2.0.final/usr/jboss/COPY javaeedocker.war/usr/jboss/standalone/deployments/RUN mkdir/usr/java/COPY jdk-7u71-linux-x64.tar.gz/usr/java/workdir/usr/java/RUN TAR-ZXF jdk-7u71-linux-x64.tar.gzRUN update-
= $PATH: $JAVA _home/bin:$ Classpathexport PATH
Note the path and version of the JDK
Make configuration effective
Source/etc/profileConfiguring the default JDK
Create a new Java version
Create a new system command link in the shell with the update-alternatives command:sudoUpdate-alternatives--Install/usr/bin/javac Javac/usr/lib/jvm/jdk1.7.0_79/bin/javac1171sudoUpda
The update-alternative in Ubuntu/debian is used to manage different versions of the same software in a system.For example, the system may contain the GNU Java compiler, and the Sun's Java compiler. You can use Update-alternatives to set which of these are currently used.Its principle is to create a link in the/usr/bin, point to a file in the/etc/alternatives, and some file is a link, pointing to the current
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.