LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2019, 06:57 PM   #16
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874

I use debootstrap to install debian most times. I can choose my partitioning before even running that command to install debian. It creates a chroot environment, to make it bootable you have install a kernel and set a root password $(passwd). Plus install and configure a boot manager. I'll often just update-grub on the install I installed the debootstrap install from. There's other housekeeping I guess too, like installing firmware, copying /etc/apt/sources.list from a working install. And /etc/resolv.conf. Plus having network bits in place to connect to the internet and finish the install once you're booted to it. But the two main ones is installing a bootable kernel and setting the root password, and once booted you could do everything else needed from that install. It is however a minimal install so you don't have much to work with beyond a shell. And in buster you can finally umount the chroot without systemd getting in the way (much).
 
Old 08-29-2019, 07:07 PM   #17
AlaricWood
Member
 
Registered: Apr 2014
Posts: 99

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
# deb cdrom:[Debian GNU/Linux 9.9.0 _Stretch_ - Official amd64 DVD Binary-1 20190427-10:30]/ stretch contrib main

deb cdrom:[Debian GNU/Linux 9.9.0 _Stretch_ - Official amd64 DVD Binary-1 20190427-10:30]/ stretch contrib main

deb http://ftp.nz.debian.org/debian/ stretch/updates main contrib
deb-src http://ftp.nz.debian.org/debian/ stretch/updates main contrib non free

deb http://security.debian.org/debian-security stretch/updates main contrib nonfree
deb-src http://security.debian.org/debian-security stretch/updates main contrib nonfree

# stretch-updates, previously known as 'volatile'
deb http://ftp.nz.debian.org/debian/ stretch-updates main contrib non free
deb-src http://ftp.nz.debian.org/debian/ stretch-updates main contrib non free
 
Old 08-29-2019, 07:08 PM   #18
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
@shadow_7
well..
they ended up with lvm2 , which is arguably better than hard partitions.
 
Old 08-29-2019, 07:13 PM   #19
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by AlaricWood View Post
# deb cdrom:[Debian GNU/Linux 9.9.0 _Stretch_ - Official amd64 DVD Binary-1 20190427-10:30]/ stretch contrib main

deb cdrom:[Debian GNU/Linux 9.9.0 _Stretch_ - Official amd64 DVD Binary-1 20190427-10:30]/ stretch contrib main

deb http://ftp.nz.debian.org/debian/ stretch/updates main contrib
deb-src http://ftp.nz.debian.org/debian/ stretch/updates main contrib non free

deb http://security.debian.org/debian-security stretch/updates main contrib nonfree
deb-src http://security.debian.org/debian-security stretch/updates main contrib nonfree

# stretch-updates, previously known as 'volatile'
deb http://ftp.nz.debian.org/debian/ stretch-updates main contrib non free
deb-src http://ftp.nz.debian.org/debian/ stretch-updates main contrib non free
##edit typo ##The nonfee non free are incorrect
The nonfree non free are incorrect

they should be non-free
edit I also exaggerated the -


change those
and then do
Code:
sudo apt update

Last edited by Firerat; 08-29-2019 at 07:18 PM.
 
Old 08-29-2019, 07:52 PM   #20
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Actually that may not change much
I 'broke' my source list and it seemed happy ( it just ignored the non-free repos )


I've just noticed you are missing a non-free
Code:
deb http://ftp.nz.debian.org/debian/ stretch/updates main contrib
##= follow me to missing >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>----------^^^^
deb-src http://ftp.nz.debian.org/debian/ stretch/updates main contrib non-free
you could d/l source packages for non-free but not the binaries

still, I have no idea why it is not picking up the dependencies for ocrfeeder

My Containerized Stretch only has main and it finds them no problem.

Last edited by Firerat; 08-29-2019 at 07:54 PM.
 
Old 08-30-2019, 05:36 AM   #21
AlaricWood
Member
 
Registered: Apr 2014
Posts: 99

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
I have installed Debian 10 and can install ocrfeeder. It only works as superuser but that's OK. However bash is installed but there is no means of accessing it. Neither xterm nor uxterm is a satisfactory alternative. I use Cinnamon not Gnome which I dislike. That may be the problem.
Earlier versions of Debian had Terminal in the menu but 10 doesn't.
Life gets very difficult!

Regards

Alaric
 
Old 01-28-2024, 07:25 AM   #22
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I did OCR professionally for a big contract here, and later for myself. So I know the basics.

Tesseract is it in Open source. Unless your disks are tiny, install debian 12 even on a usb disk, for tesseract. Use a minimum of 400DPI.; GOCR was miles behind performance-wise. There is this Commercial thing, Abbyy OCR which was used under M$ windows, and that's better again. Abbyy did a linux version and had a one month free trial on it. It's a kludgy install but good OCR.

I rescued the single surviving copy of my Dad's 2nd play that was typed up on a typewriter with the ribbon totally shot, and had handwritten edits in fountain pen with Abbyy, but tesseract wasn't far behind. The handwriting is always totally illegible to these scanners. It's good to pass these things through a word processor, so I resist scan2pdf, etc. Don't ignore the capabilities of a mobile phone either!

/Tangent:
What I'd really like to see is AI figuring some of this muddle out - deciphering unreadable writing, the Enigma codes, or other puzzles. Thet really tests the 'I' part of AI .
 
  


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
Optical Character Recognition in Slackware64 psynot Slackware 4 09-27-2009 03:08 PM
what are optical character recognition softwares in ubuntu ? shridhar005 Linux - Software 6 04-20-2009 10:54 AM
LXer: Optical Character Recognition With Tesseract OCR On Ubuntu 7.04 LXer Syndicated Linux News 0 08-30-2007 06:30 PM
LXer: Optical character recognition is an uphill battle for open source LXer Syndicated Linux News 0 01-04-2006 10:46 AM
What do you use for Optical Character Recognition? the who Linux - Software 0 09-23-2004 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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