LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Using Yum To Install Packages (https://www.linuxquestions.org/questions/linux-newbie-8/using-yum-to-install-packages-693928/)

Arty Ziff 12-30-2008 03:13 PM

Using Yum To Install Packages
 
Normally when I install something like (for example) php, I might compile it using ./configure for the extensions I want. Example:
Quote:

../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysqli=/usr/bin/mysql_config --prefix=/usr/local/php521 --with-gd --with-zlib-dir=/usr/local --with-png-dir=/usr/lib --with-jpeg-dir=/usr/local --with-config-file-path=/usr/local/apache2/conf --with-curl --with-dom --with-pgsql=/usr/local/pgsql821 --enable-ftp --with-ming
How is this done with Yum? And where does one find the package names to use with Yum?

I'm playing with CentOS spacifically.

jailbait 12-30-2008 03:39 PM

Quote:

Originally Posted by Arty Ziff (Post 3391969)

How is this done with Yum? And where does one find the package names to use with Yum?

I'm playing with CentOS spacifically.

Yum is on the menu at System -> Add/Remove Software

Once you start Yum and give it the root password then you can click on List to get a list of every available package. Those packages already installed will have a check mark beside them. Clicking on the box beside each package name toggles between install and remove. Once you check all of the changes you want click on Apply and Yum will make the changes.

------------------------
Steve Stites

colucix 12-30-2008 03:46 PM

You may also be interested in reading some documentation:
http://wiki.centos.org/PackageManagement/Yum
http://www.redhat.com/docs/en-US/Red...de/c1-yum.html

billymayday 12-30-2008 03:46 PM

From the command line, something like

yum list available "php*"

Arty Ziff 12-30-2008 04:23 PM

Quote:

Originally Posted by jailbait (Post 3391998)
Yum is on the menu at System -> Add/Remove Software

Thanks, I use command line exclusivly, I am not at the same location as computer.


All times are GMT -5. The time now is 03:28 AM.