LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-02-2019, 12:37 PM   #1
SNOBAL80
LQ Newbie
 
Registered: Sep 2019
Posts: 9

Rep: Reputation: Disabled
Question Installing Packages


I need to know how to install packages for Slackware 14.2. I know where to download them from, but I don't have a clue as to installing them. I'm interested in vlc and virtualbox in particular.
 
Old 10-02-2019, 01:00 PM   #2
urbanwks
Member
 
Registered: Sep 2003
Distribution: Slackware64-Current, FreeBSD 12.1, Alpine 5.4, Manjaro 19, Alpine on WSL [Win10]
Posts: 194

Rep: Reputation: 213Reputation: 213Reputation: 213
Code:
installpkg /path/to/package.txz
As for VLC, search for AlienBob's package, it has everything you need.

I install VirtualBox from the official generic install direct from Oracle. You should be able to install from slackbuild though.
 
Old 10-02-2019, 01:01 PM   #3
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
https://docs.slackware.com/howtos:sl...inary_packages
 
Old 10-02-2019, 01:11 PM   #4
captain_sensible
Member
 
Registered: Apr 2010
Posts: 352

Rep: Reputation: 145Reputation: 145
ok well look lets take it from the point of view of something simply , lets say latext2html

https://slackbuilds.org/repository/1...ic/latex2html/

you will see source and slackbuild. Download the slackbuild. latext2html.tar.gz

right click on it, open with arc , extract to say desktop and you get a directory .


Now download the source and put it in the directory called latex2html. So now inside that directory you should have the source file (latex2html-2019.2.tar.gz) , readme, slack-desc,info, manual and the slackbuild file latex2html.Slackbuild; its the last file we will be interested in now.

First go to command line; log in as root eg $su ->pasword

# chmod a+x latex2html.SlackBuild

# ./latex2html.SlackBuild

after that last command you will see compile process and if lucky get a notification package in /tmp/package

to install # installpkg /tmp/packagename
 
Old 10-02-2019, 01:14 PM   #5
captain_sensible
Member
 
Registered: Apr 2010
Posts: 352

Rep: Reputation: 145Reputation: 145
now then for other packages , there will be a choice for source depending on whether you have 14.2 32 bit or 64 bit. Choose depending on what your running. Now heres the tedious part many packages need dependencies and some dependencies have deps. basically you have to build package and install bottom up. VLC might make you feel faint when you look at slackbuild
 
Old 10-02-2019, 01:19 PM   #6
captain_sensible
Member
 
Registered: Apr 2010
Posts: 352

Rep: Reputation: 145Reputation: 145
I would suggest doing builds for simple packages like latex2html and others first, at least you learn what the dependencies are called. When you get fed up time line might be build->https://sbopkg.org ->slackpkg or slpkg
 
Old 10-02-2019, 01:46 PM   #7
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
If you install "sbopkg" you can install all slackbuilds doing this:

Code:
sbopkg -g vlc
sbopkg -i vlc
If you run only "sbopkg" you will get the ncurses interface with a lot of options.

"sboui" is also a useful frontend for install from slackbuilds or other repositories. Another option is also to use slackpkg+ which has a lot of applications.

https://sbopkg.org/

https://github.com/montagdude/sboui

http://www.slakfinder.org/slackpkg+.html
 
Old 10-02-2019, 05:08 PM   #8
Nick-us
Member
 
Registered: Feb 2019
Distribution: Slackware64-Current
Posts: 65

Rep: Reputation: 8
Smile

Quote:
Originally Posted by SNOBAL80 View Post
I need to know how to install packages for Slackware 14.2. I know where to download them from, but I don't have a clue as to installing them. I'm interested in vlc and virtualbox in particular.
Good site to find ready packages: I already pointed the search for vlc
http://slakfinder.org/index.php?star...r=veru#results

Example of how to install this package: Be root
installpkg vlc-3.0.8-x86_64-1alien.txz

To remove a package from the system: Be root
removepkg vlc-3.0.8-x86_64-1alien.txz




 
Old 10-02-2019, 09:36 PM   #9
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Or crank up a VM and run slackrepo within to build your packages.
 
Old 10-02-2019, 10:09 PM   #10
SNOBAL80
LQ Newbie
 
Registered: Sep 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thanks for the replies, I'll try your suggestions.
 
  


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
x86_64 packages vs non-64 packages MadCowDzz Linux - Newbie 2 11-06-2005 10:03 PM
Updating packages from redhat - insatlling *.hdr packages jomy Linux - Networking 1 01-18-2005 08:36 AM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 09:43 AM
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages inward_eye Linux - Software 3 08-24-2003 03:07 PM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM

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

All times are GMT -5. The time now is 10:39 PM.

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