How to install a .deb package I downloaded?

Booting, installing, newbie
Message
Author
J_D_
Posts: 519
Joined: Sat 12 Apr 2014, 03:10
Location: Indiana

#16 Post by J_D_ »

WiFi works fine. Nifty little program .
For the record, I did delete it and do a fresh download last night. I had downloaded this a couple months ago and played around with it and just got back to it this week.

THANKS to all.

ytszazu
Posts: 8
Joined: Sun 14 May 2017, 07:51

Trying to install OpenRA on puppy

#17 Post by ytszazu »

bigpup wrote:
dancytron wrote:It should install if you just left click on it. Forgive if you already tried that, but did you just try clicking on it?
Answer this?????

A deb package should just install if you keep it a .deb and not extract.

You may still need dependency files/programs to get it working after it installs.
Hello there, i am having a problem when i try to install OpenRA on puppy.

I downloaded the .deb file

In Lubuntu clicking on the package will auto install the repositories/dependencies.

In puppy, After clicking the debian package, it shows it is installing, but how do i check if it install the dependency files? It gives an error to run after installing.

Thank you,

Regards,

Zazu

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

Re: How to install a .deb package I downloaded?

#18 Post by anikin »

J_D_ wrote:I downloaded a deb package from https://www.obdautodoctor.com/download. I am stuck. I extracted it and it shows up in my downloads as an extracted pet. I don't know how to do the install. It does not show up in the package manager.
Using 32 bit Tahrpup 6.05 Help will be appreciated. Thanks.

Here's the kicker: Download that deb package ... and do extract it before installing on Puppy!
Once it's extracted, go to:
obd-auto-doctor_3.3.0-1_i386/DEBIAN/control and have a close look at what the Depends line says:

Code: Select all

Package: obdautodoctor
Version: 3.3.0-1
Installed-Size: 4196
Section: non-free/utils
Priority: optional
Architecture: i386
Depends: libqt5gui5 (>= 5.2.1), libqt5widgets5 (>= 5.2.1), libqt5network5 (>= 5.2.1), libbluetooth3, libc6
Maintainer: OBD Auto Doctor Support <support@obdautodoctor.com>
Description: OBD Car Diagnostics Software
 Get to know your car better by using OBD Auto Doctor diagnostic scan tool software.
As you will see, all the dependencies are listed there. On a normal Debian system, they will get resolved automatically - that's the magic of Debian package management. Puppy has no such magic to put it charitably. So, a prudent way to proceed would be: 1) extract the deb package 2) read the control file to determine the dependencies and 3) install those dependencies separately before installing the deb file.

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#19 Post by backi »

Hi anikin !

Thanks .....good Tip......did not know .. :D

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#20 Post by bigpup »

ytszazu,

Welcome to Puppy land.

You need to start your own topic about your specific problem.

Give us some information.

What Puppy version?
How it is installed?
Full or frugal?
Installed on what storage device?
It gives an error to run after installing.
Do you think we can guess what the error was :roll: :shock: :?:

We only know what you tell us!!!!!!!

anikin's info is good to know to get you pointed in the correct direction.

Good tip!!
Thanks!
anikin
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

ytszazu
Posts: 8
Joined: Sun 14 May 2017, 07:51

#21 Post by ytszazu »

Well OpenRA just pops up a webpage saying it crashed.

What Puppy version? 6.0.5
How it is installed? Clicked the package
Full or frugal? Frugal, made a 2gb file storage in USB
Installed on what storage device? USB


Update:

Did what as Anikin advised.
The game is running now. Thanks Anikin.

(Seriously need a shorter way to settle this in the future)

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#22 Post by Mike Walsh »

ytszazu wrote:(Seriously need a shorter way to settle this in the future)
Mm. Not really the done thing to join this Forum.....and immediately start criticising the way things are done.

Puppy has its own, very unique way of doing things. It may use Ubuntu binaries in some Pups.....but it doesn't behave the way that Ubuntu behaves. And this is one of the (understandable!) mistakes that newcomers make...

A different way (as you suggest) would only happen if

a) Enough people voiced a desire for a particular thing to be implemented, and

b) Only then if any of our developers/coders showed the enthusiasm to do so, and were able to find the time.....since this is all done 'for the love of it', NOT a wage packet at the end of the week!

Canonical pays its staff to do x, y and z to a certain schedule. This ain't the case in Puppyland, unfortunately..... Folks have to make the time for this kind of thing out of their own personal schedules, AND generate the enthusisam to do so.

Often, those who perceive the need for something will go ahead and develop it themselves, and then present it to the community as a 'fait accompli'..!


