i am new to linux and i prefer to do everything from command line
first the short questions:
1). what location does software install, like chromium?
2). where are apt and other cache and temp files/logs are they safe to delete?
3). how do i make a shortcut to desktop? from command line
4). compiling an application from source -> aria2c
downloaded and unpack
wget
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://sourceforge.net/projects/aria2/files/stable/aria2-1.18.5/aria2-1.18.5.tar.xz"
linktext was:"http://sourceforge.net/projects/aria2/f ... 8.5.tar.xz"
====================================
tar xf aria.tar.xz
when i run ./configure
Code: Select all
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/demo/aria2-1.18.5':
configure: error: C compiler cannot create executables
See `config.log' for more details
Code: Select all
#include <stdio.h>
int main(){
printf("test");
return 0;
}
gcc -Wall -o 3 3.c
it says
Code: Select all
$ gcc -Wall -o 3 3.c
3.c:1:19: fatal error: stdio.h: No such file or directory
compilation terminated.
demo@antiX1:~/Documents