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 02:02] 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 475: Line 477:
  
  
-Summary of APT commands and their functions:+Summary of APT commands, or alternate apt-get commands, and their functions
 + 
 + 
 + 
 +<code> 
 +apt:         apt-get:             Function:
  
-__apt         apt-get              Function__ 
 apt update apt-get update      Update software repositories. apt update apt-get update      Update software repositories.
 apt upgrade apt-get upgrade      Upgrade system software. apt upgrade apt-get upgrade      Upgrade system software.
Line 484: Line 490:
 apt purge apt-get purge      Remove an application and user configuration files. 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.1687140176.txt.gz · Last modified: 2023/06/19 02:02 by wikiadmin