LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   can't copy folder to usr/local (https://www.linuxquestions.org/questions/linux-hardware-18/cant-copy-folder-to-usr-local-173723/)

ontwolf 04-23-2004 11:50 AM

can't copy folder to usr/local
 
I am trying to install qt to my usr/local folder so I can upgrade to kde3.2 and it says I can't copy as there is no write permission. How do I go about changing permission for copying purpose?

Peacedog 04-23-2004 12:02 PM

hi ontwolf, welcome to lq. may i ask what distro your running? the answer may lead to succces, as i'm unaware of any program being installed by copying it to a folder. there should be some type of package available, if not you will have to compile from source.

tcaptain 04-23-2004 12:16 PM

Also...usually when you install programs you should be running as root (unless it only installs in a user's home directory that it). You don't mention if you're doing this as a regular user or logged in as root or using 'su' (which is preferable to running as root).

ontwolf 04-23-2004 12:20 PM

Re: can't copy folder to usr/local
 
I am using Fedora
When I try and install kde3.2 it can't find qt,
I downloaded the qt package and it tells me to unzip into usr/ local folder before configuring package.

Thanks for such a quick response

ontwolf 04-23-2004 12:27 PM

I am using su to configure packages

Peacedog 04-23-2004 12:56 PM

if that is what it says then

su - <enter>
password <root password>

cp /path/to/file /usr/local/filename

hope that gets it.
good luck.


All times are GMT -5. The time now is 10:08 AM.