Re: How to open .azw or .prc (mobireader) files

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Josef Lowder
Date:  
To: Main PLUG discussion list
Subject: Re: How to open .azw or .prc (mobireader) files
.
Thank you Joseph, der Hans, and Matt.
Forgive my ignorance, but I still need help. See below.

------------------
On Mon, 5 May 2008 07:02, Matt Graham wrote
> After a long battle with technology, der.hans wrote:
> > Am 05. Mai, 2008 schwatzte Josef Lowder so:
> >> My system is Mandriva 2006 so I don't think apt-get will work and
> >> I do not have Synaptic on this system.
>
> Package management has probably improved a lot on later Mandrake releases.


I do have a more recent Mandriva release on another computer
but need this on an older system that I cannot risk updating.

> >> So, I wonder if they meant I was supposed to extract the tarball in
> >> '/' rather than '/root' ... and I wonder if there is any risk in
> >> trying to do that since there are already existing directories by
> >> the same names in the top '/' directory.
>
> I did this last week for a package that has no Gentoo ebuild.
> rpm2targz followed by extracting the tarball to / , and it worked.


This seems interesting, but confusing for my feeble mind.
I don't find 'rpm2targz' on my system, and don't know what
the syntax would be for using it with 'fbreader'

Since I do have the tarball, would it be risky to use
'tar xzvf fbreader*' in the top '/' directory?

> > I'm certain they mean /. I consider that to be bad form.
>
> It is bad form.
>
> > If you're going to just extract it, then extract it in /usr/local instead.
> > After extracting into /usr/local you might need to run ldconfig to make
> > sure your system knows about new libraries. You might also need to adjust
> > your PATH to include /usr/local/bin
>
> Running ldconfig is a good idea, but normal users' PATHs should
> already include /usr/local/bin/ . What you'll probably have to do
> is manually move some stuff around after you unpack the tarball in
> /usr/local/ , since the tarball will probably extract some things to
> /usr/local/usr/bin/ and /usr/local/usr/lib/ , which is obviously not
> right.


What you describe is exactly what happened and I ended up
with a new 'usr' subdirectory in /usr/local that contains
the three subdirectories listed further below.

drwxr-xr-x  2 root root    4096 Jun 15  2005 src
drwxr-xr-x  2 root root    4096 Jun 15  2005 sbin
drwxr-xr-x  2 root root    4096 Jun 15  2005 libexec
drwxr-xr-x  2 root root    4096 Jun 15  2005 lib
drwxr-xr-x  2 root root    4096 Jun 15  2005 include
drwxr-xr-x  2 root root    4096 Jun 15  2005 games
drwxr-xr-x  2 root root    4096 Jun 15  2005 etc
drwxr-xr-x  2 root root    4096 Jun 15  2005 doc
drwxr-xr-x  3 root root    4096 Oct 12  2006 Adobe
drwxr-xr-x  5 root root    4096 Oct 23  2006 share
drwxr-xr-x  2 root root    4096 Mar  1 16:15 bin
drwxr-xr-x  5 1000 1000    4096 Mar 22 06:00 usr
-rw-rw-r--  1 joe  joe  1479209 May  4 12:31 fbreader-0.8.17.tgz


$ cd usr
$ ls -ltr
total 12
drwxr-xr-x 6 1000 1000 4096 Mar 22 06:00 share
drwxr-xr-x 3 1000 1000 4096 Mar 22 06:00 lib
drwxr-xr-x 2 1000 1000 4096 Mar 22 06:00 bin

So, do I just move the contents of each of these three subdirs
into the correspondingly named dirs in /usr/local? And do I
need to rename the usr and group names from '1000' to 'root'?




---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss