Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.
Basically it will but the executable in a directory that is in your path, like
/usr/bin
or
/usr/local/bin
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.
optionally you can use ./configure --prefix=/your/path
then it will be installed where you want it. there you'll find the executable too.
Quote:
what is rwhite?
Thanks
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.