LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Installing Packages (https://www.linuxquestions.org/questions/slackware-14/installing-packages-4175661880/)

SNOBAL80 10-02-2019 12:37 PM

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.

urbanwks 10-02-2019 01:00 PM

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.

montagdude 10-02-2019 01:01 PM

https://docs.slackware.com/howtos:sl...inary_packages

captain_sensible 10-02-2019 01:11 PM

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

captain_sensible 10-02-2019 01:14 PM

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

captain_sensible 10-02-2019 01:19 PM

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

jostber 10-02-2019 01:46 PM

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

Nick-us 10-02-2019 05:08 PM

Quote:

Originally Posted by SNOBAL80 (Post 6042940)
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





Richard Cranium 10-02-2019 09:36 PM

Or crank up a VM and run slackrepo within to build your packages.

SNOBAL80 10-02-2019 10:09 PM

Thanks for the replies, I'll try your suggestions.


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