Difference between revisions of "Compile software"
From Linuxintro
imported>ThorstenStaerk (Created page with "Find the source of your software on the internet - best to use http://www.google.com. Typically, it is a compressed file with an extension like tar.gz or tar.bz2. Use tar...") |
imported>ThorstenStaerk |
||
Line 1: | Line 1: | ||
Find the source of your [[software]] on the internet - best to use http://www.google.com. Typically, it is a compressed file with an extension like tar.gz or tar.bz2. Use [[tar]] [[bunzip2]] or [[unzip]] to [[extract]] the archive. | Find the source of your [[software]] on the internet - best to use http://www.google.com. Typically, it is a compressed file with an extension like tar.gz or tar.bz2. Use [[tar]] [[bunzip2]] or [[unzip]] to [[extract]] the archive. | ||
− | For example, download and unpack [ | + | For example, download and unpack [http://pingus.seul.org/ pingus]: |
[[wget]] http://pingus.seul.org/files/pingus-0.6.0-binary-linux-i386.tar.bz2 | [[wget]] http://pingus.seul.org/files/pingus-0.6.0-binary-linux-i386.tar.bz2 | ||
[[bunzip2]] pingus-0.6.0-binary-linux-i386.tar.bz2 | [[bunzip2]] pingus-0.6.0-binary-linux-i386.tar.bz2 |
Revision as of 18:52, 30 January 2012
Find the source of your software on the internet - best to use http://www.google.com. Typically, it is a compressed file with an extension like tar.gz or tar.bz2. Use tar bunzip2 or unzip to extract the archive.
For example, download and unpack pingus:
wget http://pingus.seul.org/files/pingus-0.6.0-binary-linux-i386.tar.bz2 bunzip2 pingus-0.6.0-binary-linux-i386.tar.bz2 ls tar xvf pingus-0.6.0-binary-linux-i386.tar cd pingus-0.6.0
Look for a file named README or something similar and read it.
kwrite README
Now, you must run the configuration for the build and build it. You need to be a superuser for this.
su - ./configure && make && make install
TroubleShooting
Most likely the configure script will fail because of missing dependencies to the development packages. No worry, read and follow the hints at configure. You will also find examples there.