Ubuntu system build

5858 ワード

Ubuntu system build
install ubuntu
    sudo apt-get update
    update langauage
    { sudo apt-get install ttf-wqy-zenhei g++ build-essential cmake libssl-dev openssh-server libX11-dev libXext-dev libXtst-dev subversion gfortran fcitx-table-wbpy freeglut3-dev csh dos2unix libatlas-base-dev }
    sudo apt-get install ttf-wqy-zenhei
    sudo apt-get install g++ build-essential
    sudo apt-get install cmake
    sudo apt-get install libssl-dev
    sudo apt-get install openssh-server
    sudo apt-get install libX11-dev libXext-dev libXtst-dev
    sudo apt-get install subversion
    sudo apt-get install gfortran
    sudo apt-get install libatlas-base-dev
    sudo apt-get install fcitx-table-wbpy
    updata movie player
    install qtcreator qtdesigner
    sudo apt-get install freeglut3-dev
    about intel+nvidia card install:
      
             ×××××××××××
             1 please install cuda before update
             2 sudo dpkg -i cuda-repo-ubuntu1204_7.0-28_amd64.deb
             3 sudo apt-get update
             4 sudo apt-get install cuda
             ×××××××××××
             1 install cuda_7.5***.run, install drive + toolkit + sample
             2 sudo apt-get remove --purge nvidia-*
             3 sudo apt-get remove --purge xserver-xorg-video-nouveau
             4 ctrl + alt + F1 into tty
注意:以下の更新ドライバは340で、現在他のドライバがデスクトップに入れないことをテストしています.
             5 sudo service lightdm stop
             6 sudo add-apt-repository ppa:xorg-edgers/ppa
             7 sudo apt-get update
             8 sudo apt-get install nvidia-340
             9 sudo apt-get install nvidia-340-uvm
                sudo apt-get install nvidia-modprobe
             10 Re-correct symlinks of libGL.so (conflit with MESA) :
                   - For 64-bit version of your Linux distribution :
                     1: Add '#' at the beginning of the lines of these files : /etc/ld.so.conf.d/i386-linux-gnu_GL.conf et /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf
                         /etc/ld.so.conf.d/i386-linux-gnu_GL.conf :
                         #/usr/lib/i386-linux-gnu/mesa
                        /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf :
                        #/usr/lib/x86_64-linux-gnu/mesa

                    2: Execute this command : sudo ldconfig

                      - For 32-bit version of your Linux distribution :
                      Verify if the NVIDIA is correctly installed when you restart your computer at the end of the tutorial. I will add modifications if you have issues on 32-bit version of your Linux distribution.

           11 Execute this command to update the startup menu :
                 sudo update-initramfs -u

           : :
           sudo prime-select query ? if nvidia
           sudo prime-select intel
           sudo service lightdm start
   
install wiznote

$ sudo add-apt-repository ppa:wiznote-team

$ sudo apt-get update

$ sudo apt-get install wiznote


    install Coin3D
    back to classic UI:
             sudo apt-get install gnome-session-flashback
              , GNOME Flashback (Compiz)  
    exfat: 1、 :
               sudo add-apt-repository ppa:relan/exfat
               sudo apt-get update

            2、 fuse-exfat
               sudo apt-get install fuse-exfat

   1. gcc

   2 install qt, qtcreator

      qtcreator Could not initialize GLX

      ./qtcreator -noload Welcome



install graphviz

install OpendTect

sun java:

        $ sudo apt-add-repository ppa:flexiondotorg/java

        $ sudo apt-get update

        $ sudo apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin


sudo apt-get install csh

sudo apt-get install dos2unix

b2b download software: qbittorrent

snapshot software: shutter

movieplayer software: GNOME Mplayer

kdesvn

google chromium (Proxy SwitchySharp )

    install flashplugin:sudo apt-get install flashplugin-installer,

    sudo ln -s /usr/lib/flashplugin-installer/libflashplayer.so /usr/lib/chromium-browser/plugins/



    FAQ: :sudo apt-key adv --keyserver keyserver.ubuntu.com --recv ID
    FAQ:    update error

        sudo rm /var/lib/apt/lists/*

        sudo rm -rf /var/lib/apt/lists/partial


1、 ibus

sudo apt-get remove ibus

2、

sudo add-apt-repository ppa:fcitx-team/nightly
sudo apt-get update

3、 , ,

sudo apt-get install fcitx fcitx-config-gtk fcitx-sunpinyin fcitx-googlepinyin fcitx-module-cloudpinyin fcitx-sogoupinyin
sudo apt-get install fcitx-table-all
im-switch -s fcitx -z default

4、 linux

sudo shutdown -r now

, !