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.
| 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 ->->->, or use the chkconfig and 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.
| 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.
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.
| 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. |
No comments:
Post a Comment