BionicPup Linux Installing packages

Tell us about your other hobbies & none QL related items here :)
Post Reply
User avatar
Chr$
QL Wafer Drive
Posts: 1304
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany
Contact:

BionicPup Linux Installing packages

Post by Chr$ »

I'm a total noob to anything that isn't DOS/Windows (or QL)!

To give an old Eee PC a new lease of life I recently setup BionicPup Linux on it. It seems mostly intuitive, easy to get online and it's obvious how many things are done.

But I'm stuck with something which is probably really basic, too basic even for googling as that doesn't help. I want to download disk .img files (e.g. 360k/1.2mb DOS disks) and then copy the contents (just the files) onto external storage.

I've found the 'Package Manager' which seems to be where you go to install extra programs, like apps, but called packages. Apparently 7zip is able to open .img files so I installed that. For good measure I also installed mtools (tools for manipulating MSDOS files). When I select the Uninstall option both are shown there, so it seems to have worked.

But I can't find them anywhere! Where does it put newly installed packages? Is there something else I have to do first?


https://QXL.WIN
Collector of QL related computers, accessories and QL games/software.
Ask me about felt pads - I can cut them to size and they have proved excellent for mdv data recovery.
User avatar
Sparrowhawk
Super Gold Card
Posts: 624
Joined: Wed Dec 15, 2010 12:33 pm
Location: @131072
Contact:

Re: BionicPup Linux Installing packages

Post by Sparrowhawk »

I've never used a PuppyLinux derivative (which I am assuming this is?)

AFAIK, Linux packages tend to get installed into /usr/local and then symbolic links (aliases) for things like binaries and config files are placed in eg /usr/bin and /etc

But from my limited experience of Linux, this varies a bit from Linux to Linux, and also depending on which packaging manager you use (apt, yum, synaptics, flatpak, snap, etc)

It's all very confusing which is why I've decided to standardise on Ubuntu and its derivatives so that I stand a fighting chance of actually knowing where things might live! :D )

As to why you are not seeing them in your application launcher (equivalent to the Windows "Start menu" ) I don't know.

On Ubuntu (and others?), App launcher entries are configured across

globally:

Code: Select all

/usr/share/applications 
and (local user only):

Code: Select all

~/.local/share/applications
and they have a .desktop extension - they are just text files (like most configs in Linux) so you can copy one and edit it to make a new entry for your apps if you like

Not sure whether this applies to Puppy though.


a.k.a. Jean-Yves
User avatar
Chr$
QL Wafer Drive
Posts: 1304
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany
Contact:

Re: BionicPup Linux Installing packages

Post by Chr$ »

Thanks.

There were certainly app looking things in those locations (that I probably would never have found) but they all appear to be ones that came pre-installed, I have yet to find the new ones, but I will explore along those lines.


https://QXL.WIN
Collector of QL related computers, accessories and QL games/software.
Ask me about felt pads - I can cut them to size and they have proved excellent for mdv data recovery.
User avatar
tofro
Font of All Knowledge
Posts: 2685
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: BionicPup Linux Installing packages

Post by tofro »

Two important commands on the linux terminal you should know:

Code: Select all

which <program>
Finds a program that is in the $PATH and can be started - will hand back the complete path to the binary.

Code: Select all

find <start path> -name <file name> -print
finds a file starting from <start path> and printing its path, e.g.

Code: Select all

find / -name gedit -print
Will return the path to gedit (assumed it is installed on your box).

Your package manager should also be able to tell you where it's going to install a program - maybe in a well-hidden "Package details" tab or the like.


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: BionicPup Linux Installing packages

Post by NormanDunbar »

What ToFro said!

Also, the locate command is also useful, if installed.

Cheers,
Norm


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
User avatar
Chr$
QL Wafer Drive
Posts: 1304
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany
Contact:

Re: BionicPup Linux Installing packages

Post by Chr$ »

Thanks.

with

Code: Select all

find / -name p7zip -print
I was able to find some related files but couldn't find how to run anything. But it's ok now as it turned out somethings that it came with (UExtract) is able to unpack .img files, so that's fine for now!


https://QXL.WIN
Collector of QL related computers, accessories and QL games/software.
Ask me about felt pads - I can cut them to size and they have proved excellent for mdv data recovery.
User avatar
Chr$
QL Wafer Drive
Posts: 1304
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany
Contact:

Re: BionicPup Linux Installing packages

Post by Chr$ »

I've made some progress.

Turns out the p7zip has no gui, it needs to run from the terminal, where you specify the archive path, where you want it unzipped, various switches etc. So that explains why that wasn't doing anything no matter what I clicked on.

For other things, I still could not run them even though a menu item was created, e.g. I installed the Audacity package but clicking on it's new icon did nothing. So I attempted to start that from the terminal too and instead of doing nothing it actually gave some feedback! It was missing a couple of libraries or whatever they are, that it needs to run. So I searched for those, installed them and now it runs - both from the terminal and from the start menu icon!

So now I feel like I'm getting somewhere.


https://QXL.WIN
Collector of QL related computers, accessories and QL games/software.
Ask me about felt pads - I can cut them to size and they have proved excellent for mdv data recovery.
Post Reply