LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-21-2019, 07:34 PM   #1
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Rep: Reputation: Disabled
Dumb as a wedge when it comes to installing ffmpeg


Could someone please tell me where I could find some info on how to incorporate alienbob's ffmpeg build into my slackware? I see builds and packages and I'm totally clueless as to how to make the magic happen. I swear I've tried to google the pertinent info but I can't seem to find it anywhere :-/ (feel free to tell me to get a clue, noob)
 
Old 12-21-2019, 07:38 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,394
Blog Entries: 28

Rep: Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165
Is it a *.txz? Probably download the file and use pkgtool, as root, to install it.
 
Old 12-21-2019, 07:39 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
you can search your packages first to see if one is already installed, (current) or not
Code:
$ ls /var/log/packages/ffmpeg*
/var/log/packages/ffmpeg-4.2.1-x86_64-1
/var/log/packages/ffmpegthumbnailer-2.2.2-x86_64-1
to Install a package
Code:
sudo installpkg  ffmpeg-3.4.6-x86_64-1alien.txz
as root or sudo
command pathtopkg

http://www.slackware.com/~alien/slackbuilds/ffmpeg/

Last edited by BW-userx; 12-21-2019 at 07:41 PM.
 
Old 12-21-2019, 09:29 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,394
Blog Entries: 28

Rep: Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165
BW-userx, I don't think Slackware configures sudo out-of-the-box.

If it does, it is a most recent development, and one which I should find most distressing.

This is what happened when I just tried it.

