LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-02-2009, 06:35 PM   #1
gogoskiracer
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Rep: Reputation: 0
What happens if files are extracted and installed in wrong directory?


I downloaded a bunch of codecs for ffmpeg and didn't really know what I was doing, so just placed them in a folder ~user/download/ and installed them there. I'm having trouble with ffmpeg and the packages I installed.

Several tutorials talk about installing to /usr/local/src/.

Is it a problem if I haven't?

Can I just mv all the files from ~user/download/ to /usr/local/src/?

Or delete all the files at ~user/download/?

Or just re-download and install the files at /usr/local/src/ without worrying about uninstalling from the other directory first?

I tried several uninstall techniques (make uninstall, rpm -e {package_name}, yum uninstall {package_name}) and none of those recognized the package...

Thanks for any input on the matter!
 
Old 02-02-2009, 07:32 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,579

Rep: Reputation: 187Reputation: 187
The first thing I would do is to remove all of the files you created in ~user/download/. Just delete them. However these files may not be all of the files that the package installed.

The next thing that I would do is convert your ffmpeg source package to a rpm package using the checkinstall program. Checkinstall is probably in your distribution repository. If not here is the freshmeat entry for checkinstall.

http://freshmeat.net/projects/checkinstall/

Then use yum or rpm to install the ffmpeg rpm package you created. This install will overwrite any stray ffmpeg files that you did not delete in the first step. The install will also register ffmpeg properly in your rpm data base so that in the future you can keep track of ffmpeg using yum.

-------------------
Steve Stites
 
Old 02-02-2009, 08:30 PM   #3
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
Why do you want to use the source packages?

Simply install it with yum from rpm-fusion

Which codecs?
 
Old 02-02-2009, 09:23 PM   #4
gogoskiracer
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by amani View Post
Why do you want to use the source packages?

Simply install it with yum from rpm-fusion

Which codecs?
As far as I can tell the source packages are all that are available for these items.... Can yum install packages that are supposed to be installed with './configure; make; make install;' ?

I want to include the xvid, lame mp3, and x264 codecs. Do these have to be linked to ffmpeg in some special way, or do I just install them and ffmpeg can find them when needed?

Thanks!
 
Old 02-03-2009, 01:03 PM   #5
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,579

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by gogoskiracer View Post

Can yum install packages that are supposed to be installed with './configure; make; make install;' ?
No. You use checkinstall to convert the package to a rpm package which yum can install.

-------------------
Steve Stites
 
  


Reply

Tags
directories, ffmpeg, install, package, uninstall


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
Run CBT extracted from .rar files linuxqu Linux - Newbie 6 01-15-2008 05:31 AM
beryl installed wrong? d2490n Linux - Newbie 6 05-22-2007 08:54 AM
delete files uncompressed into wrong directory safely petersk Linux - General 3 03-04-2007 02:38 PM
Automatically Copying files from the ftp directory into the html directory swatward Linux - General 3 04-17-2005 11:55 PM
installed wrong RPM kobe Linux - General 13 09-27-2002 07:27 PM


All times are GMT -5. The time now is 06:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration