#!/bin/bash sudo apt-get install libncurses5-dev openssl libssl-dev
sudo apt-get install build-essential openssl
sudo apt-get install pkg-config
sudo apt-get install libc6-dev
sudo apt-get install bison
sudo apt-get install flex
sudo apt-get install libelf-dev
sudo apt-get install zlibc minizip
sudo apt-get install libidn11-dev libidn11 sudo apt-get install kernel-package sudo apt-get install build-essential sudo apt install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison liblz4-tool debhelper sleep 20 sudo make mrproper sudo cp /boot/config-uname -r ./.config sudo make localmodconfig #中间过程会让你做选择题,我们全部直接敲“回车”键就行了# sudo make bindeb-pkg -j12 exit
uname -r
脚本中,编译环境包重复安装了吧?
就是重复了也不会影响,只会安装一次依赖的。
-j12会不会把电脑跑死机?
我12年的电脑都不会,你们电脑还怕吗?最大跑到你电脑极限,电脑会自己调节的,我的跑的最高温度都没有上100度。
Popular Ranking
Popular Events
#!/bin/bash
sudo apt-get install libncurses5-dev openssl libssl-dev
sudo apt-get install build-essential openssl
sudo apt-get install pkg-config
sudo apt-get install libc6-dev
sudo apt-get install bison
sudo apt-get install flex
sudo apt-get install libelf-dev
sudo apt-get install zlibc minizip
sudo apt-get install libidn11-dev libidn11
sudo apt-get install kernel-package
sudo apt-get install build-essential
sudo apt install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison liblz4-tool debhelper
sleep 20
sudo make mrproper
sudo cp /boot/config-
uname -r
./.configsudo make localmodconfig #中间过程会让你做选择题,我们全部直接敲“回车”键就行了#
sudo make bindeb-pkg -j12
exit