Open main menu

CDOT Wiki β

Changes

OPS245 Lab 3 dev

547 bytes added, 16:16, 21 February 2023
INVESTIGATION 3: MANAGING SOFTWARE PACKAGES
Next, we will add the '''epel repository''' (Extra Packages for Enterprise Linux) and install '''Alien'''. '''Alien''' is a tool for converting packages for other package managers (such as debian, which end with .deb) to another (such as red hat, which end with .rpm).
 
 
Possible Packages to install from epel:
# Cinnamon
# Chromium
 
# To add the epel repository, issue the commands:<br><b><code><span style="color:#3366CC;font-size:1.3em;">sudo subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms <br> sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm</span></code></b>
# Install alien:<b><code><span style="color:#3366CC;font-size:1.3em;">sudo dnf install alien</span></code></b>
# Also verify that the application called: '''packettracer''' is not installed.
# Login to [https://www.netacad.com/ Cisco Netacad] and download Packet Tracer '''Ubuntu Desktop Version'''
# Launch a terminal and change to the directory where you downloaded the package (likely your Downloads folder)# Issue the following commandconvert the .deb package to an rpm using Alien (this may take a few minutes, be patient): <b><code><span style="color: #3366CC;font-size:1.2em;">sudo alien -r CiscoPacketTracer_*</span></code></b># List the contents of your directory. What changed? What do you think Alien did?# Issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">sudo dnf localinstall xchat-2.8.8-25.el7.x86_64.rpm</span></code></b>
# Verify that the '''xchat''' command has been installed.
# Run the xchat application# Unused and unneeded software can present a security risk and ties up disk space needlessly. Find '''at least 4 other packages''' to remove on your r9host machine(for example: '''sound & video''', '''games''', etc) that you're not using on your system. '''Be careful''' to ensure that removing those packages does not also remove other software that you do need.
# Remain in your '''r9host''' VM, but make certain that you are logged in as a regular user (i.e. NOT root!).
# Issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">which chocolate-doomlbreakouthd</span></code></b><br>Is there a program called '''chocolate-doomlbreakout2''' on your system?# Perform an Internet search for the pattern: <b><code><span style="color:#3366CC;font-size:1.2em;">lbreakouthd tar.gz</span></code></b># Go to the following url an appropriate webpage and download a "zipped tarball" (compressed source code) for the '''[https://www.chocolate-doom.org/wiki/index.php/Downloads chocolate-doom]lbreakoutHD''' game (filename should be something like: '''chocolate-doomlbreakout2-32.06.15.tar.gz''')# Change to the directory where you downloaded that file (most likely '''~/Downloads'Download''s).# Use the '''tar''' command to decompress the "zipped tarball" called something like (not may be exactly): '''chocolatelbreakouthd-doom-31.01.1.tar.gz'''.# Change to the directory that contains that ''chocolate-doomlbreakouthd'' source code.
{| width="40%" align="right" cellpadding="10"
|- valign="top"