SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
That did not help. I am trying to install
dosbox on my slackware install. No slack packages
seem to be around for it.
I downloaded a dosbox-0.74.tar.gz
My notes on install said I could install
a tqz file with installpkg whatever.tgz
I renamed dosbox-0.74.tar.gz to dosbox-074.tgz
and tried to install, like this: installpkg dosbox-074.tgz
It responded with this:
installpkg dosbox-074.tgz
Verifying package dosbox-074.tgz.
Installing package dosbox-074.tgz:
PACKAGE DESCRIPTION:
WARNING: Package has not been created with 'makepkg'
Package dosbox-074.tgz installed
=======================
After running that, I have the following things
installed:
/dosbox-0.74
/dosbox-0.74/visualc_net/dosbox.sln
/dosbox-0.74/visualc_net/dosbox.vcproj
/dosbox-0.74/docs/dosbox.1
/dosbox-0.74/src/gui/dosbox_logo.h
/dosbox-0.74/src/gui/dosbox_splash.h
/dosbox-0.74/src/dos
/dosbox-0.74/src/dos/dos_keyboard_layout_data.h
/dosbox-0.74/src/dos/dos_execute.cpp
/dosbox-0.74/src/dos/dos_misc.cpp
/dosbox-0.74/src/dos/dos.cpp
/dosbox-0.74/src/dos/dos_classes.cpp
/dosbox-0.74/src/dos/dos_programs.cpp
/dosbox-0.74/src/dos/dos_mscdex.cpp
/dosbox-0.74/src/dos/dos_codepages.h
/dosbox-0.74/src/dos/dos_keyboard_layout.cpp
/dosbox-0.74/src/dos/dos_files.cpp
/dosbox-0.74/src/dos/dos_ioctl.cpp
/dosbox-0.74/src/dos/dos_tables.cpp
/dosbox-0.74/src/dos/dos_memory.cpp
/dosbox-0.74/src/dos/dos_devices.cpp
/dosbox-0.74/src/dosbox.ico
/dosbox-0.74/src/dosbox.cpp
/dosbox-0.74/include/dos_inc.h
/dosbox-0.74/include/dosbox.h
/dosbox-0.74/include/dos_system.h
/var/log/packages/dosfstools-3.0.28-i586-1
/var/log/packages/dosbox-074
/var/log/scripts/dosfstools-3.0.28-i586-1
============================
However, I have no idea if a program
ever got generated. I used the find
command to find all those above files.
I was hoping I would have something like /usr/bin/dosbox
somewhere, but I don't see anything like a program.
slackpkg, by default, will only look for official Slackware packages, which are limited to what you can find on your installation DVD/drive (short of patches that are published on mirrors).
If you want to use slackpkg to search for other, non-official Slackware packages, you'd need to look into slackpkg+, which is an extension to the regular slackpkg allowing support for alternate repos. Eric and Robby both offer their own repos, and there is also slackonly, that provides Slackware packages for SlackBuilds on SBo.
As for your tar.gz -> tgz renaming... I'm pretty sure I did similar things when I started with Slackware. tgz files are unfortunately not guaranteed to be Slackware packages, it can also be a shortened version of tar.gz.
In your case, you downloaded the source code for that program, which isn't something you can just install. It needs to be compiled first. You can do that by extracting the source, viewing their compilation instructions, then following them. By default, it will install it to your system without creating a package. SlackBuilds are used to automate this build process and create a Slackware package that you can then install.
To be able to use that SlackBuild, I'd highly suggest checking out SBo's HOWTO on how to properly run them to create a package. If things still don't make sense after that, let us know and we'll try and fill in the blanks.
Either read this about how slackbuilds work: https://slackbuilds.org/howto/
(They are basically helper scripts to allow you to take the source code you have and compile it into installable, executable software)
Or go here for a ready-made package: http://www.slackware.com/~alien/slackbuilds/dosbox/
In pkg or pkg64, depending on whether you are using 64-bit or not, you will be able to find a .tgz file for your Slackware version that you can download and the install with the (logged in as root) installpkg command.
Yea I figured it out it has to be compiled but so
does the one that is downloaded from the recommended
site.
I really got nothing against compiling the program,
as long I have everything I need there.
This is just another example of something I run into
a million times during my decades of programing. No
one is able to write good instructions. They always
say way too much, and still fail to get the necessary
information out there.
I can figure this out, and after I do, I might give
an example of how the instructions should have been
written. If i do, I will use 1/4 the words and give
everything needed.
How do I know if some application is available
as a slackpkg to install?
Like, if I want to install dosbox on my computer,
how do I know if there is a slackpkg for that?
There must be a list somewhere, that I can look
at get the correct spelling etc. So where?
slackpkg only deals with official packages from Slackware repository. You can check the list of packages by looking at this site.
if you want applications not available in the Slackware repository, you can check the SBo repository and there are some third party applications to help you installing from SBo repository:
- sbopkg
- slpkg
- sbotools
Is slackonly generally trusted now? They seem pretty legit, but most senior community members seem to just shrug when it comes up, as far as I can tell.
Is slackonly generally trusted now? They seem pretty legit, but most senior community members seem to just shrug when it comes up, as far as I can tell.
It really depends on who's responding. Some people are inherently trusting, while others are not. Plenty of people still use random packages from sites like pkgs.org, which mix and matching packages from various repos listed there can have unintended issues if things don't match.
I personally don't use slack-only, because I like to have control over optional dependencies on programs I compile. But I do believe that as more people come to Slackware from primarily binary-based distros, they'd prefer to use a repo that has pre-compiled packages that are ready to install. Some don't want to deal with learning how to use SlackBuilds and queues and the like. And others don't want to wait for the package to compile. These posts could make it seem that it's more accepted than it is by the more experienced community (Slackware experience, not Linux experience), although, I personally don't know if the long-time Slackware users deem it as trusted or not.
As far as I know, the slack-only repo is pretty hands off by it's creator. It uses slackrepo to build all of SBo, and after making any needed hintfiles, you can set a cron job to run slackrepo sometime on the weekend after the typical public update from SBo. There's also built-in checks like md5s and the like to ensure the packages aren't tampered with after being created by slackrepo. However, this doesn't prevent someone from manually editing the SlackBuilds before they're built to possibly do bad things (although, I'm not suggesting that's the case here -- slackrepo provides better security solutions than most SBo building programs).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.