Skip to content

Instantly share code, notes, and snippets.

@wellington1993
Last active April 26, 2022 05:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wellington1993/e197dadf87bd525a517e72e7870066d4 to your computer and use it in GitHub Desktop.
Save wellington1993/e197dadf87bd525a517e72e7870066d4 to your computer and use it in GitHub Desktop.
Install liquorix kernel ubuntu
#!/bin/bash
sudo apt update && sudo apt install apt-transport-https
echo -e 'deb http://liquorix.net/debian sid main\ndeb-src http://liquorix.net/debian sid main\n\n# Mirrors:\n#\n# Unit193 - France\n# deb http://mirror.unit193.net/liquorix sid main\n# deb-src http://mirror.unit193.net/liquorix sid main' | sudo tee /etc/apt/sources.list.d/liquorix.list
curl https://liquorix.net/linux-liquorix.pub | sudo apt-key add -
sudo apt update
sudo add-apt-repository ppa:damentz/liquorix && sudo apt update
sudo apt install linux-image-liquorix-amd64 linux-headers-liquorix-amd64 # firmware-linux-free
sudo update-grub
sudo update-grub2
@codrutpopescu
Copy link

./Install-liquorix-kernel-ubuntu.sh 
[sudo] password for codrut: 
Sorry, try again.
[sudo] password for codrut: 
Hit:1 http://ro.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://ro.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://ro.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:4 http://ro.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Fetched 336 kB in 1s (637 kB/s)   
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libfwupdplugin1
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,680 B of archives.
After this operation, 162 kB of additional disk space will be used.
Get:1 http://ro.archive.ubuntu.com/ubuntu focal-updates/universe amd64 apt-transport-https all 2.0.6 [4,680 B]
Fetched 4,680 B in 0s (121 kB/s)                
Selecting previously unselected package apt-transport-https.
(Reading database ... 76414 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_2.0.6_all.deb ...
Unpacking apt-transport-https (2.0.6) ...
Setting up apt-transport-https (2.0.6) ...
deb http://liquorix.net/debian sid main
deb-src http://liquorix.net/debian sid main

# Mirrors:
#
# Unit193 - France
# deb http://mirror.unit193.net/liquorix sid main
# deb-src http://mirror.unit193.net/liquorix sid main
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3171  100  3171    0     0   5622      0 --:--:-- --:--:-- --:--:--  5612
OK
Hit:1 http://ro.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://ro.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://ro.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://ro.archive.ubuntu.com/ubuntu focal-security InRelease
Get:5 https://liquorix.net/debian sid InRelease [3,162 B]
Get:6 https://liquorix.net/debian sid/main Sources [1,040 B]
Get:7 https://liquorix.net/debian sid/main amd64 Packages [6,779 B]
Fetched 11.0 kB in 2s (5,269 B/s)     
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
 Liquorix is a distro kernel replacement built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads.

Website: https://liquorix.net
Package Source: https://github.com/damentz/liquorix-package
Kernel Source: https://github.com/zen-kernel/zen-kernel
 More info: https://launchpad.net/~damentz/+archive/ubuntu/liquorix
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Hit:1 http://ro.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://ro.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://ro.archive.ubuntu.com/ubuntu focal-backports InRelease      
Hit:4 http://ro.archive.ubuntu.com/ubuntu focal-security InRelease       
Get:5 http://ppa.launchpad.net/damentz/liquorix/ubuntu focal InRelease [18.1 kB]
Get:7 http://ppa.launchpad.net/damentz/liquorix/ubuntu focal/main amd64 Packages [1,696 B]
Get:8 http://ppa.launchpad.net/damentz/liquorix/ubuntu focal/main Translation-en [676 B]                               
Hit:6 https://liquorix.net/debian sid InRelease                                                 
Fetched 20.4 kB in 1s (13.7 kB/s)             
Reading package lists... Done
Hit:1 http://ro.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://ro.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://ro.archive.ubuntu.com/ubuntu focal-backports InRelease      
Hit:4 http://ro.archive.ubuntu.com/ubuntu focal-security InRelease       
Hit:5 http://ppa.launchpad.net/damentz/liquorix/ubuntu focal InRelease
Hit:6 https://liquorix.net/debian sid InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 linux-headers-liquorix-amd64 : Depends: linux-headers-5.17.0-4.1-liquorix-amd64 (= 5.17-8.1~sid) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.13.0-40-generic
Found initrd image: /boot/initrd.img-5.13.0-40-generic
Adding boot menu entry for UEFI Firmware Settings
done
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.13.0-40-generic
Found initrd image: /boot/initrd.img-5.13.0-40-generic
Adding boot menu entry for UEFI Firmware Settings
done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment