Le-voyeur / autres

second-hand
0 stars 0 forks source link

Packages I install in ubuntu et the way #3

Open Le-voyeur opened 9 years ago

Le-voyeur commented 9 years ago

1.sublime-text 3: $ sudo add-apt-repository ppa:webupd8team/sublime-text-3
$ sudo apt-get update
$ sudo apt-get install sublime-text-installer && tags (1) packages control Menu > Preferences > Browse Packages > now in a dir goto Installed Packages , then dowload Package Control.sublime-package(https://sublime.wbond.net/Package%20Control.sublime-package) into this dir. restart sublime,ok! (2) ctags Ctrl+Shift+P open packages control panel, choose "install packages", type ctags "enter" then open terminer $ sudo apt-get install ctags ok! (3)chinese input $ git clone https://github.com/lyfeyaj/sublime-text-imfix.git //get packages $ cd ~/sublime-text-imfix //dir $ sudo cp ./lib/libsublime-imfix.so /opt/sublime_text/ //copy .so file to $ sudo cp ./src/subl /usr/bin/ //copy $ subl . ok!

2.rbenv (1)#Check out rbenv into ~/.rbenv.

$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv

Add ~/.rbenv/bin to your $PATH for access to the rbenv command-line utility.

$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc (2) Add rbenv init to your shell to enable shims and autocompletion.

$ echo 'eval "$(rbenv init -)"' >> ~/.bashrc

(3) Restart your shell so that PATH changes take effect. (Opening a new terminal tab will usually do it.) Now check if rbenv was set up:

$ type rbenv

=> "rbenv is a function"

$ exec $SHELL (4)Installing as an rbenv plugin (recommended)

Installing ruby-build as an rbenv plugin will give you access to the rbenv install command.

$ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build ok! (5)Upgrading

If you've installed rbenv manually using git, you can upgrade your installation to the cutting-edge version at any time.

$ cd ~/.rbenv $ git pull To use a specific release of rbenv, check out the corresponding tag:

$ cd ~/.rbenv $ git fetch $ git checkout v0.3.0

3.ruby

list all available versions:

$ rbenv install -l

install a Ruby version:

$ rbenv install 2.1.2 $ rbenv global 2.1.2 ok!

  1. Rails $ sudo apt-get update

    packages,librarys

    $ sudo apt-get install -y git-core curl zlib1g-dev build-essential \ libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 \ libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common $ echo "gem: --no-ri --no-rdoc" > ~/.gemrc $ gem install rails -v 4.1.2 or higher $ rbenv rehash ok!

  2. Mysql $ sudo apt-get install mysql-server mysql-client libmysqlclient-dev ok!
  3. Chrome

    get packages

    $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb #32bit $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb #64bit double click the deb package to open software center ok!

  4. sogou http://pinyin.sogou.com/linux/ open update-manager > 编辑->软件源,点击添加...按钮,在弹出的窗口中输入ppa:fcitx-team/nightly search "fcitx" in software and install normally

8.pydict $ git clone https://github.com/np-csu/pydict.git $ cd pydict $ python setup.py install $ cd bin $ ln dict ~/bin/

Le-voyeur commented 9 years ago

lisp configuration

sudo apt-get update sudo apt-get install emacs sudo apt-get install sbcl clisp sudo apt-get install slime sudo apt-get install common-lisp-controller

"alt“+”x" to get up