LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-30-2008, 03:13 PM   #1
Arty Ziff
Member
 
Registered: May 2008
Location: Tacoma, WA
Distribution: CentOS and RHEL
Posts: 124

Rep: Reputation: 15
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.
 
Old 12-30-2008, 03:39 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by Arty Ziff View Post

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

Last edited by jailbait; 12-30-2008 at 03:42 PM.
 
Old 12-30-2008, 03:46 PM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
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
 
Old 12-30-2008, 03:46 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
From the command line, something like

yum list available "php*"
 
Old 12-30-2008, 04:23 PM   #5
Arty Ziff
Member
 
Registered: May 2008
Location: Tacoma, WA
Distribution: CentOS and RHEL
Posts: 124

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jailbait View Post
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.

Last edited by Arty Ziff; 12-30-2008 at 04:54 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install packages from DVD using YUM Mr. ameya sathe Linux - Enterprise 21 08-23-2008 05:16 AM
where yum saves downloaded packages . how can i install all of these on other system amolgupta Linux - Software 3 11-22-2007 06:54 AM
How to install packages from DVD with Yum? vlaki22 Linux - Software 1 09-02-2006 08:10 AM
Ignore Packages in Yum? sipsipi Fedora 1 02-11-2006 02:19 PM
using yum for extra packages beowulf405 Fedora 1 06-21-2004 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration