Download the software from github, enter the directory containg from_fastq_to_fasta.c and compile it with:
make
The following command outputs the results to the standard output (STDOUT)
from_fastq_to_fasta reads.fastq
For redirectoring the output to a file:
from_fastq_to_fasta reads.fastq > reads.fasta