{"id":8047,"date":"2018-08-10T14:10:27","date_gmt":"2018-08-10T14:10:27","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=8047"},"modified":"2025-03-14T07:53:31","modified_gmt":"2025-03-14T07:53:31","slug":"uktool-tool-to-install-latest-kernels-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2018\/08\/uktool-tool-to-install-latest-kernels-ubuntu\/","title":{"rendered":"UKTools &#8211; Another Tool to Install the latest Linux Kernels in Ubuntu"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5727\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/03\/kernel-icon-tux.png\" alt=\"Linux Kernel\" width=\"245\" height=\"250\" \/><\/p>\n<p>There&#8217;s already a graphical tool called <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2017\/02\/ukuu-install-latest-kernels-ubuntu-linux-mint\/\" target=\"_blank\" rel=\"noopener\">Ukuu<\/a> which make it easy to install the latest Linux Kernels in Ubuntu and Linux Mint.<\/p>\n<p><b>UPDATE 2025: UKTools has NOT been updated for a few years!<\/b><\/p>\n<p>Today I&#8217;m going to show you a new command line tool called <a href=\"https:\/\/github.com\/usbkey9\/uktools\/\" target=\"_blank\" rel=\"noopener\"><b>UKTools<\/b><\/a> which provides:<\/p>\n<ul>\n<li><b>uktools-upgrade<\/b>, one command to install the latest Linux kernel (stable) from <a href=\"http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/\" target=\"_blank\" rel=\"noopener\">kernel.ubuntu.com<\/a>.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8048\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/uktools-upgrade-600x230.jpg\" alt=\"\" width=\"600\" height=\"230\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/uktools-upgrade-600x230.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/uktools-upgrade-450x173.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/uktools-upgrade.jpg 748w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/li>\n<li><b>uktools-purge<\/b>, one command to remove old kernels, the first and the last two are excluded.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8049\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/uktools-purge-600x276.jpg\" alt=\"\" width=\"600\" height=\"276\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/uktools-purge-600x276.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/uktools-purge-450x207.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/uktools-purge.jpg 749w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/li>\n<\/ul>\n<p>The tools also support cron jobs to automatically run upgrade and\/or purge scripts.<\/p>\n<div class=\"arconix-box arconix-box-yellow\"><i class='fa fa-2x pull-left fa-lightbulb-o'><\/i><div class=\"arconix-box-content\">NOTE that the mainline kernels are provided by Ubuntu Kernel Team for testing and debugging purposes. They are not supported and are not appropriate for production use. You should only install these if they may fix a critical problem you\u2019re having with the current kernel. Read more about <a href=\"https:\/\/wiki.ubuntu.com\/Kernel\/MainlineBuilds\" target=\"_blank\" rel=\"noopener\">mainline kernels<\/a>.<\/div><\/div>\n<h4>How to Install UKTools in Ubuntu:<\/h4>\n<p>The application does not has any Ubuntu binary at the moment. However, it&#8217;s easy to compile it from the source.<\/p>\n<p><b>1.<\/b> Open terminal (Ctrl+Alt+T) and clone the source via command:<\/p>\n<pre style=\"border: none;\">git clone https:\/\/github.com\/usbkey9\/uktools &amp;&amp; cd uktools<\/pre>\n<p><b>2.<\/b> Then compile and install it via command:<\/p>\n<pre style=\"border: none;\">make<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8050\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/install-uktools-600x311.jpg\" alt=\"\" width=\"600\" height=\"311\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/install-uktools-600x311.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/install-uktools-450x233.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/install-uktools.jpg 756w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>The setup runs automatically if it&#8217;s installed successfully.<\/p>\n<h4>Uninstall:<\/h4>\n<p>Keep the <b>uktools<\/b> folder in your user root directory, so you can re-run UKTools setup, or remove the command line tool via command:<\/p>\n<pre style=\"border: none;\">cd ~\/uktools\/ &amp;&amp; make uninstall<\/pre>","protected":false},"excerpt":{"rendered":"<p>There&#8217;s already a graphical tool called Ukuu which make it easy to install the latest Linux Kernels in Ubuntu and Linux Mint. UPDATE 2025: UKTools has NOT been updated for a few years! Today I&#8217;m going to show you a new command line tool called UKTools which provides: uktools-upgrade, one command to install the latest [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52,9],"tags":[14,1415],"class_list":["post-8047","post","type-post","status-publish","format-standard","hentry","category-app-review","category-howtos","tag-linux-kernel","tag-ubuntu-kernel-upgrade-utility"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=8047"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8047\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=8047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=8047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=8047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}