LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   compiling software from source...how do i delete the folder w/ source? (http://www.linuxquestions.org/questions/linux-software-2/compiling-software-from-source-how-do-i-delete-the-folder-w-source-200101/)

webazoid 07-01-2004 07:29 PM

compiling software from source...how do i delete the folder w/ source?
 
I just installed xmms from source on mdk10. now when i try to delete the original folder in which i had unzip xmms source, it alllows me to move to trash can but not delete. same goes to gtk. how do i remove these files? i thought they were already copied into my hd and arne't needed any more? thanks.

i.e.

Access denied to /home/mycomputer/Desktop/Trash/glib-1.2.9/tests/.libs/array-test

also, how does compiling work? once i compile it, can i save the folder and reuse it on another computer using the same os? thanks.

jschiwal 07-01-2004 10:01 PM

You may have compiled the program as root, so the folder itself can be moved but files inside of it cannot be deleted from the desktop. Go into the shell and use the command rm -rf <folder-to-delete> as the root user.

You don't need to be root for the ./configure and make steps. Just the 'make install' step.
Quote:

also, how does compiling work? once i compile it, can i save the folder and reuse it on another computer using the same OS? thanks.
Yes, but it would be more convenient to copy the source tarball instead.
I'll make backups of the tar-ball sources when I backup all of my downloads. Doing this, you could grab the CD and install it on whatever linux host you wanted to, or re-install if you needed to.

webazoid 07-01-2004 10:09 PM

Quote:

Originally posted by jschiwal
You may have compiled the program as root, so the folder itself can be moved but files inside of it cannot be deleted from the desktop. Go into the shell and use the command rm -rf <folder-to-delete> as the root user.

You don't need to be root for the ./configure and make steps. Just the 'make install' step.

Yes, but it would be more convenient to copy the source tarball instead.
I'll make backups of the tar-ball sources when I backup all of my downloads. Doing this, you could grab the CD and install it on whatever linux host you wanted to, or re-install if you needed to.

works! thanks:D


All times are GMT -5. The time now is 07:18 PM.