.deb file seemingly installed OK, but application will not run (Slackware)
by SlackHelp from LinuxQuestions.org on (#6NAQT)
Hello!
I'm very new to Slackware (and Linux in general). I know Slackware isn't necessarily the best version of Linux for beginners, but I have to admit that I just kind of like it (for no apparent reason, other than that it's neat) :)
The laptop that is running Slackware does not have a functioning WiFi adapter, and I don't have easy access to a hard line, so I can only copy files to the computer via USB.
When trying to figure out how to install .deb files in Slackware, I found this post:
https://www.linuxquestions.org/quest...ckware-907732/
Also, I referenced this page of the Slackware manual:
https://docs.slackware.com/howtos:sl...lling_software
So... I tried to glean the info from these sources, which would be relevant to this specific scenario. I ended up doing the following:
1) Copied the .deb file into Desktop/"New folder" under root (I know, I know... this is just a test machine anyway)
2) Followed the steps mentioned in the above thread (thanks to bonixavier):
mkdir -p work/pkg
cd work
ar -x /path/to/myfile.deb
cd pkg
tar xvf ../data.tar.gz
makepkg -l y -c n /tmp/myfile.txz
3) Then followed the instructions in the above Slackware manual page:
upgradepkg --install-new /tmp/myfile.txz
4) The application now shows under "All Applications," but when trying to launch it (just double-clicking the icon), and error message shows "execvp: No such file or directory"
My understanding is that these commands convert the .deb file into a Slackware package, and that "upgradepkg --install-new" is for installing any .txz package (the command's name seems a little confusing).
There is good chance that I don't know something about installing packages on Slackware which would have just been an assumed step for experienced Linux users. Granted, I'm running commands without fully understanding what they do... but, I'm trying to learn!
Please forgive the long post, and thank you for your patience and help!
I'm very new to Slackware (and Linux in general). I know Slackware isn't necessarily the best version of Linux for beginners, but I have to admit that I just kind of like it (for no apparent reason, other than that it's neat) :)
The laptop that is running Slackware does not have a functioning WiFi adapter, and I don't have easy access to a hard line, so I can only copy files to the computer via USB.
When trying to figure out how to install .deb files in Slackware, I found this post:
https://www.linuxquestions.org/quest...ckware-907732/
Also, I referenced this page of the Slackware manual:
https://docs.slackware.com/howtos:sl...lling_software
So... I tried to glean the info from these sources, which would be relevant to this specific scenario. I ended up doing the following:
1) Copied the .deb file into Desktop/"New folder" under root (I know, I know... this is just a test machine anyway)
2) Followed the steps mentioned in the above thread (thanks to bonixavier):
mkdir -p work/pkg
cd work
ar -x /path/to/myfile.deb
cd pkg
tar xvf ../data.tar.gz
makepkg -l y -c n /tmp/myfile.txz
3) Then followed the instructions in the above Slackware manual page:
upgradepkg --install-new /tmp/myfile.txz
4) The application now shows under "All Applications," but when trying to launch it (just double-clicking the icon), and error message shows "execvp: No such file or directory"
My understanding is that these commands convert the .deb file into a Slackware package, and that "upgradepkg --install-new" is for installing any .txz package (the command's name seems a little confusing).
There is good chance that I don't know something about installing packages on Slackware which would have just been an assumed step for experienced Linux users. Granted, I'm running commands without fully understanding what they do... but, I'm trying to learn!
Please forgive the long post, and thank you for your patience and help!