Changes between Version 14 and Version 15 of Csle2022/Agenda/linuxpackagemanagement


Ignore:
Timestamp:
Nov 3, 2022, 6:19:32 AM (2 years ago)
Author:
deepthi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified Csle2022/Agenda/linuxpackagemanagement

    v14 v15  
    11= Hands-On =
    22
     3== Repositories and key management ==
     4
     5A Linux repository is a storage location that contains essential and popular software for different Linux distributions and, each distribution has its own official repositories (also called standard-repositories).
     6
     7Debian-based distributions, including, Ubuntu make use of the Advanced Package Tool (APT) to install and update packages. You can find software repository information in the `/etc/apt/sources`. list file on your Debian-based Linux installation.
     8
     9===== to add manually =====
     10
     11Although you can manually enter repository details in the file, it can quickly become a tiresome job. A better way of adding them to your system is by using the `add-apt-repository` tool.
     12
     13===== Install add-apt-repository =====
     14
     15You won't find the add-apt-repository utility installed on your system by default. It is a part of the software-properties-common package. To install add-apt-repository using the APT package manager, type:
     16
     17`sudo apt install software-properties-common`
    318
    419
    5 ====== Add Repositories Using add-apt-repository ======
     20==== Add Repositories Using add-apt-repository ====
    621
    722Now that you've installed the package, it's time to add a third-party software repository to your system. The basic syntax for adding repositories is:
     
    8095`sudo apt autoremove`
    8196
    82 == Repositories and key management ==
    8397
    84 A Linux repository is a storage location that contains essential and popular software for different Linux distributions and, each distribution has its own official repositories (also called standard-repositories).
    8598
    86 Debian-based distributions, including, Ubuntu make use of the Advanced Package Tool (APT) to install and update packages. You can find software repository information in the `/etc/apt/sources`. list file on your Debian-based Linux installation.
    87 
    88 ===== to add manually =====
    89 
    90 Although you can manually enter repository details in the file, it can quickly become a tiresome job. A better way of adding them to your system is by using the `add-apt-repository` tool.
    91 
    92 ======= Install add-apt-repository =======
    93 
    94 You won't find the add-apt-repository utility installed on your system by default. It is a part of the software-properties-common package. To install add-apt-repository using the APT package manager, type:
    95 
    96 `sudo apt install software-properties-common`
    97