-
Notifications
You must be signed in to change notification settings - Fork 27
/
update-to-the-last-stable-4.9-0-v1.sh
executable file
·134 lines (107 loc) · 4.28 KB
/
update-to-the-last-stable-4.9-0-v1.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#!/bin/bash
#
#
# MMMMMMMMMMMMMMMMMMMMMMMMMmds+.
# MMm----::-://////////////oymNMd+`
# MMd /++ -sNMd:
# MMNso/` dMM `.::-. .-::.` .hMN:
# ddddMMh dMM :hNMNMNhNMNMNh: `NMm
# NMm dMM .NMN/-+MMM+-/NMN` dMM
# NMm dMM -MMm `MMM dMM. dMM
# NMm dMM -MMm `MMM dMM. dMM
# NMm dMM .mmd `mmm yMM. dMM
# NMm dMM` ..` ... ydm. dMM
# hMM- +MMd/-------...-:sdds dMM
# -NMm- :hNMNNNmdddddddddy/` dMM
# -dMNs-``-::::-------.`` dMM
# `/dMNmy+/:-------------:/yMMM
# ./ydNMMMMMMMMMMMMMMMMMMMMM
# \.MMMMMMMMMMMMMMMMMMM
#
#
#
##################################################################################################################
#
# Current project : Ultimate-Linux-Mint-18
#
# Source : https://github.com/erikdubois/Ultimate-Linux-Mint-18
#
##################################################################################################################
# Written to be used on 64 bits computers
# Author : Erik Dubois
# Website : http://www.erikdubois.be
##################################################################################################################
#
# More from Erik Dubois
#
# Aurora Conky
# at http://sourceforge.net/projects/auroraconkytheme/
# Explanation on the use of this theme can be found at
# http://erikdubois.be/category/linux/aurora-conky/
#
# Aureola Conky
# Collections of nice conky's with lua syntax
# https://github.com/erikdubois/Aureola
#
# Sardi icons
# Many different styles of icons from colourfull, monochrome, white, circle
# https://sourceforge.net/projects/sardi/
#
# Super Ultra Flat Numix Remix
# Colourfull and playfull icons
# https://github.com/erikdubois/Super-Ultra-Flat-Numix-Remix
#
# Check out the github - many more scripts for automatic installation of Linux Systems.
#
#
#
#
#
##################################################################################################################
# If the option -y has been added. It will autoinstall all. Omit if you do not want that.
##################################################################################################################
#
#
#
#
##################################################################################################################
#
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. AT YOUR OWN RISK.
#
##################################################################################################################
# H I G H L Y E X P E R I M E N T A L
# Better to read and do a step by step upgrade
# http://erikdubois.be/linux/the-ultimate-linux-mint-update
# if you want to experiment on a computer where there is no data loss risk
# please be my guest
echo "Let us check if your computer is up-to-date"
#sudo apt-get update -y
#sudo apt-get upgrade -y
#sudo apt-get autoclean -y
#sudo apt-get autoremove -y
#Grub customizer if you dual boot
#sudo add-apt-repository ppa:danielrichter2007/grub-customizer -y
#sudo apt-get -y update
#sudo apt-get install -y grub-customizer
# latest kernel check the following url
# http://kernel.ubuntu.com/~kernel-ppa/mainline/
# at the moment you can have kernel 4.4.0
# depending of you hardware you can install it as wel
# keep in mind that nvidia or ati drivers sometimes clash with the kernel
# read the latest article on these matters at http://erikdubois.be
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900_4.9.0-040900.201612111631_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-image-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb
sudo dpkg -i linux*
rm linux-*
#ending
#mkdir $HOME/Upload
#sudo apt-get -y update
#sudo apt-get -f -y install
#sudo apt-get -y upgrade
#sudo apt-get -y autoremove
#sudo apt-get -y autoclean
echo "################################################################"
echo "############### Kernel is installed ############"
echo "############### Files have been deleted ############"
echo "################################################################"