Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Wednesday, April 18, 2012

rpy2 for Ubuntu

# 1. install all dependence packages
 
sudo apt-get build-dep r-base
 
# 2. Install R with shlib 
 
        make distclean
        ./configure --enable-R-shlib
        make
        make install 
 
# 3. install rpy2 
 
   sudo easy_install rpy2

Thursday, April 12, 2012

R install ubuntu

INSTALLATION

To obtain the latest R packages, add an entry like

  deb http://cran.cnr.Berkeley.edu/bin/linux/ubuntu lucid/

   sudo apt-get update
   sudo apt-get install r-base
 
public key trouble

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <KEY NUMBER>

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 51716619E084DAB9

Wednesday, February 1, 2012

install_NetCard_Ubuntu

Tips from http://fosiao.com/node/18


I got a HP Compaq 8200 PC today, which has a i7 CPU with 16GB DDR3 RAM. After Ubuntu 10.04 64bit is installed, no network connection is found. Note: To get into BIOS, press F10 immediately after reset.

It turns out Ubuntu 10.04 Lucid does not support the Intel 82579LM PCIe Ethernet adapter.

Let's first find the driver source code from Intel:
http://downloadmirror.intel.com/15817/eng/README.txt
http://support.intel.com/support/go/network/adapter/home.htm (search 82579 in this page)
Another way to get the Linux driver from Intel's site is via searching keyword:
Intel® 82579 Gigabit Ethernet Controller

The driver code is not in Linux kernel yet.

Time to build it:
You can use USB stick to move the code to HP Compaq 8200 as there is no network yet.

tar zxf e1000e-1.6.3.tar.gz
cd e1000e-1.6.3
sudo make install


The driver is installed to /lib/modules//kernel/drivers/net/e1000e/e1000e.ko

It's ready to use:

modprobe e1000e
ifconfig eth0 up
dhclient eth0
ping intel.com

Note: Whenever the kernel version is upgraded you will need rebuild this driver.