[SOLVED] [Not apt] Installpkg numactl i686 says: file not found. (Sorry, I can't figure out how to install a package!!!)
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
What I want is like: alias i='sudo apt install'
i numactl # just now worked fine on Ubuntu; my slackware only runs as root so I don't need sudo in the i alias
I Tried reading the Slackware docs, but I couldn't figure it out. I only know apt. I'm trying to run numastat
I full installed 32 bit slackware
(side note, I am now running the disk on a 64-bit machine, so I wonder if I can use the -x86_64- ??)
I can't find anything like: -i686- or 386
Please don't get mad that I can't figure out how to install anything on slackware. I don't mind if you give me a link to a simple tutorial, but it has to be very simple.
This is my first time trying to install anything on slackware. Obviously I know how to do it on Debian. I thought a full install would install everything but apparently there's dozens of thousands of other packages somewhere that I don't understand. I understand the basics of a PPA, but there doesn't seem to be any in slackware.
Again, sorry that I've been brainwashed by Debian into being braindead on slackware
Side note, elsewhere I was trying to write a beginner's guide to slackware that has only a few lines &is no more than a small fraction of a page long, which is actually mine and other peoples' attention span limit!!!, begun in post#17 in that thread, which I tried to posted General but it got moved to slackware and then it got flamed to death. https://www.linuxquestions.org/quest...ml#post6368576
Just sudo installpkg (or an abbreviation for it) should do the job. I think you need the full name of the package but bash completion should give you that.
Thanks hazel, one of my favorite friendly helpful LQ'ers!!
bash completion (& entire default slackware 15 install) doesn't seem to know anything about that unusual package. (rgrep refuse to recurse, so I used find ... -exec grep ...)
So if you started from a fresh install of Slackware 15, what you suggested wouldn't work. Also BTW FYI, man l<tab> tab completion doesn't work; IDK why; maybe it's because I run as root (no sudo needed!!!) and did not add any user accounts (hitting tab just offers files in my current working directory that begin with l)
Google has found me some versions of numactl but installpkg doesn't seem to look at the internet, only what's on local HDD!!!
So, I think installpkg is like dpkg; I need like apt, which looks in remote internet repositories/PPAs: maybe slackpkg, sboSomething, pkgtool(?), Alienware(???), ???
I see rpm exists!!! WtHeck? Should I use red hat library books for slackware? OmyGosh...
I love the straightforwardness of slackware because it's like my favorite MLL distro, but can (init 4&) run Firefox (MLL is 10MB .iso: only busybox and the kernel of course)
So, I think installpkg is like dpkg; I need like apt, which looks in remote internet repositories/PPAs: maybe slackpkg, sboSomething, pkgtool(?), Alienware(???), ???
Yes, installpkg is the lowest level installation tool. It requires the package to be present on the system but I assumed from your post that you had it downloaded already. The installpkg script belongs to a package called pkgtools, which also contains scripts for upgrading (upgradepkg) and removing (removepkg) packages.
The slackware equivalent of apt is slackpkg but it doesn't do any dependency checking. It has a useful extension called slackpkgplus which allows you to download and install/update from additional repositories like Eric's alien and multilib. SBoPkg is a similar download and update facility for slackbuilds.
Either get my BCM4312 working OR sneakernet file from cell phone to PC
My HEROhazel!!! Yes, I think that's exactly what I need to study. (TMI: I need to print it out, which is challenging because of the 105° heat here.)
I was going to post the following as a new slackware thread, but rather than upset some Slackers with my idiocy, I'll just stick it in this thread as a new post.
The Wi-Fi on my Inspiron 1420 is a BCM 4312 and doesn't seem to be working (as b43), and IDK why. (I used to be half decent at figuring such out, but I think the Heat or something has made me go braindead, and I haven't even done the requisite Googling, sorry!!!)
So what I'm trying to do is get the file numactl-2.0.10.tar.gz FROM this Android cell phone onTO some kind of a flash drive / SDHC, so I can feed it to slackware. A solution to either would get me there!!! (Wired isn't an option right now)
I tried plugging my cell phone into slackware but it didn't recognize it.
What were you expecting to see when you plugged your cell phone in? I presume that this is using a USB cable? Expecting the files on the phone to show up in your directory/folder tree?
This may not happen automagically. On my system, I intentionally prevent it from happening automagically, because I don't like where it automagically gets mounted.
The computer may be recognizing the cell phone on the USB port, and just needs the right commands to mount it. When I connect a USB device, I do the following from a terminal window (or console, if I have not yet run X):
I have a pre-existing folder in my home directory called usb (i.e., /home/dhalliwe/usb
I type the following: sudo mount -o uid=dhalliwe,gid=users /dev/sdd1 /home/dhalliwe/usb
Then, the files will be visible in /home/dhalliwe/usb. Modify the uid= and /home/dhalliwe/usb parts to match your user id and the directory name you want to use.
Depending on what other devices are already connected, you may need to use /dev/sde1 or /dev/sdf1 in the above command.
You may get clues as to whether the system sees the phone (before or after mounting) using lsusb in a shell prompt/terminal window.
When done, I do sudo umount /home/dhalliwe/usb to unmount it.
I tried plugging my cell phone into slackware but it didn't recognize it, like Ubuntu does
Slackware is not Ubuntu.
When you connect your phone to your computer, don't you get a popup on your phone with an option to make it abailable as a storage device on your computer?
Also, you may want to setup a tethered connection from your smartphone to your computer using that USB cable you already have inbetween. Then your computer will have Internet and you can download anything you need.
But still my advice stands: you're better off with going back to Debian or Ubuntu or whatever worked for you before you fried your brain.
One has m4; other has configure. I just wanted `apt search numactl`
Update: getting back on track (I got motivated to conjure up a wire ethernet cable connection):
Like `apt update` is always needed first, I finally did (duh!):
slackpkg update
And the gpg error (which initially stopped me) is gone!!!
Now: slackpkg search numactl
Works but finds nothing.
I suspect I need to look in some other PPA called Slack builds (Sbo?)
***I need to spend some time studying all this.
Btw, I found the cheat sheet: https://distrowatch.com/dwres-mobile...age-management
More later.....
Update#2: I must profusely apologize to slackware!!!
I finally looked at the boot messages and it told me where to get the b43 firmware, and now Wi-Fi works fine like it did on the Toshiba!!!
Update#3: insanity but: /boot/initrd-tree/bin/busybox dpkg-deb -X numactl_2.0.15*.deb / # as good as mll
=======================
I had deleted the "worked on Ubuntu" (a couple minutes before I saw the replies) because I wrote that, believing I'd seen it work, but when I tried it (also with MX), neither of Deb's offsprings saw my cell phone, so maybe there's something weird about the cell phone. (actually I hate the way The Debs keep 'auto'mounting removables, and I have to go manually umount)
Anyway, reboot **circuitously** fixed getting numactl-2.0.14.tar.gz (withOUT slackware Wi-Fi, which worked on 32-bit Toshiba but doesn't work on this Dell yet): I had put MX21_386 on after Slackware and its grub defaults to booting MX in 5 seconds, and the Wi-Fi works on MX, so I downloaded a new copy and mounted slackware and copied it into my home: /root (BTW, I use runlevel 3 on slackware, unless I want Firefox, when a simple `init 4` bloates my beautiful slackware with GUI)
I actually ended up with two of them: same name but one has m4 and the other one has a huge 50,000 line configure script!!! So now I get to go learn autoconf
My overall goal is actually to learn stuff, though I seem to be doing an extremely poor job of learning these days versus 50 years ago (9/1969 when I added the punch card JCL parameter to get Fortran to print out the Assembly Language of my College freshman Fortran program)
I like slackware because it's closer to my favorite distro MLL.
(New/next) Goal of the moment: I actually want to build static programs that don't need any shared libraries, for use on MLL. (I promise not to try to get virtualbox to run on 32-bit slackware, although I used to run it on N270cpu XP)
OhMyGosh: you have revealed the secret of/to making Slackware work!!!
Yes, it works!!! (yes it does take a fraction of an hour to list a zillion Sbo things)
(Won't you be banned from Slackware for revealing the secret to making Slackware work? Just kidding)
I also have the source code in a tar.gz file. Might you be willing to post the code to 'make Linux work'? Meaning how to build that file... though it looks like sbopkg just did the same thing. Or maybe a link to something I could print out and study... I think it's in chapter 16 of the 'How Linux Works' book which I just mentioned in another thread about virtualbox for someone who has never seen Linux before (& wants to rebuild a 2005 Debian app from source).
Anyway, huge (beyond what I could possibly express) thanks for making slackware work for me!!!
P. S. Has anyone ever done like:
sbopkg -i <all=every sbopkg!!!> ?
How much disk space would it eat up, to install absolutely everything (like the 100,000 .deb pkgs)?
Is there any other ('common') PPA repos, other than SBO?
Last edited by !!!; 09-23-2022 at 10:06 AM.
Reason: Bot 2LQ.org
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.