Configure an extremely easy-to-use Linux System

Source: Internet
Author: User
Tags install homebrew linux mint

Configure an extremely easy-to-use Linux System

LinuxDesktop has always been a pain point for developers. Everyone loves the command line and configuration in linux, But they suffer from the absence of a friendly interactive interface to meet their daily needs and often get tired of some basic configurations.
MacIt is a good choice. I am using a Macbook pro, but in terms of company or work, it is still dominated by desktops. Mac hardware configuration is relatively low and the price is relatively high. For many student parties or friends with financial pressure, this is destined to be a hurdle, in fact, this is also why mac is destined to be unpopularized (it is absolutely cost-effective compared to the investment in buying a mac recommended by some Daniel. I also recommend that you install linux on the existing basis as an absolute value, who knows you so well ~).
WindowsIs a very nice system (it has always been the best system in my heart, but not suitable for developers). Please come out of your comfort zone and have a world outside!

1. Objectives

Build a common linux system.

  1. This is not an article about linux;
  2. Sogou input method, QQ, deep music, Office;
  3. Install and configure common tools.
2. install linux mint 17.2

Compared with Ubuntu, we recommend that you try linux mint:

  1. Linux mint: http://www.linuxmint.com/
  2. Use unetbootin to create a USB flash drive
    Next, even if the installation is restarted, the focus of this article is not to install the system, please Baidu.
3. Install vim

Want to install qq? Don't worry. vim is a good method, and it is uncomfortable to install it first.

1
sudo apt-get install vim

 

Vim attracts me in two ways. One is its special editing mode, and the other is its large number of plug-ins.
Based on this, I usually customize vim from the following two places:

  1. Vim has many plug-ins. As a vim user for many years, I have also accumulated some handy plug-ins.
    Address: https://github.com/openproject/openvims
    Follow the configuration above.
  2. In particular, there is a powerline plug-in (airline can also be) that can greatly beautify your vim status bar.
    I didn't configure the results at the beginning, and I found someone on the Internet. It is actually very easy to find later. First, install the powerline font that supports special characters. Second, set the terminal font to the corresponding powerline font. Basically, the results are coming soon ~

4. Install sogou Input Method

To compare the new ubuntu version, download sogou's deb package and install and restart it. Linux mint has one more step to install and install Fcitx than ubuntu. The detailed steps are as follows:

  1. Install Fcitx
    The sogou input method is based on Fcitx. Therefore, you must install Fcitx before installing the sogou input method. linux mint provides convenient and simple support for the installation of the input method.
    Click Menu and search for Languages. The language settings page is displayed. Select the input method Tab, which lists the input methods that can be directly installed, including IBus, Fctix, SCIM, UIM, and gcin, but it is not installed by default.
    Click "Add support for Fcitx" in the Fcitx item. If the installation is complete, set the input method in the first item to Fcitx. As follows:

    Do not install the optional Fcitx components here. Otherwise, you must manually delete a large number of input methods.
  2. Install sogou Input Method
    Download the corresponding deb package in the http://pinyin.sogou.com/linux/ and double-click the installation.
    Then,
    Restart, restart, restart, and trigger important events.
    The default value is ctrl + space. You can switch the input method.
    Here I can't intercept the setting interface in the lower-right corner of the desktop. It doesn't matter if you can take a look at it. It's so amazing.
5. Install QQ

For more information, see: http://phpcj.org/wineqq/, which lists the brief steps below:

  1. Install wine1.7
    The default wine1.6 does not work. You must add a ppa source to install wine1.7:

    1
    2
    3
    sudo add-apt-repository ppa:ubuntu-wine/ppa
    sudo apt-get update
    sudo apt-get install wine1.7
  2. Decompress the WineQQ package downloaded from the online storage.
    Network Disk address: Link: http://pan.baidu.com/s/1ntW6Z3b password: vnq1

    1
    tar xvf wineQQ8.0B16812.tar.xz -C ~/

It's so simple!
Almost all functions work normally. Yes, I remotely controlled the other party's computer last weekend.

6. Install deep music

What is the difference between music, hot music, and salted fish?
Currently, the best player for linux localization that supports lyrics should be in deep music (only one line of lyrics is supported, and all the others will be in seconds ).
Http://wiki.deepin.org /? Title = Deep music
I have installed Baidu plug-in and Netease cloud plug-in. Baidu plug-in needs to install javascriptcore. the following error occurs if javascriptcore is installed:

1
2
3
4
5
6
7
...
javascriptcore.c:4:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
...

 

Install the python dev package:

1
sudo apt-get install python-dev

 

7. Install homebrew

Homebrew refers to homebrew of linux, also known as linuxbrew. Although it was the first time to try homebrew on linux, it was quite good.
Homebrew is a package manager similar to apt-get. It is especially convenient to install some software.
Official Website: https://github.com/Homebrew/linuxbrew

Install the dependency first:

1
sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev

 

Then officially install:

1
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"

 

Next we can use brew install to install various software.

8. Install jdk

The system comes with openjdk. Generally, jdk of the Oracle version (better performance) is installed. It is the easiest to install jdk with homebrew:

1
2
// JDK 8 is installed by default.
Brew install jdk

 

To install JDK 7:

1
brew install jdk7

 

9. Install zsh

Why should I install zsh in addition with bash? In a word, it is better than bash. For more information, see:

1
sudo apt-get install zsh

After installation, configure zsh is a very tedious thing, in order to simplify the configuration, you can use oh-my-zsh (https://github.com/robbyrussell/oh-my-zsh ):

1
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

 

Fly together!

10. Install autojump

Is it enough for cd.../? Do you want to get a one-click access to a directory anywhere? Autojump is also.

autojump - a faster way to navigate your filesystem

Official Website: https://github.com/wting/autojump
We recommend that you use homebrew to install autojump, which will provide more configuration tips:

1
[[ -s $(brew --prefix)/etc/profile.d/autojump.sh ]] && . $(brew --prefix)/etc/profile.d/autojump.sh

 

11. install other software
1
2
3
4
5
6
7
# Install gradle. The default version is 2.7.
Homebrew install gradle
# Install nodejs
Brew install nodejs
# Install hexo
Npm install hexo-cli-g
# Install jenkins
12. Configure auto-start

There are many methods for configuring self-startup on the Internet. This is a special note. In fact, linux mint comes with self-Startup Program Management:

Open to configure:

So easy!

13. Other Software

Compared with a few years ago, thanks to deepin, the domestic manufacturer of ubuntukylin, linux Desktop daily software has been greatly enriched over the past few years, especially with the support of some conscientious enterprises:

  1. WPS Office: http://linux.wps.cn/
  2. : Http://cidian.youdao.com/index-linux.html

Install WPS in Ubuntu 14.04

Ubuntu 14.04 64-bit WPS installation (successfully solved the problem without ia32-libs)

Please leave a message to add.

14. Summary

When your daily needs are met, it's time to switch from Windows to Linux! What's more Linux than helping others learn about Linux!

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.