1

I am new ubuntu user and try to install gnu typist. I need to compile the source code to run the app. According to documentation i need c compiler to compile the source code.

I don't have idea how to compile the source code and start using the app on ubuntu/linux.

Please help me to migrate on ubuntu/linux from windows?

Stefano Palazzo
  • 85,787
  • 45
  • 210
  • 227
mahesh
  • 163
  • 4
  • 2
    see similar post: http://askubuntu.com/questions/1026/how-to-compile-source-code-from-a-tarball – aneeshep Dec 29 '10 at 08:31
  • 1
    please edit your question to clarify that you want to install Gnu Typist rather than asking for general compiling from source to avoid duplicate questions ;) – Takkat Dec 29 '10 at 08:38
  • @Takkat - I want to install Gnu Typist; but also i want to learn whole compilation process as well. – mahesh Dec 29 '10 at 10:02
  • That has already been answered here: [How to compile source code from a tarball?](http://askubuntu.com/questions/1026/how-to-compile-source-code-from-a-tarball) – Marco Ceppi Dec 29 '10 at 11:51
  • how to compile has been answered before, see aneeshep's and Marco's comments. For an easy howto see the URL to Ubuntu documentation I gave you. There you will also find links for further reading. – Takkat Dec 29 '10 at 11:54

2 Answers2

5

If you do want to compile it for any reason, download it and do the following:

cd Downloads/
tar -xvf gtypist-2.8.3.tar.gz 
cd gtypist-2.8.3/
./configure
make
sudo make install

The last three lines are the important bit, the first three are just changing to the directory where it's been downloaded to, unpacking the archive and changing to the directory where it's been unpacked to.

Please, before you do, carefully read the INSTALL file that comes with the program, and see if you needn't do something different. You should in any case, if you don't have a very good reason not to, install it from the Repositories as Takkat suggests.

Zanna
  • 69,223
  • 56
  • 216
  • 327
Stefano Palazzo
  • 85,787
  • 45
  • 210
  • 227
2

For a new Ubuntu user there usually is no need to compile applications from source. However this can be done.

In your case I would strongly recommend you install Gnu Typist (or gtypist which is the same) through the software center or synaptic.

Takkat
  • 140,996
  • 54
  • 308
  • 426