Now you have your shiny new CentOS operating system installed, one of the first things you may want to do is install some software on it. This document aims to bring together articles already on the CentOS Wiki relating to installing software on your system. It is recommended that new users take the time to read and understand this documentation. The preferred way to install software on your CentOS system is to use the provided package management tools. CentOS uses the Red Hat Package Management (RPM) system and YUM as a front end to it. This tutorial will guide you on how to perform a minimal installation of latest version of CentOS 7.0, using the binary DVD ISO image, an installation that is best suitable for developing a future customizable server platform, with no Graphical User Interface, where you can install only the software that you need. If you run yum install mysql on CentOS 7. As mentioned in the introduction, the Yum command to install MySQL in fact installs MariaDB. To install MySQL. YUM is the preferred tool for installing software on your system. Online documentation for YUM is available here: Links currently broken. (Meanwhile see YUM is a command line tool and, despite being extremely powerful, is very easy to use so users new to Linux need not be afraid of it. To use YUM to install software on your system you will need to be root. In it's basic form, YUM uses the following syntax. Code: yum update Note that if you install software with YUM it will always install the latest version so you do not need to do an update after installing a new package. Using YUM really is that easy. There is a page with some rather nifty RPM and YUM tips & tricks here: See also: Groups Another powerful feature of YUM is the concept of groups of software. This is software related to a task grouped together. For example, suppose you chose not to install support for printing or any office-based software when you installed CentOS. Having to find and install packages we need individually could be time consuming so we can simply choose to install the whole software group. To see a list of groups, we can do. Code: yum groupinfo 'Printing Support' Group: Printing Support Description: Install these tools to enable the system to print or act as a print server. Hping3 DownloadMandatory Packages: ghostscript cups Default Packages: enscript samba-client system-config-printer hal-cups-utils hplip a2ps paps Optional Packages: bluez-utils-cups Repositories All of the above works fine for installing software that is provided as part of the CentOS system, but what about if you want to install a software package that isn't provided by CentOS? This is where 3rd party repositories come in. A vast amount of software has been packaged and is maintained by the packagers and placed into 3rd party software repositories such that it can be installed using YUM. Please read the Wiki page on repositories here: RPMForge and ATrpms were two of the larger 3rd party repositories that provided software packages for CentOS. However, rpmforge has been largely unmaintained for about 3 or 4 years at the time of writing (late 2016) and is no longer recommended for use. There have been no security updates published for rpmforge packages in several years and what exists may contain unfixed security vulnerabilities. The situation with ATRpms is similar although with this repo, the mirrors that contain the content are often offline so it's tricky to install anything at all and probably lucky that you cannot since it too suffers the same problems as rpmforge - late or missing updates. The EPEL repository is generally safe and is now easily installable on all supported CentOS versions by running yum --enablerepo=extras install epel-release as the epel-release package is now in the CentOS 'extras' repo to make life easier. Other third party yum repositories include, nux-dextop which is the current best source for multimedia packages on CentOS and ELRepo which provides hardware support such as display and network drivers. How To Install Hping3 On Centos Commands ListHowever, we need to be careful when enabling 3rd party repositories so that they don't conflict with CentOS packages. For example, they may contain newer versions of software packages that may break your system. For this reason we strongly advise not to update packages provided by CentOS with versions from 3rd party repositories as this may break things. Remember - if you break your system, you get to keep the pieces. To get around this problem we can use a plugin for YUM called 'priorities'. Priorities allows us to rank repositories from 1 to 99 such that packages installed from a repository with a lower number (higher ranking) will never be overwritten or upgraded by a package from a repository with a higher number (lower ranking).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2018
Categories |