LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-23-2004, 11:50 AM   #1
ontwolf
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
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?
 
Old 04-23-2004, 12:02 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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.
 
Old 04-23-2004, 12:16 PM   #3
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
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).
 
Old 04-23-2004, 12:20 PM   #4
ontwolf
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 04-23-2004, 12:27 PM   #5
ontwolf
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I am using su to configure packages
 
Old 04-23-2004, 12:56 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/local/lib/libaprutil-0.so. bijuhpd Linux - Newbie 1 10-30-2005 05:07 PM
/usr vs /usr/local on linuxpackages.net merchtemeagle Slackware 4 10-18-2005 03:09 PM
cant modify /usr/local/bin folder surgey Linux - Newbie 4 05-10-2005 05:52 PM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 09:21 AM
/usr/local folder contents accidently deleted jshaikh Linux - Newbie 1 07-12-2003 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration