Update-alternatives is a tool dedicated to maintaining system command links in Linux systems, which makes it easy to set which command to use by default, which software version, for example, we have both open jdk and Sun JDK Two versions installed in the system. And we want the system to use the sun JDK by default, what should we do? Through the update-alternatives can be very convenient to achieve.To view
Alternatives and update-alternatives seem to be the same tool (different for each Linux distribution), so here's an example of update-alternatives. Update-alternatives is a very useful tool in Linux, not only in the Debian series, but also in the Redhat series.Linux has grown to today, and there are so many available s
Word, tool update-alternatives is the function of the management system under the similar function of the symbolic link, the way is to have a similar function of the program, not directly call the program, but with a unified symbolic link to call, as to the symbolic linkWhich of the similar function programs is pointed to, is configured and managed by the tool update-alternatives.It's very abstract, so let's take an example and see what's going on nat
Update-alternatives is a tool dedicated to maintaining the system command link in the Ubuntu system, which makes it easy to set which command the system uses by default, which software version, for example, we have both open jdk and Sun JDK Two versions installed in the system. And we want the system to use the sun JDK by default, what should we do? Through the update-alternatives can be very convenient to
http://persevere.iteye.com/blog/1479524Update-alternatives is a tool dedicated to maintaining the system command link in the Ubuntu system, which makes it easy to set which command the system uses by default, which software version, for example, we have both open jdk and Sun JDK Two versions installed in the system. And we want the system to use the sun JDK by default, what should we do? Through the update-alterna
I. Functional roleUpdate-alternatives is a utility for dpkg that maintains symbolic links to system commands to determine what commands the system uses by default.In the Debian system, we may install a number of similar programs and optional configurations, such as Web browser programs (firefox,konqueror), window managers (Wmaker, metacity), and different themes for the mouse. In this way, users can choose when they are using the system to meet their
update-alternatives--Management soft Connect/Word linked (Symbolic links)
Command format
update-alternatives [Options] Command
Detailed description
Update-alternatives can be created, deleted, repaired, soft-connected, and can display information about existing soft links, all of which constitute the Debian alternative system (
Ubuntu update-alternatives (soft connection management), ubuntualternatives
Update-alternatives-manage soft connections/character links (symbolic links)
Command Format
Update-alternatives [options] command
Detailed description
Update-alternatives can be used to create, delete, repair, and soft connections. It c
Alternatives is a powerful command under Linux. Can only be performed under root permissions. If there are several commands in the system that are very similar, but cannot be deleted at will, then you can use alternatives to specify a global setting.
Alternatives is often used to install multiple versions of the same software in the same system. For example, in
Last week when installing the search engine Elasticsearch, asked to install a newer version of Java, I chose Java 1.8.0, the installation of Java after the successful use of java-version found that the version is still 1.6.0,Some information was queried to find that the version of the selected software could be replaced with the Linux Alternatives command.DescriptionAlternatives--install whichInstall indicates installationLink is a symbolic linkName i
Update-alternatives is a tool dedicated to maintaining the system command link in the Ubuntu system, which makes it easy to set which command the system uses by default, which software version , for example, we install both open jdk and sun in the system JDK two versions, and we want the system to use the sun JDK by default, what to do? Through the update-alternatives can be very convenient to achieve.sudo
Alternatives is a powerful command under Linux. Can only be performed under root authority. If there are several command functions in the system that are very similar, but can not be arbitrarily deleted, then use alternatives to specify a global setting.Alternatives is commonly used to install multiple versions of the same software on the same system. For example, in order to develop the need, I need to ins
By default, even with Java 1.6 version Java script jdk-6u31-linux-i586.bin, when Java is installed, it will automatically upgrade to a 1.7 version state. For some applications that need to be run based on version 1.6, a downgrade of 1.6 is required. There are two specific ways to do this:1. Use the alternatives command to implement.Alternatives is a powerful command under Linux, and can only be executed under root authority. If there are several comma
Since the development of Linux, there have been a lot of available software. In this way, some software functions are basically the same. For example, there are nvi, Vim, emacs, and nano in the editor. What I'm talking about is only part of it. In most cases, software with similar functions is installed in the system at the same time and can be executed using their names. For example, to execute vim, you only need to input Vim in the terminal and press Enter. However, in some cases, we need to u
SPRINGMVC configuration of alternatives custom Dispatherservlet configurationThe three methods we wrote earlier in Spittrwebappinitializer are simply the abstract methods that must be overloaded. However, there are many more ways to overload, allowing for additional configuration.For example, Customizeregistration (). This method is called after Abstractannotationconfigdispatcherservletinitializer will dispatcherservlet the main lane servlet container
Alternatives is an important version management tool under UNIX, which was first seen in the Debain system, because its powerful usability makes it a large number of porting in various UNIX environments, And we probably most often use the Java OPENJDK Toolkit in the usual version of the conversion, and in the alternatives implementation of multi-version is the replacement system using the command link to im
Article 35: Consider alternatives other than the virtual function
Article 35 consider alternatives other than the virtual function
Realizing template method mode by Non-virtual interface technique
Implementing strategy mode with function pointers
Complete strategy mode with Tr1function
The classical strategy model
Summary
Virtual func
Alternatives command usage
Alternatives is a powerful command in Linux. It can only run under the root permission. If the system has several commands with similar functions but cannot be deleted at will, you can use alternatives to specify a global setting.Alternatives is often used to install multiple versions of the same software on the same system. For example
Alternatives command usage
Alternatives is a powerful command in Linux. It can only be executed under the root permission. If the system has several command functions that are similar but cannot be deleted at will, you can use alternatives to specify a global setting.
Alternatives is often used to install multiple vers
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.