Basic Linux


Advanced Packaging Tool, APT

APT is a package management tool used in Debian and its derivatives (such as Ubuntu). It automatically resolves package dependencies, allowing users to install, update, and remove software with simple commands. This greatly simplifies the process of managing system software.

Update & Upgrade

In an Ubuntu system, the difference between APT update and APT upgrade is as follows:

Package Name

Method 1: apt search

apt search <key-word>

Method 2: dpkg search

which <command>
dpkg -S <return-by-which-command>

Remove

sudo apt remove <package-name>

Secure Shell, SSH

Asymmetric Cryptography

SSH is an encrypted communication protocol mainly used to provide secure remote login and data transfer over unsecured networks. Through SSH, users can securely access and manage remote systems, ensuring the confidentiality and integrity of data during transmission.

Asymmetric cryptography, also known as public-key cryptography, uses a pair of keys (a public key and a private key) for data encryption and digital signatures. This technology is widely used for secure communication, authentication, and digital signing, ensuring the confidentiality and integrity of data during transmission.

Two common use cases of asymmetric cryptography: