LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 09-05-2022, 04:29 PM   #1
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
[Not apt] Installpkg numactl i686 says: file not found. (Sorry, I can't figure out how to install a package!!!)


Update: I tried slackpkg search ... But bad gpg
http://termbin.com/cghg

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

As an indication of how lost I am,
numactl-2.0.10.tar.gz has ended up downloaded onto my Android cell phone!!!
I'd be happy to (re)learn how to use make... (I tried to attach upload it here, but LQ says invalid file type)
I think I need to study stuff like this:
https://docs.slackware.com/howtos:sl...lling_software
http://docs.slackware.com/howtos:sla...ding_a_package
https://medium.com/netdef/build-inst...y-b2986d2f86f9
https://www.linode.com/docs/guides/s...ge-management/

Last edited by !!!; 09-05-2022 at 08:25 PM.
 
Old 09-06-2022, 09:20 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,596
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
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.
 
Old 09-06-2022, 01:35 PM   #3
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 591

Rep: Reputation: Disabled
Really, I would just advise you to move back to Debian.
 
Old 09-06-2022, 01:53 PM   #4
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Original Poster
Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
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)

Last edited by !!!; 09-06-2022 at 01:54 PM.
 
Old 09-07-2022, 05:52 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,596
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
Quote:
Originally Posted by !!! View Post
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.

You might find this useful.
https://www.linuxquestions.org/quest...lackers-38755/

Last edited by hazel; 09-07-2022 at 05:59 AM.
 
Old 09-07-2022, 12:42 PM   #6
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Original Poster
Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
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.

Last edited by !!!; 09-07-2022 at 01:49 PM.
 
Old 09-07-2022, 01:38 PM   #7
dhalliwe
Member
 
Registered: Mar 2022
Location: Ontario, Canada
Distribution: Slackware
Posts: 163

Rep: Reputation: 154Reputation: 154
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.
 
Old 09-07-2022, 01:46 PM   #8
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 591

Rep: Reputation: Disabled
Quote:
Originally Posted by !!! View Post
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.
 
Old 09-07-2022, 06:08 PM   #9
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Original Poster
Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
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)

Last edited by !!!; 09-08-2022 at 12:16 AM.
 
Old 09-09-2022, 06:48 AM   #10
quickbreakfast
Member
 
Registered: Oct 2015
Location: northern territory
Distribution: slackware 15
Posts: 335

Rep: Reputation: Disabled
Quote:
Originally Posted by !!! View Post
I suspect I need to look in some other PPA called Slack builds (Sbo?)
***I need to spend some time studying all this.
The file you want is in slackbuilds.org .......

To get it you'll either -

download and install sbopkg from https://sbopkg.org/downloads.php . Then connect to a mirror

Code:
 sbopkg -r
when that finishes run

Code:
 sbopkg -qRki numactl
or

find it in a mirror, then download, potentially unpack the tar ball, build it and finally install it.

edit to add. both codes are run as root.

Last edited by quickbreakfast; 09-09-2022 at 06:49 AM.
 
1 members found this post helpful.
Old 09-12-2022, 02:23 AM   #11
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Original Poster
Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Arrow Go 2lq

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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
2.6.9-5.EL-hugemem-i686, 2.6.9-5.EL-i686, 2.6.9-5.EL-smp-i686 , Which? arsham Linux - General 2 05-07-2005 11:21 PM
2.6.9-5.EL-hugemem-i686, 2.6.9-5.EL-i686, 2.6.9-5.EL-smp-i686 , Which? arsham Linux - Enterprise 1 05-07-2005 07:20 PM
another nvidia problem, sorry sorry sorry mechanicalg0d Mandriva 2 10-27-2003 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 05:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration