LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Concern on how to update a package from source-code [Slackware 13.37] (https://www.linuxquestions.org/questions/linux-newbie-8/concern-on-how-to-update-a-package-from-source-code-%5Bslackware-13-37%5D-4175439476/)

charging-ibis 11-30-2012 12:03 PM

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

malekmustaq 11-30-2012 12:09 PM

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.


All times are GMT -5. The time now is 09:53 AM.