installing linux!!

Status
Not open for further replies.

nileshgr

Wise Old Owl
ok then i will connect my system to net .......... one query, will my Network Card be working there, bcoz i don't know if driver is installed in Fedora or not..its an old frontech card
Linux has problems with the latest hardware when there is no driver for the h/w. Linux fully supports old hardware.
 
OP
ayush_chh

ayush_chh

Ambassador of Buzz
@ mediator

now ur links were really usefulll......:)

i have installed Xmms, nvidia drivers, VlC, GCC what else should i install.......

3 cheers for learning minds

thanks..:)

Q) How do open each window in one window (like in windows)?
 
Last edited:

mediator

Technomancer
ayush said:
@ mediator

now ur links were really usefulll......:smile:

i have installed Xmms, nvidia drivers, VlC, GCC what else should i install.......
Depends upon ur requirements and greed.
Gcc is already there. I guess u instaleld some plugins to provide some compatibiltities. The first and foremost thing u shud do is setting up the path.

Open /home/<username>/.bash_profile and "append" the following where it says "PATH=$HOME/bin" etc, the following line to it.
Code:
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
logout and login.

Now u have full fedora commands waiting for ur orders. U shud most prolly install codecs like gstreamer and players like Xine, mplayer etc. Read the links and decide for urself.

For the window thing, open home direectory => edit => preferences => behaviour => check, " always open in browser windows".
 
OP
ayush_chh

ayush_chh

Ambassador of Buzz
Depends upon ur requirements and greed.
Gcc is already there. I guess u instaleld some plugins to provide some compatibiltities. The first and foremost thing u shud do is setting up the path.

Open /home/<username>/.bash_profile and "append" the following where it says "PATH=$HOME/bin" etc, the following line to it.
Code:
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

i cannot see any /.bash_profile there
 

mediator

Technomancer
yep its a hidden file. Press <ctrl+h> to see all the hidden files and when u have edited it, then press <ctrl+h> again!
 
OP
ayush_chh

ayush_chh

Ambassador of Buzz
^^ thanks a lot....:)

how do i run a C-program?

when i type gcc <filename.c> in terminal it says 'command not found'
 

mediator

Technomancer
I think u aint logout for the changes ($PATH) to take place. Logout n login. U can check if gcc is installed, if not then happy yumming.

As root => "yum install gcc"

BTW, post what ur bash_profile has got.
 
OP
ayush_chh

ayush_chh

Ambassador of Buzz
i still can't run c program.
whenver i type

$gcc ayush.c

it shows error 'command not found'

Code:
PATH=$PATH:$HOME/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

this is what my .bash_profile shows.
 

mediator

Technomancer
Give the content of the whole bash_profile and give the output of the following...

Code:
ls -l /usr/bin/gcc
echo $SHELL
 
OP
ayush_chh

ayush_chh

Ambassador of Buzz
here is the content of whole .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

export PATH

the command gives the output
ls: cannot access /usr/bin/gcc: no such file or directory
/bin/bash

open a terminal and ask the system:
Code:
whereis gcc
:lol:

the o/p is

gcc: /usr/lib/gcc /usr/libexec/gcc
 
Last edited:

mehulved

18 Till I Die............
There you go, that's the problem. gcc is in /usr/lib which is not in your path. But, it's sure strange for gcc to go to /usr/lib. It has always been /usr/bin.
 
OP
ayush_chh

ayush_chh

Ambassador of Buzz
how do i change the path then?

but how did the path change? i followed everything that the link said:confused:
 
Last edited:

praka123

left this forum longback
^no.gcc is not correctly installed I think. /usr/lib/gcc will be a directory.
@ayush:u have to reinstall gcc. :-|
 
Status
Not open for further replies.
Top Bottom