Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


upgrading_software_apt_linux_ubuntu_server_22_04_02

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
upgrading_software_apt_linux_ubuntu_server_22_04_02 [2023/06/19 01:47] wikiadminupgrading_software_apt_linux_ubuntu_server_22_04_02 [2023/06/19 02:18] (current) wikiadmin
Line 1: Line 1:
 ====== Upgrading Software with APT on Linux Ubuntu Server 22.04.02 ====== ====== Upgrading Software with APT on Linux Ubuntu Server 22.04.02 ======
  
-**Upgrading software with Apt.**  Apt, the Advanced Packaging Tool is a command line application at the heart of Debian systems which handles the installation, categorization and removal of applications and their dependencies from the software repositories. Apt is available via the Terminal and we can even administrate systems remotely using a remote connection such as SSH.+**Upgrading software with Apt.**   
 + 
 +Apt, the Advanced Packaging Toolis a command line application at the heart of Debian systems which handles the installation, categorization and removal of applications and their dependencies from the software repositories. Apt is available via the Terminal and we can even administrate systems using a remote connection such as SSH.
  
 First use the Apt "update" command to determine the latest updates that are available from our software repositories for purposes of next upgrading those existing installed applications for which updates are available. To upgrade all of our currently installed software applications on Ubuntu, we can then use the “upgrade” command. Using the "upgrade" command along with first using the “update” command, we can ensure that our software repositories are up-to-date, meaning that any new software is at the latest version.  So, the following is the two step process of using Apt to update and upgrade existing installed applications: First use the Apt "update" command to determine the latest updates that are available from our software repositories for purposes of next upgrading those existing installed applications for which updates are available. To upgrade all of our currently installed software applications on Ubuntu, we can then use the “upgrade” command. Using the "upgrade" command along with first using the “update” command, we can ensure that our software repositories are up-to-date, meaning that any new software is at the latest version.  So, the following is the two step process of using Apt to update and upgrade existing installed applications:
Line 130: Line 132:
 Do you want to continue? [Y/n] Do you want to continue? [Y/n]
 </code> </code>
 +
 +Answer the prompt:
 +
 +<code>
 +Do you want to continue? [Y/n] Y
 +</code>
 +
 +The Upgrading Output follows:
  
 <code> <code>
Line 438: Line 448:
  
 The processor microcode seems to be up-to-date. The processor microcode seems to be up-to-date.
 +</code>
  
 +A graphical option box opens:
 +
 +<code>
 +Select which services from the list to restart.   
 +</code>
 +
 +Just accept the services that are preselected to restart by tabbing down to highlight the "OK" button, and press enter to continue with certain services being restarted.
 +
 +<code>
 Restarting services... Restarting services...
  systemctl restart irqbalance.service multipathd.service packagekit.service polkit.service rsyslog.service ssh.service thermald.service udisks2.service  systemctl restart irqbalance.service multipathd.service packagekit.service polkit.service rsyslog.service ssh.service thermald.service udisks2.service
Line 455: Line 475:
 user@svr1:~$ user@svr1:~$
 </code> </code>
 +
 +
 +Summary of APT commands, or alternate apt-get commands, and their functions:
 +
 +
 +
 +<code>
 +apt:         apt-get:             Function:
 +
 +apt update apt-get update      Update software repositories.
 +apt upgrade apt-get upgrade      Upgrade system software.
 +apt install apt-get install      Install an application.
 +apt remove apt-get remove      Remove an application.
 +apt purge apt-get purge      Remove an application and user configuration files.
 +
 +</code>
 +
 +
 +Apt has a few extra commands:
 +
 +<code>
 +
 +Command:                Function:
 +
 +apt search         Search for a specific application.
 +apt edit-sources Edit /etc/apt/sources.list file which contains all of your software repositories. This is 
 +                        really a shortcut command which opens a text editor.
 +
 +apt list         List all of the installed applications.
 +apt show         List the details of an application, including any dependencies.
 +</code>
 +
 +Credit goes to TomsHardware.com for the explanation of the apt command and the basis of this Article.
 +
 +To learn more about the specific usage of all of these apt commands
 +
 +Please see: [[https://www.tomshardware.com/how-to/add-remove-linux-software-using-apt]]
 + 
upgrading_software_apt_linux_ubuntu_server_22_04_02.1687139268.txt.gz · Last modified: 2023/06/19 01:47 by wikiadmin