After downloading the source code
Tar zxvf file.tar.gz Extract source code compression package
./configure--prefix=/opt/haha/Install to this path
Make compilation
sudo make install installation
If you do not use the./configure--prefix to install the program to a specific path, the default is
By default, ' make install ' would install all of the files in '/usr/local/bin ', '/usr/local/lib ' etc. You can Specifyan installation prefix other than '/usr/local ' using '--prefix ', for instance '--prefix= $HOME '.
The above information can be viewed through the command "./configure--help".
Visible by default, the program is installed in the/user/local/bin and/usr/local/lib two directories.
If you want to uninstall can be difficult, like a melon seeds scattered to the haystack, and then want to pick up the melon seeds can be more difficult. The default installation puts many executable programs in the/usr/local/bin and/usr/local/lib directories.
You can try the sudo make uninstall command, some programs have this command, some do not.
Another option is to go to the rotten haystack to find, of course, in the/usr/lcoal/bin and/usr/local/lib two directories to look for, "ll-t" command to view recently changed files, the newly added files deleted.
Therefore, be sure to use the "./configure--prefix= Destination Folder" command to install the program into a directory, so that it is much simpler to unload.
Use Apt-get installation More is the installation of a mess, configuration files in/etc directory, some commands in the/bin, some libraries in the/lib, a mess of a force AH. This, Linux is not as good as windows,windows at least to let people know what they have.
Here to say, if you can use Apt-get, in order to simple use apt-get bar. Otherwise, you will face a lot of configuration, installation, dependency problems, just one problem is enough for you to drink a pot, a big noon you find yourself in addition to the installation of the configuration program, nothing to do. These things mean so little, It's far better to go to the Java world to learn something useful. But there are a lot of things in the apt-get that are older than the new version of the installation.
Linux Source Code installation program