Guide to Linux Package Management with YUM and APT
3 Linux Package Management
3.1 YUM Packages
Common YUM Commands:
- yum remove, yum erase: Removes the specified package(s) and dependencies.
- yum list, yum grouplist [option] [expression]: Provides information on available packages. Use options like ‘available’, ‘updates’, ‘installed’, or ‘extras’ to filter the results.
- yum provides: Finds the package that provides a specific utility or file.
- yum search: Searches for packages based on keywords in their name, summary, or description.
- yum info, yum groupinfo
Safe Site Access & Programming Fundamentals
Recommendations for Accessing Secure Sites
Maintaining Updated Software
Keep your operating system and browser updated. Install and update antivirus, firewall, and antispam software.
Using Strong Passwords
Avoid simple usernames and passwords. Utilize strong passwords and enable browser security options. Disable browser autocompletion of usernames and passwords on forms.
Secure Log Out
Always log out completely, rather than just closing the window.
Check for HTTPS
Verify that the website uses the secure
Read MoreCPU Architecture: Components and Functions
Central Processing Unit (CPU)
1. The Control Unit (CU)
The control unit governs the other units, interpreting and executing instructions while monitoring their sequence. It receives and interprets information, sending precise orders to the necessary elements for correct data processing.
Components of the Control Unit:
- Program Counter (PC): A sequence control register containing the memory address of the next instruction to execute, ensuring proper instruction sequencing. When a program starts, the
Introduction to Databases and Entity-Relationship Model
Introduction to Databases
Definitions
Database: A collection of interrelated data that can be managed jointly.
Entity-Relationship Model: A theoretical approach to model data from a database using diagrams.
Entity: An element of reality with associated data that exists independently. Entities are usually identified with names, for example, customers, items, rooms, students, etc.
Relationship: A connection between at least two entities. Related entities must exist before the relationship can be established.
Read MoreOperating Systems and Memory Management Quiz
1 – Which of the following items not part of an operating system service?
A) Program implementation
B) Memory management
C) Acceleration of the calculations
D) Error Detection
2 — In the following alternatives to the concept of kernel is:
A) A process stored in main memory
B) A software responsible for the different programs provide secure access to computer hardware
C) A system call
D) An operating system time sharing
3 — Multiprograma systems are characterized by:
A) Are sequential and the
Read MoreC Programming Functions: A Comprehensive Guide
Types of Functions
C utilizes two main types of functions:
- Library Functions: Pre-written routines for common operations and calculations.
- User-Defined Functions: Created by programmers for specific tasks within their programs. These can also be part of modules or libraries.
Functions in C
A C function is a self-contained block of code designed to perform a specific task. It’s essentially a mini-program that produces a value or outcome based on its input arguments (parameters).