Showing posts with label Linux_Fedora_15. Show all posts
Showing posts with label Linux_Fedora_15. Show all posts

Thursday, November 10, 2011

Those you should already know about yum


Installing New Software with yum

To install the package tsclient, enter the command:
su -c 'yum install tsclient'
Enter the password for the root account when prompted.
To install the package group MySQL Database, enter the command:
su -c 'yum groupinstall "MySQL Database"'
Enter the password for the root account when prompted.
[Important]New Services Require Activation
When you install a service, CentOS does not activate or start it. To configure a new service to run on bootup, choose Desktop->System Settings->Server Settings->Services, or use the chkconfigand service command-line utilities.

Updating Software with yum

To update the tsclient package to the latest version, type:
su -c 'yum update tsclient'
Enter the password for the root account when prompted.
[Important]New Software Versions Require Reloading
If a piece of software is in use when you update it, the old version remains active until the application or service is restarted. Kernel updates take effect when you reboot the system.
To update all of the packages in the package group MySQL Database, enter the command:
su -c 'yum groupupdate "MySQL Database"'
Enter the password for the root account when prompted.
[Note]Updating the Entire System
To update all of the packages on your CentOS system, use the commands described in Section 6, “Updating Your System with yum.

Removing Software with yum

To remove software, yum examines your system for both the specified software, and any software which claims it as a dependency. The transaction to remove the software deletes both the software and the dependencies.
To remove the tsclient package from your system, use the command:
su -c 'yum remove tsclient'
Enter the password for the root account when prompted.
To remove all of the packages in the package group MySQL Database, enter the command:
su -c 'yum groupremove "MySQL Database"'
Enter the password for the root account when prompted.
[Note]Data and Configuration File Retention
The removal process leaves user data in place but may remove configuration files in some cases. If a package removal does not include the configuration file, and you reinstall the package later, it may reuse the old configuration file.

Monday, September 26, 2011

In F15, you may be faced with Aw, snap! in Chrome when it loading some web app like igoolge, google doc, etc.
The following method can fix it simply.

We are trying to control what the chrome-sandbox is allowed to do, since it is setuid. The bug that you are seeing is caused by a file/directory being created in the homedir with the wrong label on it. In F15 we did not have policycoreutils-restorecond installed by default, which would have fixed the mislabeled directory. We can add this to a comps file to make sure it gets installed in the future. In F16 we have the ability to label these files/directories correctly on creation.
The quick fix is to execute the following command:
restorecon -R ~/.config
The command also solves the problem where the Xmarks Bookmarks Synchronizer and Delicious Bookmarks Extensions keeps on crashing on Chrome on Fedora 15.
From: 
http://blog.randell.ph

Tuesday, July 12, 2011

Install Ibus on Fedora Note

1. yum install ibus-pinyin ibus ibus-gtk ibus-qt
2. Use input method selector to config
3. log out and in