Quantcast
Channel: Oracle Bloggers
Viewing all articles
Browse latest Browse all 19780

Migrating to Oracle Linux: How to Identify Applications To Move

$
0
0

source

One of the first things you need to make when migrating from SUSE Linux to Oracle Linux is an inventory of your applications. A package management tool such as Yet Another Setup Tool (YAST) is a big help here. So is the rpm command. Here are some ways to use it.

To List All The Installed Packages

Use the -qa option.

# rpm –qa
filesystem-11.1.3.5.3
sles-release-DVD-11.2.1.234
...

To Save the Output in a File

You can move that file to any location and, anytime later,search through the package list saved there to look for a package of interest:

# rpm –qa > rpmlist.txt

To Sort the Packages

To see the installed packages sorted by install time, use --last. The packages installed most recently will appear at the top of the list, followed by the standard packages installed during the original installation:

# rpm –qa --last
VirtualBox-4.2-4.2.6_82870_sles11-0-1
...

To Find Out If A Particular Component Is Installed

To find out whether a particular component is installed and what version it is, use the name option. For example:

# rpm –qa python
python-2.6.0-8.12.2

To Find Out What Dependencies a Package Has

Use the -qR option:

# rpm –qR python-2.6.0-8.12.2
python-base = 2.6.0
rpmlib(VersionedDependencies) <= 3.0.3-1
...

The Linux Migration Guide

You can find out more about migration steps with either rpm or YaST, including the benefits of migrating to Oracle Linux, by downloading the white paper from here:

Download the Oracle Linux Migration Guide

- Rick

Follow me on:
Blog | Facebook | Twitter | YouTube | The Great Peruvian Novel


Viewing all articles
Browse latest Browse all 19780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>