-   Linux - Software (
-   -   Compiling packages and stuff (

rajvirnijjar 08-25-2004 06:49 PM

Compiling packages and stuff
I am new to linux, I have Red Hat 9. I am just learning how to compile packages. I am having a problem though. I want to move a folder into the /usr/local/src directory, but every time i try to do it this is what i get.

[root@localhost root]# mv ~rwhite/kgraphspace-0.3.0-pre1.tar.bz2 /usr/local/src
mv: can't stat source ~rwhite/kgraphspace-0.3.0-pre1.tar.bz2

what does it mean that it can't stat source....

I compilied another package and i got the same thing so i just physically moved it by copying and pasting it into that directory but i want to learn it using the commands.

I know mv is the move command but what is ~rwhite

Can someone help me out.


Boby 08-25-2004 07:01 PM

Hello rajvirnijjar!

Try to use: mv ~/ rwhite/kgraphspace-0.3.0-pre1.tar.bz2 /usr/local/src

~/ is your home directory. It's the same like /home/rajvirnijjar.
So you could use your above command mv home/rajvirnijjar/rwhite/kgraphspace-0.3.0-pre1.tar.bz2 /usr/local/src

Cheers, Boby

rajvirnijjar 08-25-2004 07:40 PM

what is rwhite?


rajvirnijjar 08-25-2004 10:49 PM

I have one more question, after i compilie that package and make install it how do i go about running it. For example in windows once a program is installed it is in programs, but how do i go about using it after i have compiled it and installed it.


realjustin 08-25-2004 10:55 PM

Basically it will but the executable in a directory that is in your path, like



Then if you know the executable name, you can just type it in at the command prompt as any user. If you want to add an icon that can execute it through KDE, Gnome or another window manager, that will be a different procedure, but it should involve right clicking on the desktop and adding a link or launcher.

Boby 08-26-2004 07:18 AM

optionally you can use ./configure --prefix=/your/path
then it will be installed where you want it. there you'll find the executable too.


what is rwhite?

I tought it's a directory in your home folder..cause you used it in your first post:
[root@localhost root]# mv ~rwhite/kgraphspace-0.3.0-pre1.tar.bz2 /usr/local/src
mv: can't stat source ~rwhite/kgraphspace-0.3.0-pre1.tar.bz2


All times are GMT -5. The time now is 10:52 PM.