[FAQ] Uninstall Linux from dual boot system

Uninstall Linux from dual boot system 雙系統安全移除

常常安裝雙系統的使用者都知道,安裝雙系統(Win + Linux Distributions)比較簡單且安全的方式是先安裝 Windows 系統後在安裝 Linux 系統,詳細為何不再贅述。

這次主要是紀錄當要把 Linux 系統移除時,要如何做才安全正確

Continue reading “[FAQ] Uninstall Linux from dual boot system”


[Linux] Screen Brightness Adjustments

Due to lack of brightness adjustment in LXDE

redfish [~]$ sudo apt-get install xbacklight
redfish [~]$ xbacklight -set 40

# 40 is the scale compared to this level
# use man xbacklight for detail.

[Linux] kernel update and remove

Take amd64 as example:

$ cd tmp/
$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.6-wily/linux-headers-4.4.6-040406_4.4.6-040406.201603161231_all.deb
$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.6-wily/linux-headers-4.4.6-040406-generic_4.4.6-040406.201603161231_amd64.deb
$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.6-wily/linux-image-4.4.6-040406-generic_4.4.6-040406.201603161231_amd64.deb

$ sudo dpkg -i *.deb
// Uninstall
$ sudo apt-get remove 'linux-headers-4.4.6*' 'linux-image-4.4.6*'
// Remove old kernels
$ sudo apt-get autoremove --purge
$ sudo purge-old-kernels

[GNU] Update Make Version

There’re some situation that you need to update your Make version to 4.0 or later.
Try this in terminal:

cd /tmp
wget http://ftp.gnu.org/gnu/make/make-4.1.tar.gz
tar xvf make-4.1.tar.gz

sudo make install
rm -rf make-4.1.tar.gz make-4.1

You can make it your default make by prefixing /usr/local/bin
to your $PATH variable in your shell startup file

[GNU] Cross-Compiler

Cross-Compiler is a compiler that can compile a executable file which can execute on a different platform.

Like gcc on Linux can get a ARM executable file.

The advantage is that we can get the exe file through a high-performance x86 PC, instead of ARM CPU. And it’ll make the compile time more faster.

Continue reading “[GNU] Cross-Compiler”