Whenever youre running a Linux distro, its always a challenge to find all your necessary tools directly in the default repository.
Tcl Package Centos Software And ToolsGranted, all the repositories of any Linux distro comes with a pretty large collection of default software and tools.However, in some cases, you may need to get software outside the repository and install it.In case you need to grab a software package from a different source, you either need to follow the classical method (grabbing the source, building the software and installing it) or locate an installable package. Keep in mind that you should look for RPM packages that are specifically built for CentOSRHEL system. Otherwise, you may need to depend on the FedoraOpenSUSE package. In that case, use them at your own risk (high chance of it not working properly, malfunctioning or not even installing properly). Whatever RPM package you grab, make sure that you choose the correct one according to your systems architecture. Without this, yum wont solve the dependency issues (missingcorrupted or unsatisfied dependencies). It comes from the EPEL repository, so make sure that you configured EPEL on your system. Javascript not enabled - Portions of this site require javascript to work. Youll need to know package names, version numbers, dates of installation, etc. In this Liquid Web tutorial, were going to be discussing how to inspect packages installed on your CentOS system. There are several ways to accomplish this, and well discuss a few of them. Lets dig in To use these commands, youll need to log in to your server via SSH. For more information, see Logging into Your Server via Secure Shell (SSH). This command allows you to see every installed package on your system, along with the version that is currently installed. The important thing here is to understand how to read the output. Take a look at a small excerpt of entries from the list. Each entry can be broken up into three parts. From left to right, these are: Package name: (kpartx) Version: (0.4.9-123.el7) Architecture: (x8664). Lets use rpm to query kpartx: rpm -q kpartx Youll see the output displays the same package name and version we saw from rpm -qa. Now we will discuss how to use yum to accomplish the same task. Try the following command: yum list installed You will see that the list yum provides is formatted slightly differently. Lets look at an entry in depth. The first column shows the package name and architecture: (whois.x8664). The second column shows the version installed: (5.1.1-2.el7). Finally the third column shows the repository the software was installed from: (base). Run the following command to see a list of anytime yum was used to install, remove, or upgrade a package: yum history Here is an example of the output you might see. Your system will show different results here, and that is OK. This is a good summary of when yum was used, but it is lacking detailed information. These utilities are both critical tools for Linux sysadmins on CentOS systems. Of course if you have any questions about how to use these utilities on your own Liquid Web server, let us know The Most Helpful Humans in Hosting are standing by 247 and well be happy to answer your questions.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |