FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
yum info php --enablerepo=php52
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: ftp.arnes.si
Installed Packages
Name : php
Arch : i386
Version : 5.2.17
Release : 1.1.w5
Size : 3.0 M
Repo : installed
Summary : The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
URL : http://www.php.net/
License : PHP
Description: PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated webpages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: The php package contains the module which adds support for the PHP
: language to Apache HTTP Server.
Available Packages
Name : php
Arch : i386
Version : 5.3.8
Release : 1.w5
Size : 1.3 M
Repo : php52
Summary : PHP scripting language for creating dynamic web sites
URL : http://www.php.net/
License : PHP
Description: PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated web pages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: The php package contains the module which adds support for the PHP
: language to Apache HTTP Server.
What colours mean you can find some info here or maybe some googling.
If you don't see the colours you can enable the option via command line to test, with:
Code:
# yum info vim* --color=on
or disabled colours:
# yum info vim* --color=off
and if you have ANSI terminal connected you should see colours.
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495
Original Poster
Rep:
Code:
╭─[~/.apps/android-sdk-linux]─[bull@beastlinux]─[0]─[492]
╰─[:)] % yum info vim* --color=on
zsh: no matches found: vim*
╭─[~/.apps/android-sdk-linux]─[bull@beastlinux]─[1]─[493]
╰─[:(] % yum info php --enablerepo=php52
Loaded plugins: downloadonly, langpacks, presto, refresh-packagekit
Error getting repository data for php52, repository not found
╭─[~/.apps/android-sdk-linux]─[bull@beastlinux]─[1]─[494]
╰─[:(] % yum info php
Loaded plugins: downloadonly, langpacks, presto, refresh-packagekit
Available Packages
Name : php
Arch : i686
Version : 5.3.8
Release : 3.fc16
Size : 2.3 M
Repo : fedora
Summary : PHP scripting language for creating dynamic web sites
URL : http://www.php.net/
License : PHP
Description : PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated web pages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: The php package contains the module which adds support for the PHP
: language to Apache HTTP Server.
Name : php
Arch : x86_64
Version : 5.3.8
Release : 3.fc16
Size : 2.3 M
Repo : fedora
Summary : PHP scripting language for creating dynamic web sites
URL : http://www.php.net/
License : PHP
Description : PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated web pages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: The php package contains the module which adds support for the PHP
: language to Apache HTTP Server.
╭─[~/.apps/android-sdk-linux]─[bull@beastlinux]─[0]─[495]
╰─[:)] % grep color /etc/yum.conf
color=on
╭─[~/.apps/android-sdk-linux]─[bull@beastlinux]─[0]─[496]
╰─[:)] %
No colors at all except in my zsh prompt. I really liked Gentoo for all the colors in the console and Arch for the colors in the man pages. It made the terminal less dull looking.
EDIT: My prompt does support ANSI. It does the colors in my prompt. I'm using the default, gnome-terminal in Gnome3.2 for Fedora16. Even XTerm supports colors.
Last edited by fakie_flip; 12-21-2011 at 01:35 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.