Mike. :wink:

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#23 Post by anikin »

backi, bigpup, ytszazu,

You are welcome, guys, thanks for the thanks.
ytszazu wrote: ...(Seriously need a shorter way to settle this in the future)
That depends on how many dependencies the package has. In the previous example the list was relatively short and easy to manage. The situation with your package http://www.openra.net/download/ is very different. As a matter of fact, it is horrible.

Code: Select all

Package: openra
Version: 20170527.release
Architecture: all
Maintainer: Paul Chote <paul@chote.net>
Installed-Size: 26175
Depends: libopenal1, mono-runtime (>= 3.2), libmono-system-core4.0-cil, libmono-system-drawing4.0-cil, libmono-system-data4.0-cil, libmono-system-numerics4.0-cil, libmono-system-runtime-serialization4.0-cil, libmono-system-xml-linq4.0-cil, libmono-i18n4.0-all, libfreetype6, libc6, libasound2, libgl1-mesa-glx, libgl1-mesa-dri, xdg-utils, zenity, libsdl2 | libsdl2-2.0-0, liblua5.1-0
Section: games
Priority: extra
Homepage: http://www.openra.net/
Description: Multiplayer re-envisioning of early RTS games by Westwood Studios
 OpenRA is a Libre/Free Real Time Strategy game engine supporting early
 Westwood games like Command & Conquer and Command & Conquer: Red Alert.
 The engine is designed from the ground up to be extremely moddable and
 natively supports user-created maps and mods.
 .
 Support can be obtained from our IRC channel (#openra on irc.freenode.net),
 our forum (http://www.sleipnirstuff.com/forum/viewforum.php?f=80), and our
 bug tracker (http://bugs.openra.net).
A long list of dependencies, you resolve one and it drags in a whole new chain of its own dependencies. A real multi-headed hydra! The task of manually resolving dependencies in this particular case won't be an easy job. Doable, but will require some effort. From my experience, the best way of dealing with this issue is to go online:
Debian Packages Search
https://packages.debian.org/index
Ubuntu Packages Search
https://packages.ubuntu.com
https://packages.ubuntu.com/[b]name of package[/b]
https://packages.ubuntu.com/src:[b]name of source package[/b]
These links are an important, integral part of the Debian/Ubuntu package management system. That's where you go first when trying to resolve dependencies for your Puppy.

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#24 Post by anikin »

For the sake of completeness and comparison, here's how to install downloaded .deb files in "native" Debian/Ubuntu. Normally, it will be a 3 step process. Using the above .deb as an example, the procedure will look something like this:

Step 1
Bring up a terminal in a directory with the downloaded .deb and issue this command:

Code: Select all

dpkg -i openra_release.20170527_all.deb
or if you don't want to type the name of the .deb, use this one, that will install any and all the .deb files in that directory

Code: Select all

dpkg -i *.deb
The output will be something like this:

Code: Select all

root@debian:/tmp# dpkg -i *.deb
Selecting previously unselected package openra.
(Reading database ... 25120 files and directories currently installed.)
Unpacking openra (from openra_release.20170527_all.deb) ...
dpkg: dependency problems prevent configuration of openra:
 openra depends on libopenal1; however:
  Package libopenal1 is not installed.
 openra depends on mono-runtime (>= 3.2); however:
  Package mono-runtime is not installed.
 openra depends on libmono-system-core4.0-cil; however:
  Package libmono-system-core4.0-cil is not installed.
 openra depends on libmono-system-drawing4.0-cil; however:
  Package libmono-system-drawing4.0-cil is not installed.
 openra depends on libmono-system-data4.0-cil; however:
  Package libmono-system-data4.0-cil is not installed.
 openra depends on libmono-system-numerics4.0-cil; however:
  Package libmono-system-numerics4.0-cil is not installed.
 openra depends on libmono-system-runtime-serialization4.0-cil; however:
  Package libmono-system-runtime-serialization4.0-cil is not installed.
 openra depends on libmono-system-xml-linq4.0-cil; however:
  Package libmono-system-xml-linq4.0-cil is not installed.
 openra depends on libmono-i18n4.0-all; however:
  Package libmono-i18n4.0-al
dpkg: error processing openra (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme ...
Processing triggers for shared-mime-info ...
Errors were encountered while processing:
 openra
root@debian:/tmp# 
According to Debian, dpkg is the lowest level tool in its package management system. It's believed to be powerful but not very good at resolving dependencies. For that, Debian has apt - a command-line front-end to dpkg.

Step 2

Code: Select all

apt-get check
and the output will be:

Code: Select all

root@debian:/tmp# apt-get check
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 openra : Depends: libopenal1 but it is not installed
          Depends: mono-runtime (>= 3.2) but it is not installed
          Depends: libmono-system-core4.0-cil but it is not installed
          Depends: libmono-system-drawing4.0-cil but it is not installed
          Depends: libmono-system-data4.0-cil but it is not installed
          Depends: libmono-system-numerics4.0-cil but it is not installed
          Depends: libmono-system-runtime-serialization4.0-cil but it is not installed
          Depends: libmono-system-xml-linq4.0-cil but it is not installed
          Depends: libmono-i18n4.0-all but it is not installed
          Depends: xdg-utils but it is not installed
          Depends: zenity but it is not installed
          Depends: libsdl2 but it is not installable or
                   libsdl2-2.0-0 but it is not installed
          Depends: liblua5.1-0 but it is not installed
E: Unmet dependencies. Try using -f.
root@debian:/tmp# 
The most important thing here is this line:

Code: Select all

apt-get -f install

Step 3
Taking the clue from Step 2, let's run that command and see where it leads us:

Code: Select all

root@debian:/tmp# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libclass-isa-perl libswitch-perl ttf-dejavu-core
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  adwaita-icon-theme aspell aspell-en dconf-gsettings-backend dconf-service
  dictionaries-common dpkg emacsen-common fontconfig fontconfig-config
  fonts-dejavu-core glib-networking glib-networking-common
  glib-networking-services gsettings-desktop-schemas iso-codes libaspell15
  libasyncns0 libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0
  libcairo-gobject2 libcairo2 libcap2 libcolord2 libcroco3 libcups2
  libcurses-perl libdconf1 libelfg0 libenchant1c2a libexif12 libflac8
  libfontconfig1 libgdiplus libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common
  libglib2.0-0 libglib2.0-bin libgnutls-deb0-28 libgraphite2-3
  libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgtk-3-0 libgtk-3-bin
  libgtk-3-common libharfbuzz-icu0 libharfbuzz0b libhogweed2 libhunspell-1.3-0
  libicu52 libjavascriptcoregtk-3.0-0 libjpeg62-turbo libjson-c2
  libjson-glib-1.0-0 libjson-glib-1.0-common liblcms2-2 liblocale-gettext-perl
  liblua5.1-0 libmono-corlib4.5-cil libmono-data-tds4.0-cil
  libmono-i18n-cjk4.0-cil libmono-i18n-mideast4.0-cil
  libmono-i18n-other4.0-cil libmono-i18n-rare4.0-cil libmono-i18n-west4.0-cil
  libmono-i18n4.0-all libmono-i18n4.0-cil libmono-posix4.0-cil
  libmono-security4.0-cil libmono-system-configuration4.0-cil
  libmono-system-core4.0-cil libmono-system-data4.0-cil
  libmono-system-drawing4.0-cil libmono-system-enterpriseservices4.0-cil
  libmono-system-numerics4.0-cil libmono-system-runtime-serialization4.0-cil
  libmono-system-security4.0-cil libmono-system-transactions4.0-cil
  libmono-system-xml-linq4.0-cil libmono-system-xml4.0-cil
  libmono-system4.0-cil libnettle4 libopenal-data libopenal1 liborc-0.4-0
  libp11-kit0 libpango-1.0-0 libpango1.0-0 libpangocairo-1.0-0
  libpangoft2-1.0-0 libpangox-1.0-0 libpangoxft-1.0-0 libpcre3 libproxy1
  libpulse0 librest-0.7-0 librsvg2-2 librsvg2-common libsdl2-2.0-0
  libsecret-1-0 libsecret-common libselinux1 libsndfile1 libsoup-gnome2.4-1
  libsoup2.4-1 libsqlite3-0 libtasn1-6 libterm-readkey-perl libtext-iconv-perl
  libtiff5 libuuid-perl libvorbis0a libvorbisenc2 libwayland-cursor0
  libwayland-egl1-mesa libwebkitgtk-3.0-0 libwebkitgtk-3.0-common libwebp5
  libwrap0 libxkbcommon0 libxml2 libxslt1.1 libxss1 mono-4.0-gac mono-gac
  mono-runtime mono-runtime-common mono-runtime-sgen perl perl-base
  perl-modules ttf-dejavu-core xdg-utils zenity zenity-common
Suggested packages:
  aspell-doc spellutils wordlist isoquery cups-common libenchant-voikko
  gnutls-bin libvisual-0.4-plugins gstreamer-codec-install gnome-codec-install
  gstreamer1.0-tools gvfs liblcms2-utils libgamin0 libportaudio2 pulseaudio
  librsvg2-bin perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl
  make libb-lint-perl libcpanplus-dist-build-perl libcpanplus-perl
  libfile-checktree-perl liblog-message-simple-perl liblog-message-perl
  libobject-accessor-perl gvfs-bin
Recommended packages:
  at-spi2-core colord enchant xdg-user-dirs gstreamer1.0-plugins-base
  hunspell-en-us hunspell-dictionary myspell-dictionary libegl1-mesa-drivers
  gstreamer1.0-plugins-good geoclue-2.0 tcpd cli-common binfmt-support rename
  libarchive-extract-perl libmodule-pluggable-perl libpod-latex-perl
  libterm-ui-perl libtext-soundex-perl libcgi-pm-perl libmodule-build-perl
  libpackage-constants-perl libfile-mimeinfo-perl libnet-dbus-perl
  libx11-protocol-perl
The following packages will be REMOVED:
  libjpeg62
The following NEW packages will be installed:
  adwaita-icon-theme aspell aspell-en dconf-gsettings-backend dconf-service
  dictionaries-common emacsen-common fonts-dejavu-core glib-networking
  glib-networking-common glib-networking-services gsettings-desktop-schemas
  iso-codes libaspell15 libasyncns0 libatk-bridge2.0-0 libatspi2.0-0
  libcairo-gobject2 libcap2 libcolord2 libcroco3 libdconf1 libelfg0
  libenchant1c2a libexif12 libgdiplus libgnutls-deb0-28 libgraphite2-3
  libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgtk-3-0 libgtk-3-bin
  libgtk-3-common libharfbuzz-icu0 libharfbuzz0b libhogweed2 libhunspell-1.3-0
  libicu52 libjavascriptcoregtk-3.0-0 libjpeg62-turbo libjson-c2
  libjson-glib-1.0-0 libjson-glib-1.0-common liblcms2-2 liblua5.1-0
  libmono-corlib4.5-cil libmono-data-tds4.0-cil libmono-i18n-cjk4.0-cil
  libmono-i18n-mideast4.0-cil libmono-i18n-other4.0-cil
  libmono-i18n-rare4.0-cil libmono-i18n-west4.0-cil libmono-i18n4.0-all
  libmono-i18n4.0-cil libmono-posix4.0-cil libmono-security4.0-cil
  libmono-system-configuration4.0-cil libmono-system-core4.0-cil
  libmono-system-data4.0-cil libmono-system-drawing4.0-cil
  libmono-system-enterpriseservices4.0-cil libmono-system-numerics4.0-cil
  libmono-system-runtime-serialization4.0-cil libmono-system-security4.0-cil
  libmono-system-transactions4.0-cil libmono-system-xml-linq4.0-cil
  libmono-system-xml4.0-cil libmono-system4.0-cil libnettle4 libopenal-data
  libopenal1 liborc-0.4-0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
  libpangox-1.0-0 libpangoxft-1.0-0 libproxy1 libpulse0 librest-0.7-0
  librsvg2-2 librsvg2-common libsdl2-2.0-0 libsecret-1-0 libsecret-common
  libsndfile1 libsoup-gnome2.4-1 libsoup2.4-1 libsqlite3-0 libtasn1-6
  libtext-iconv-perl libvorbis0a libvorbisenc2 libwayland-cursor0
  libwayland-egl1-mesa libwebkitgtk-3.0-0 libwebkitgtk-3.0-common libwebp5
  libwrap0 libxkbcommon0 libxslt1.1 libxss1 mono-4.0-gac mono-gac mono-runtime
  mono-runtime-common mono-runtime-sgen xdg-utils zenity zenity-common
The following packages will be upgraded:
  dpkg fontconfig fontconfig-config libatk1.0-0 libatk1.0-data libcairo2
  libcups2 libcurses-perl libflac8 libfontconfig1 libgdk-pixbuf2.0-0
  libgdk-pixbuf2.0-common libglib2.0-0 libglib2.0-bin liblocale-gettext-perl
  libp11-kit0 libpango1.0-0 libpcre3 libselinux1 libterm-readkey-perl libtiff5
  libuuid-perl libxml2 perl perl-base perl-modules ttf-dejavu-core
27 upgraded, 110 newly installed, 1 to remove and 279 not upgraded.
1 not fully installed or removed.
Need to get 76.8 MB of archives.
After this operation, 206 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
... not only the required dependencies get resolved, but some important system files will also be upgraded along the way. That's the power of Debian.

Post Reply