LinuxSystemes d'exploitation

How to Update Linux Kernel In Ubuntu – Linux Tips And Tricks

Learn how to update and upgrade your Linux kernel in Ubuntu.

What is difference between update and upgrade in Linux?
The update command only retrieves details about the most recent packages that are accessible on your system. No packages are downloaded or installed by it (just gets the package list). The actual download and update of the package to the new version is handled by the apt upgrade command.

Update the package list
sudo apt-get update

Get list of packages that will be upgraded (downloaded and installed)
apt list –upgradable

Don’t upgrade « libfwupd2 » package
sudo apt-mark hold libfwupd2

Upgrade « libfwupd2 » package
sudo apt-mark unhold libfwupd2

Upgrade packages
sudo apt-get upgrade

ls /var/lib/apt/lists/*

Run both update and upgrade package
sudo apt-get update && sudo apt-get upgrade -y

My favorite way to running update and upgrade (clean downloaded packages)
sudo apt-get update && sudo apt-get upgrade -y && rm -rf /var/lib/apt/lists/*

#linux #ubuntu #redhat #bash

Views : 199
linux

Source by Rabi Gurung

Mourad ELGORMA

Fondateur de summarynetworks, passionné des nouvelles technologies et des métiers de Réseautique , Master en réseaux et système de télécommunications. ,j’ai affaire à Pascal, Delphi, Java, MATLAB, php …Connaissance du protocole TCP / IP, des applications Ethernet, des WLAN …Planification, installation et dépannage de problèmes de réseau informatique……Installez, configurez et dépannez les périphériques Cisco IOS. Surveillez les performances du réseau et isolez les défaillances du réseau. VLANs, protocoles de routage (RIPv2, EIGRP, OSPF.)…..Manipuler des systèmes embarqués (matériel et logiciel ex: Beaglebone Black)…Linux (Ubuntu, kali, serveur Mandriva Fedora, …). Microsoft (Windows, Windows Server 2003). ……Paquet tracer, GNS3, VMware Workstation, Virtual Box, Filezilla (client / serveur), EasyPhp, serveur Wamp,Le système de gestion WORDPRESS………Installation des caméras de surveillance ( technologie hikvision DVR………..). ,

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *