LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 09-04-2016, 08:35 AM   #31
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled

Hmmm...tried to copy and paste one file to /usr/lib but received a error message as per attached.

Just found this also:

Why can't i paste anything under the /usr/ folder?

You don't own this directory, since it is a system-directory and not a user-directory, like /home/, where you can copy/paste files as you wish!

Please don't change the root permission of any system-directory permanently, since your system manages on its own and you can only break it that way. Instead open up "Terminal" and use sudo before your command to copy cp, or move mv files/folders.

The -r stands for recursive, since it is a folder (parent), with sub-folders/files (children) and therefore mandatory!!
Attached Thumbnails
Click image for larger version

Name:	Copy File Error.png
Views:	10
Size:	15.6 KB
ID:	22928  

Last edited by dbrew4; 09-04-2016 at 09:17 AM.
 
Old 09-04-2016, 10:43 AM   #32
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,357

Rep: Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739
Points 3 and 5 under File execution seem relevant. https://community.linuxmint.com/tutorial/view/100

From a terminal:
Code:
sudo cp -r /usr/lib64/sane /usr/lib
or you could start a GUI filemanager using gksudo or gksu
 
1 members found this post helpful.
Old 09-05-2016, 08:17 AM   #33
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
I tried using GUI Krusader file mgm't app but it still would not allow me to copy the files. I'm not sure I want to copy those files as shown....found this in my reading:

"Unless you use Slackware or a similar distribution which has no package management system, you shouldn't write any files to /usr/lib and other system lib and bin directories. If you need to do that, do it under the /usr/local tree; in this case that would be /usr/local/lib. If you wish to write to that directory often, you may give yourself (or a group where you're in) write permissions (although that creates a bit of a security weakness). You should NOT do that to /usr/lib though!"
 
Old 09-05-2016, 12:27 PM   #34
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
Hey Allen
Executed command "sudo cp -r /usr/lib64/sane /usr/lib" as suggested and it worked!!!! Scanner is now listed and works fine now. My whole intent with this exercise was to load Linux Mint 18 on my new Asus PC which now runs Windows 10. I wanted to make sure my hardware would work. In your opinion, were all the prior steps necessary or do you think all that was necessary was "sudo cp -r /usr/lib64/sane /usr/lib"?
I would never had figured this out on my own and I gained a tremendous amount of knowledge and a friend along the way.
Thank You so much for your help.
Dennis
 
Old 09-05-2016, 06:49 PM   #35
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,357

Rep: Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739
Yay! Glad you got it working.
I consider The addition of the udev rule for the Brother device to 40-libsane.rules to have been necessary.
The copying of the files into the /usr/lib directory structure is necessary.
From https://sites.google.com/site/easylinuxtipsproject/15
Quote:
g. In 64-bit Linux Mint 18 and Ubuntu 16.04 the location for the supporting library files has changed, and the driver for the scanner feature doesn't always take that into account. The Brother driver puts them in /usr/lib64, whereas your operating system expects them in /usr/lib.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED]...Brother MFC-440CN Scanner Issues dbrew4 Linux - Newbie 18 12-10-2017 04:19 PM
Scanner BROTHER MFC- J4620 DW Funnix Linux - Hardware 14 09-18-2015 08:30 AM
[SOLVED] Brother MFC-J5910DW/scanner Joep72 Linux - Newbie 10 06-09-2014 12:07 AM
Really need an ASUS eeePC print driver for Brother MFC 440cn printer. sp2273 Linux - Newbie 3 03-16-2008 08:06 PM
Brother MFC-440cn in Slack 11? rje_NC Slackware 4 02-22-2007 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:18 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