Posts Tagged - build

Build JDK from source on Ubuntu 20.04

cd /home/iconplus/Download

wget -c https://releases.llvm.org/9.0.0/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz

tar -xvf clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz

./configure --with-num-cores=4 --with-memory-size=4096 --with-toolchain-type=clang --with-toolchain-path=/home/iconplus/Downloads/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04/bin --with-libclang=/home/iconplus/Downloads/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04

make images

Read More

Compile and Install Linux Kernel on Ubuntu 20.04

sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison

wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.7.10.tar.xz

tar xvf linux-5.7.10.tar.xz

cd linux-5.7.10

cp /boot/config-$(uname -r) .config

make menuconfig

make

sudo make modules_install

sudo make install

sudo update-initramfs -c -k 5.7.10

sudo update-grub

*) used for trying new kernel api from linux (io_uring).

Read More