how to install dual systems (windows & ubuntu)java
Donwloading the ubuntu from web.linux
Using refu to create a boot usb disk in windows.web
booting from usb and following the instruction to install ubuntu.ubuntu
The most importance is that how to create the needed disks . vim
1) select the disk and create the partition disks belowwindows
swap: primary, beginning of this space, use as swap area. 512Meclipse
rootfs: logical, beginning of this space, ext4 journaling file system, mount point /. size : 40000Mthis
/home. logical, beginning of this space, ext4 journaling file system, size: as your needed, spa
/var is optioncode
Below is an example for 40G total disk
1. gcc and binutils must be installed.
errors: 「CONFIG_X86_X32 enabled but no binutils support」
sudo apt-get install gcc
sudo apt-get install binutils
2. makefile in vs code, the tab key will be auto relaced by blank. so you can use vim or gedit to modify the makefile.
3. vs code install
download the package from official web.
sudo dpkg -i xx.deb
sudo apt-get update
sudo apt-get install libgconf-2-4 when this lib is not installed.
4. cc1: error: code model kernel does not support PIC mode
sudo gedit ../../../linux-headers-4.15.0-29/arch/x86/Makefile
KBUILD_CFLAGS += -fno-pic
5. eclipse
the java is needed.
sudo apt-get update
sudo apt-get install default-jre