LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-18-2008, 11:44 AM   #1
Shautieh
Member
 
Registered: Sep 2006
Distribution: Ubuntu
Posts: 64

Rep: Reputation: 15
installing a program system wide


Hi

I need to compile mplayer for my ubuntu gutsy (to apply some patch), and would like to know what is the best way to do things !

First, I would like to install it system wide, but don't know WHERE to install it so it will replace the default mplayer package (I am not sure but wouldn't it be better for compatibility with other programs made to work with the default mplayer package ?)

A second problem is that if I try to remove mplayer via aptitude, it asks me to remove other packages which need it. Will they work if I ignore this warning and make install the sources ? Or should I remove them, and reinstall them after I installed with the sources ?


Thanks
 
Old 01-18-2008, 11:49 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
don't overwrite, remove the old one and install the new one. the defualt settings won't matter, in reality thing slike the mplayer binary itself will probably go to /usr/local/bin from source, as opposed to /usr/bin from the deb pacakge, but that really doesn't actually matter at all for the way you would use the system. just run "./configure" and "make" as your normal user then "sudo make install" to do the install itself as root. don't pay attention to where things go, it'll be fine.
 
Old 01-18-2008, 12:07 PM   #3
Shautieh
Member
 
Registered: Sep 2006
Distribution: Ubuntu
Posts: 64

Original Poster
Rep: Reputation: 15
ok, I thought it would install it locally by default (ie in the same directory as the sources)..

About the other packages' problem, I will ignore it and see if it works afterwards If not I hope reinstalling them will work with the customized mplayer ^^"


edit : installed it normally (as you said), but have a problem I feared : I uninstalled mplayer beforehand, and thus had to uninstall mozilla-mplayer too, but now I can't reinstall mozilla-mplayer without reinstalling the mplayer package :P
Is there a way to force aptitude/apt-get to ignore this recommendation ?? (as it's supposed to work with the compilled mplayer)

Last edited by Shautieh; 01-18-2008 at 01:01 PM.
 
Old 01-18-2008, 03:28 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i don't wear sandals so i'm not that familiar with deb package management, but dpkg has a --force-depends option which would presumably let you install it regardless. that's direct dpkg though, not apt-get.
 
  


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
How to change system wide locale? Tux-Slack Slackware 1 07-09-2007 07:34 AM
Adding system-wide aliases extrasolar Linux - General 2 05-10-2007 02:27 AM
kde system wide config bong.mau Linux - Software 8 06-09-2006 05:17 AM
System Wide Permission lmanwarren Linux - General 1 03-29-2005 08:15 PM
Changing system-wide buttons rossjman1 Debian 1 03-22-2005 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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