This article mainly says that the basic development environment of Linux Ubuntu is built, mainly has the following software or environment configuration.
rubyminechromeskypeopen-Jdkgithubnode.jsyeoman
The first thing to do after installing the Ubuntu system is to update the system software to better install the software.
Sudo is a safe way to allow users to run programs with special privileges, this command will access each URL in the source list (/etc/apt/sources.list) and read the list of software and then save it on the local computer. Because each Linux distribution, such as Ubuntu, will have its own repositories, Apt-get is the software to read the repository. Apt-get commands typically require root access, so follow the sudo command generally. After the update, you may need to upgrade.
[Email protected]:/$ sudo apt-get upgrade
Because upgrade, the locally installed software is compared to the software listed in the software list that has just been downloaded, and if you find that the installed software version is too low, you will be prompted to update it. If your software is the latest version, you will be prompted:
1 Upgraded 0 packages, installed 0 new packages, uninstalled 0 packages, and 0 packages were not upgraded.
Simply put: Update is the list of updates, upgrade is the update software.
Now start to install the software, it is possible during the installation process, you are prompted to install dependencies, the console prompts what, followed by the installation depends on the. For example: sudo apt-get-f install is the installation of dependent packages.
1, install Chrome
[Email protected]:/$ sudo dpkg-i google-chrome-stable_current_amd64.deb
Dpkg is the file that installs the. deb suffix,-i is the install, followed by the file name (you can go to the official website to download).
2, install Skype
[Email protected]:/$ sudo dpkg-i skype-ubuntu-precise_4.3.0.37-1_i386.deb
3, install OPEN-JDK
[Email protected]:/$ sudo apt-get install OPENJDK-7-JDK
Check if the installation is good
[Email protected]:/$ java-version java version "1.7.0_65"2.5.3) (7u71-2.5.3-0ubuntu0.14.04.164-bit Server VM (Build 24.65-b04, mixed mode) [email protected]:
The JDK installed with Apt-get does not need to modify the environment variables and the system will automatically look for them. Another way to install it is to download the JDK package directly and then modify the environment variables as follows:
modifying environment variables
[Email protected]:/$ sudo gedit/etc/profile
Added at the end of the profile (also in. BASHRC, Profile is the environment configuration for the entire system, BASHRC is for the user's environment) (Gedit is a text editor under Linux)
Export java_home=/usr/lib/jvm/java-7-openjdk-amd64export PATH= $JAVA _home/bin: $PATHexport classpath=.:$ Java_home/lib/dt.jar: $JAVA _home/lib/tools.jar
Perform
[Email protected]:/$ source/etc/profile
modifying system environment variables
4, install GitHub
[Email protected]:/$ sudo apt-get install Git-core
View version
[Email protected]:/$ git--version
Git default configuration
$ git config--global user.name "John Doe"--global user.email [email protected]
5, install node. js
First, the NVM shell file is cloned to a local file. NVM below (NVM is the version manager of node, can be used to manage node, here with NVM to install node)
[Email protected]:~$ git clone https://github.com/creationix/nvm.git ~/.NVM
modifying environment variables
[Email protected]:~$ sudo gedit. BASHRC
Add source ~/.nvm/nvm.sh at the end of the. bashrc file
Then restart the terminal and install node.
[Email protected]:/$ nvm ls-remote ... V0. 11.13-> v0.11.14
I'm installing v0.11.14 here.
[Email protected]:/$ nvm install 0.11.14 [email protected]:/$ nvm alias default 0.11.14
Set default to use 0.11.14 version
5, install Yeoman
NPM is the node Package Manager, the-G is a global installation, and Yo is installing yeoman.
Install the WebApp and Angular JS generator.
[Email protected]:/$ npm install-g generator-webapp [email protected]:/$ npm install-g generator-angular
6, install RubyMine
[Email protected]:/$ tar-zxvf rubymine-6.3.3.tar.gz
After unpacking the installation package, enter
Run the following code to install run startup
[Email protected]:~/softwore/rubymine-6.3.3/bin$ rubymine.sh
RubyMine and installation serial numbers are attached here.
: RubyMine Download
The above basic environment building is built, you can use Yeoman to generate a simple webapp.
Linux Ubuntu Development Environment Configuration