Code:
$ sudo cat /etc/*release*

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password: 
[username] is not in the sudoers file.  This incident will be reported.
 
1 members found this post helpful.
Old 12-21-2019, 10:02 PM   #5
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 801

Rep: Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931
The builds are there in case you would like to build/compile it yourself. The build/compile process for ffmpeg is tedious and I wouldn't recommend it for a new comer (although it is possible and I'm sure alien's build script would work fine). As a self proclaimed "noob", it would probably be easier for you to use a pre-compiled package, which has the .txz or .tgz file extension.

Make sure you download the .txz file for your corresponding system (i.e. current if your on current, 14.2 if your on 14.2, watch for 64bit bit vs 32 bit as well). Once you have the file you install the package as the root user. Sudo will probably not be set up so use the "su" command. You can enter "su" at a terminal and it will prompt for your root password. Once you're logged in as root at the terminal, navigate to the directory with the package file and use "installpkg ffmpeg-3.4.6-x86_64-1alien.txz", or whichever version of the package you ended up downloading. It should install and be ready to use after that.

Good luck.
 
Old 12-22-2019, 01:18 PM   #6
captain_sensible
Member
 
Registered: Apr 2010
Posts: 352

Rep: Reputation: 145Reputation: 145
from my point of view slackbuilds are only a problem if there are a lot of dependencies. In that case you have to install all the dependencies in the right order, if dependencies also have deps.

Luckly some like latext2htm land ffmpeg do not have deps.

So as mentioned first check you don't have it

ls /var/log/packages | grep ffmpeg

next , what is your pc archirecture ?
$ uname -m

With some builds its ok for both 32 bit and 64 bit; for others you have to download the right source.A quick and dirty algorithm for using slackbuild .

1) head over to slackbuilds and do a search https://slackbuilds.org/repository/1...imedia/ffmpeg/


yep its there and only one source. Read all info and options

2) left click on ffmpeg.tar.gz - save as file.

3) left click on ffmpeg-3.2.4.tar.xz


Drop and drag both files to desktop.

Right click and ffmpeg.tar.gz , it should give you an option to unpack with ark.Choose extarct to desktop.Now you have a directory called "ffmpeg" drop and drag the ffmpeg-3.2.4.tar.xz into it.

Open up a terminal window; menu ->system-> konsole if you have to!

see where you are(should be home)
$pwd
$ cd Desktop

see whats there from terminal : $ls --color

move into ffmpeg directory
$ cd ffmpeg

see you are there and whats there : ls --color

you should see ffmpeg.SlackBuild


give it permissions to work: first move into root: $ su -> type in password

# chmod a+x ffmeg.SlackBuild
# ./ffmpeg.Slackbuild
( if you want to add an option do it like this:# CACA=yes ./ffmpeg.SlackBuild)

hopfully you might see something like ffmpeg successfully installed in /tmp

install package :

# installpkg /tmp/ffmpeg-3.2.4-x86_64-1_SBo.tgz

//or what ever your window gives you.

A good source of info is : https://docs.slackware.com/slackware:slackbuild_scripts

And to see what a slackbuild script does : https://docs.slackware.com/howtos:mi...f_a_slackbuild

(a work in progress)
 
Old 12-22-2019, 01:25 PM   #7
captain_sensible
Member
 
Registered: Apr 2010
Posts: 352

Rep: Reputation: 145Reputation: 145
these days if i feel even more lazy than usual i go for slpkg

https://dslackw.gitlab.io/slpkg/

https://slackbuilds.org/repository/1.../?search=slpkg

once install and setup it can find packages and install them along with deps . You can also query deps
Attached Thumbnails
Click image for larger version

Name:	cinelerra.jpg
Views:	36
Size:	22.5 KB
ID:	32152  
 
Old 12-22-2019, 07:19 PM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by frankbell View Post
BW-userx, I don't think Slackware configures sudo out-of-the-box.

If it does, it is a most recent development, and one which I should find most distressing.

This is what happened when I just tried it.

Code:
$ sudo cat /etc/*release*

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password: 
[username] is not in the sudoers file.  This incident will be reported.
No, it is not an out of box thing in slack, Me thinks using sudo has become a force of habit.
Code:
su
passwd
issue commands
with that message though, I've always wondered who's it going to tell? I am the owner of my box.

Last edited by BW-userx; 12-22-2019 at 07:22 PM.
 
Old 12-25-2019, 09:54 AM   #9
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
you can search your packages first to see if one is already installed, (current) or not
Code:
$ ls /var/log/packages/ffmpeg*
/var/log/packages/ffmpeg-4.2.1-x86_64-1
/var/log/packages/ffmpegthumbnailer-2.2.2-x86_64-1
to Install a package
Code:
sudo installpkg  ffmpeg-3.4.6-x86_64-1alien.txz
as root or sudo
command pathtopkg

http://www.slackware.com/~alien/slackbuilds/ffmpeg/
Hiya, BW. Wanted to let ya know that I managed to find the ffmpeg-3.4.6-x86_64-1alien.txz file at https://slackware.pkgs.org/14.2/alie...alien.txz.html and followed the instructions and for the most part...my ffmpeg troubles are no more, lol. I can now play vids and gifs I couldn't before and can even watch live streaming videos. Come to find out, when I ran the ls to see what ffmpeg was already installed, there was none. Sooo, I ran the installpkg and Viola! Not entirely sure how I found the damn file and why I also didn't find it before, but I guess all's well that ends well. Appreciate your time and Merry Xmas to ya (if you do Xmas, that is) :-)
 
1 members found this post helpful.
  


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
Bluetooth Keyboard Wedge SsAnubis Linux - Software 2 06-01-2011 09:03 PM
LXer: Driving a wedge between IBM and the FOSS community LXer Syndicated Linux News 0 04-07-2010 06:30 PM
Sendmail: eocket wedge , 504 error , dsn error, mail relay connection error djcs Debian 0 03-03-2009 12:41 AM
IBM SurePOS 4840-544 Magstripe Not working as Keyboard Wedge tmorrow Linux - Hardware 0 06-20-2007 02:03 PM
Installing Fedora blind, deaf, and dumb. Well, not dumb. Irving Fedora 2 07-18-2006 06:30 PM

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

All times are GMT -5. The time now is 09:33 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