LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Command line help please. (https://www.linuxquestions.org/questions/slackware-14/command-line-help-please-4175619337/)

TheNutCase 12-10-2017 02:44 PM

Command line help please.
 
What is the Slackware 14.2 equivalent for the following:

sudo dpkg -i fvd-module_xxxx-1_xxxx.deb
sudo apt-get install -f

(I know that 'sudo' should be replaced with 'su', but I'm not sure about 'dkpg' or 'apt-get')

Thanks in advance.

average_user 12-10-2017 03:15 PM

For the first it would be something like:

Code:

installpkg <PACKAGE>
also note that slackware does not use .deb and that you can enable sudo if you want.

What is the second comment supposed to do?

montagdude 12-10-2017 03:24 PM

Here is the link where TheNutCase copied those commands from:

http://fvdmedia.com/installation-guide-linux-unix/

As far as I can see, there is no package for it on Slackware or on SBo. You can use deb2tgz to create a Slackware package from it, though. deb2tgz is available from SlackBuilds.org.
.

heyjann 12-10-2017 03:28 PM

See

https://docs.slackware.com/howtos:sl...ackage_formats

I'd ask, do you really need this software, but you can do what you like.

Quote:

Originally Posted by average_user (Post 5791587)
What is the second comment supposed to do?

The -f flag for apt-get seems to be to check if any installed package (for example the one just installed) has unmet dependencies and if so, to install those. No Slackware counterpart/equivalent for obvious reasons.

Didier Spaier 12-10-2017 03:31 PM

There is no equivalent in Slackware, because the package management systems differ between Debian and Slackware. So no, installpkg is not an equivalent.

Better tell us why you think you need this information, in other words what you want to do exactly.

average_user 12-10-2017 03:49 PM

Correct, I said that Slackware does not use .deb.

However, both comments serve the same purpose in their own universes and for this reason they are equivalents but not drop-in replacements

Didier Spaier 12-10-2017 04:07 PM

Quote:

Originally Posted by montagdude (Post 5791592)
Here is the link where TheNutCase copied those commands from:

http://fvdmedia.com/installation-guide-linux-unix/

Then I strongly advise the OP to not install this stuff, as this is a binary package and there is no source accessible.

TheNutCase 12-10-2017 06:45 PM

Quote:

Originally Posted by montagdude (Post 5791592)
Here is the link where TheNutCase copied those commands from:

http://fvdmedia.com/installation-guide-linux-unix/

I asked because I had installed an add on to Firefox 57.0.1 called "File Video Downloader" ad it apparently needs that file to work with the version of Firefox that I am using.

heyjann 12-10-2017 07:04 PM

As Didier Spaier and I (he, less subtly) hinted, that program might be dodgy, potentially. Best Google or Duckduckgo it.

This might be worth having a look at instead:
https://slackbuilds.org/repository/1...rk/youtube-dl/

But you can do whatever you like, and if you need to use a .deb file, look into deb2tgz as also already mentioned in the thread.

dugan 12-12-2017 11:44 AM

Quote:

Originally Posted by TheNutCase (Post 5791578)
sudo dpkg -i fvd-module_xxxx-1_xxxx.deb

I'd start with:

Code:

ar x fvd-module_xxxx-1_xxxx.deb
That uncompresses the .deb. I can then repackage it into a Slackware package.

ttk 12-14-2017 12:11 AM

You also might want to try the DownloadHelper plugin, which does not require additional packages installed, just the plugin.


All times are GMT -5. The time now is 01:09 PM.