LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2012, 12:03 PM   #1
charging-ibis
Member
 
Registered: Dec 2011
Location: Columbus, OH
Distribution: Slackware 13.37
Posts: 38

Rep: Reputation: 0
Question Concern on how to update a package from source-code [Slackware 13.37]


OK so I know that for .rpm & .deb files and the 2 most popular package managers, you update a package by entering:
Code:
rpm -U [package_name].rpm
Code:
yum install [package_name]
Code:
dpkg -i [package_name].deb
Code:
apt-get -d [package_name]
Well now, here is my concern. I had installed ffmpeg. I need to use an encoder that is dependent on an external library that is not on my system which is libx264. Now I just installed libx264 from source. Now here is where i am unsure on how to approach the next step. The Linux+ book didn't cover updating from source; just taring, configuring, compiling, installing and uninstalling.

I think i need to update ffmpeg now that I have installed the external library libx264. So do I need to just:
Code:
./configure
make
make install
OR just:
Code:
make
make install
OR:
Code:
make install
OR:
Code:
./configure
make uninstall
./configure
make
make install
I am unsure at this point and I need some general guidance. I will find that your posts will be very helpful.

~Thanks
 
Old 11-30-2012, 12:09 PM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Quote:
I think i need to update ffmpeg now that I have installed the external library libx264.
There is no need. One app needing one library simply knows where to look for it and read --except in certain problematic cases when directory structures are not what the distro expected, but this can easily be solved by pointing these with links.

Quote:
So do I need to just:
./configure
make
make install
Yes.
If there is no further special instructions, that is enough.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
source code or package linuxown Linux - Software 3 12-18-2009 02:13 AM
Looking for source code for stty -- what package? dovkruger Linux - General 1 10-24-2007 11:23 AM
Slackware security update/package update Michael_aust Slackware 6 10-04-2006 08:19 PM
Source code for rh9 games package??? Quantum0726 Red Hat 0 12-29-2003 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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