Compiling programs by yourself
If for a program doesn't exist any precompiled package but the source code is available, you seemly have to compile the source by yourself. It's a bit more complex but therefor the compiled program is well adapted for your system.
For compiling some source code you have to install some tools. Essential tools are 'gcc' and 'make' which you can easily install by using apt.
Source codes mostly are available as a .tar.gz package. You can extract it by typing tar xvfz filename.tar.gz into your bash.
For compiling a program you need to customize the configuration files of the program. You can do this by typing ./configure into the console. After doing this you can start the compiling with the command make. If that finished, too, you execute sudo make install for installing the compiled program.
Additional information: After a note by Julian i've got some information related to checkinstall: instead of typing in the last step 'make install' it's better to type on Debian-based systems (like Ubuntu) checkinstall. This will create a .deb or .rpm file which you can install by typing dpkg -i packagename.deb respectively rpm -i packagename.rpm and uninstall with dpkg -r packagename.deb respectively rpm -e packagename.rp,.
Source codes mostly are available as a .tar.gz package. You can extract it by typing tar xvfz filename.tar.gz into your bash.
For compiling a program you need to customize the configuration files of the program. You can do this by typing ./configure into the console. After doing this you can start the compiling with the command make. If that finished, too, you execute sudo make install for installing the compiled program.
Additional information: After a note by Julian i've got some information related to checkinstall: instead of typing in the last step 'make install' it's better to type on Debian-based systems (like Ubuntu) checkinstall. This will create a .deb or .rpm file which you can install by typing dpkg -i packagename.deb respectively rpm -i packagename.rpm and uninstall with dpkg -r packagename.deb respectively rpm -e packagename.rp,.
Post comment
Zum Kommentieren musst du angemeldet sein.

0 comments
Sorry but there are no comments for this entry. What about writing the first one?