Saturday, December 26, 2009

Ubuntu 9.04, 9.10, 10.04 Installation Tweaks

MATLAB
  • JRE 
    • sudo apt-get install sun-java6-jre

  • VPN 
    • sudo aptitude install network-manager-vpnc 
    • Panel --> VPN connections --> Configure VPN --> Import the .pcf file
    • IPv4 Tab --> click Routes --> uncheck "Use this connection only..."
    • click OK, Apply, Close
    • Reboot
    • Panel --> VPN connections --> MITnet VPN Connection
  • MATLAB
    • tar -xvf thefile 
    • cd thefolder
    • sudo ./install...sh

    Eclipse
    • download: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-cpp-galileo-SR1-linux-gtk.tar.gz
    • tar -xvf thefile

    Microsoft Office
    • WineHQ 
      • wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
      • sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/jaunty.list -O /etc/apt/sources.list.d/winehq.list
      • sudo apt-get update
      • sudo apt-get install wine
      • (some steps may be redundant. need further checks.)

    • WineHQ (for 10.04)
      • Just go to Ubuntu Software Center. Search for it and install it.

    • Windows Programs
      • Right click on "setup.exe --> Open with "Wine Windows Program Loader"
      Latex
      • TexLive 
        • sudo apt-get install texlive (~200 MB) or
        • sudo apt-get install texlive-full (~700 MB)

      • TexMaker
        An Latex IDE with fewer KDE library dependencies
        Pros: smaller (~200 MB), looks nice, intuitive configuration
        Cons: not very good auto completion, no block indent 
        • sudo apt-get install texmaker
      • Kile
        An Latex IDE with huge KDE library dependencies
        Pros: looks nicer (much better than the screenshots in its official website) and many utilities
        Cons: fat (~500 MB)
        • sudo apt-get install kile

        Input Method (also works for 9.10 and 10.04)
        • noseeing 
          • sudo apt-get install gcin 
          • set up default input method manager: 
          • im-switch -s gcin 
          • download the mapping table 
          • wget http://edt1023.sayya.org/gcin/noseeing-12.tar.gz 
          • move the table to the gcin folder 
          • mv noseeing.gtab ~/.gcin  
          • Reboot and right click gcin-setup

          Numerical Libraries
          • Lapack (share)
            • sudo apt-get install liblapack3gf 
            • sudo ln -s /usr/lib/liblapack.so.3gf /usr/lib/liblapack.so

          • Blas (share)
            • sudo apt-get install libblas3gf 
            • sudo ln -s /usr/lib/libblas.so.3gf /usr/lib/libblas.so

          • GotoBlas (static)
            • download http://www.tacc.utexas.edu/tacc-projects/ 
            • tar -xvf thefile 
            • cd thefolder 
            • ./quickbuild.32bit or 
            • gedit Makefile.rule 
            • make 
            • mkdir temp --> cp libgoto2_penryn-r1.09p3.a ./temp --> cd temp 
            • unarchive: ar x libgoto2_penryn-r1.09p3.a 
            • recompile into a shared library:
            • gfortran -shared -Wl,-soname,libgoto2.so -o libgoto2.so.1.09p3 *.o
            • See here for the knowledge of shared libraries. 
            • sudo cp libgoto2.so.1.09p3 /usr/lib 
            • sudo ldconfig
          Misc.
          • Turn off the terminal beep (9.04 only)
            • Terminal --> Profiles --> Edit --> General Tab --> uncheck Terminal bell

          • RAR Archiver 
            • sudo apt-get install rar
            • sudo ln -fs /usr/bin/rar /usr/bin/unrar
          • 7z Archiver 
            • sudo apt-get install p7zip-full

            • Skype (works well for 9.04, 9.10, 10.04) 
              • http://www.skype.com/intl/zh-Hant/download/skype/linux/choose/ 
              • 8.10+ 32-bit works fine on 9.04 32-bit

            • Printer (D-Link DI-707p) 
              • System --> Administration --> Printing --> Devices --> Network Printer --> LPD/LPR Host or Printer --> Host: 192.168.0.1 Queue: lp
              • Select your printer driver

            • Codec (obsolete)
              • sudo apt-get install ubuntu-restricted-extras

            • Battery management (Thinkpad)
              • not yet done....

            • CPU hiss "CPU Whine" (from ThinkWiki)
              (for grub2, applicable to ubuntu 9.10 and after)
              • sudo joe /etc/default/grub 
              • Search for the line GURB_CMDLINE_LINUX="" 
              • Replace "" with "processor.max_cstate=2" 
              • If the original "" is not empty inside the double quote, simply add processor.max_cstate=2 before the closing quote mark, e.g. replace
              • GRUB_CMDLINE_LINUX="acpi_osi="Linux"" with 
              • GRUB_CMDLINE_LINUX="acpi_osi="Linux" processor.max_cstate=2"
              • sudo update-grub
              • sudo reboot
            • Install restricted codec and more
              • Launch Amarok 
              • Choose to install all recommended packages

              No comments:

              Post a Comment