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
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
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
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 (
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
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
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
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
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
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
Reprint: http://blog.csdn.net/maixia24/article/details/11707289Update-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-
Update-alternatives command 1. Functions
Update-alternatives is a dpkg utility used to maintain symbolic links of system commands to determine which commands are used by default.
In the Debian system, we may install many similar programs and optional configurations at the same time, such as the web browser program (Firefox, Konqueror), Window Manager (wmaker, metacity) different theme from that of the mo
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
Update-alternatives is a script for switching between multiple commands of the same type and can be installed in Debian via the Apt-get install dpkg. Before explaining the details of Update-alternatives, let's take a look at the examples already in the system. Open the terminal and execute the following command:LsResults: lrwxrwxrwx 1 root root 2011-03-12 15:20/usr/bin/java-/etc/
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
Use alternatives to convert the java version-general Linux technology-Linux programming and kernel information. The following is a detailed description. After jdk was installed, java and javac were replaced with the java and javac of gij in/usr/bin.
Some people on the Internet said that they could use a tool named alternativs to migrate the software version in linux. They decided to use alternatives to mig
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.