Nest207 f24 Module 01
Nest207 f24 Module 01
NEST - 207
Module - 1
Agenda – Module 1
Authentic information is available from the given resources in course outline and URL's mentioned from this slides, and
this presentation is only supportive document to be read with the given resources and corrected accordingly if required.
• Red Hat Enterprise Linux can be installed using any of the following methods:
• GUI-based installations
• System or cloud image-based installations using RedHat Image Builder
• Advanced installations
• Automated installation using Kickstart
• Remote installation using VNC
• Installing from network using PXE
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-security-policy-x86.html
RHEL Installation
• RHEL installer program is called Anaconda
• Installation log files are stored /root, /var/log/, /tmp.
• Refer Table1-1 Installation Logs of course book
• The Virtual consoles can be used to check on ongoing progress of
installation
• Virtual console 1 is main installer console screen
• Virtual console 2 can be used as command prompt
• Virtual console 6 is the graphical screen
• Virtual screen 3,4,5 shows messages related to installation, storage and
program respectively, otherwise bash command prompt is displayed.
Required Reading Chapter-1
Package Management
• rpm packages can be managed using dnf (or dnf) and rpm
commands
• dnf – Yellowdog Updater Modified using dnf (dnf v4)
• rpm – Redhat Package Manager
• dnf (or dnf) vs rpm
• dnf can download and install the dependent packages and
also can connect to the repository and download the
required packages
• rpm does not install dependent packages and is unable
to connect/download from repositories.
• rpm cannot update software, but dnf can do updates
Package Management - rpm
• To query all packages : rpm –qa or rpmquery -a
• To install package : dnf –y install package (-y option installs without confirmation)
• To remove package : dnf –y remove package
Package Management - dnf
• To list packages installed using wild card : dnf list name*
• To list recently added packages : dnf list recent
• To install package : dnf –y install package (-y option installs without confirmation)
• To update an installed package : dnf –y update package
• To update all installed package : dnf –y update
• To view header info on package : dnf info package
• To search for packages of a specific file : dnf provides file
• To remove package : dnf –y remove package
• To review the transactions using dnf : sudo dnf history
• Alternatively, dnf can be replaced by yum, example yum install package
• Reveiw and familariase other options of dnf command and its purpose
Package Management - dnf
• To list a summary of installed and available groups :
dnf groups summary
• To list all environment and other groups that are available for installation :
dnf group list
• To display header information associated with a group :
dnf group info group_package
• To install a group of packages : dnf –y group install group_package
• To update a group of packages : dnf –y group update group_package
• To remove group package : dnf –y group remove group_package
• Yum cheat sheet :
https://access.redhat.com/sites/default/files/attachments/rh_dnf_cheatsheet_1214_jcs_print-1.pdf
Package Management - dnf
• Module Management - A module is a set of RPM packages that represent a component
and are usually installed together.
• A typical module contains packages with an application, packages with the application-
specific dependency libraries, packages with documentation for the application, and
packages with helper utilities.
• Within modules, streams are organized by version and profiles are organized by purpose.
• To list all modules along with their stream, profile, and summary information
dnf module list
• To list all streams for a specific module such as perl Package management :
Required reading of Chapter
dnf module list perl 9,10 of course book
• To install a module perl : dnf module install perl
• To update a module: dnf module update module_name
• To display module info: dnf module info --profile module_name
• To remove a module : dnf module remove module_name:stream
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/installing_managing_and_removing_user-
space_components/introduction-to-modules_using-appstream
Installing from source
• Installation is done from source files when they are not available in repositories
• Steps to install
1. To check compression method
file packagename
2. Uncompress
tar xvf source tarball tgz or tar.gz -C ~/source
tar jxvg source tarball bz or tar.bz -C ~/source
3. Check for dependencies
• From the uncompressed directory, read README file, then run ./configure, which
checks for dependencies
4. compile the source
• After configure script is successful, run make command
• Then run make install
• In case of failure, need to check for errors, fix it and run make
clean before starting again
• To remove
sudo make uninstall