LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-13-2014, 01:53 PM   #1
Gary Patton
LQ Newbie
 
Registered: Jun 2014
Location: Philadelphia, PA
Distribution: Debian
Posts: 4

Rep: Reputation: Disabled
Mistake installing app - will retrying from different directory mess things up?


Hi. Tried to install an app following a YouTube video. Apparently created a directory named /usr/src/ and downloaded the gzipped file in there. Un-tarred it and executed the make commands, and successfully installed the app. Just noticed that the video did all that from the /usr/local/src/ directory. I want to follow the directions in the video so I'm thinking about reinstalling the app.

Will it mess up the app, or my Debian 7.5 server install, if I go back and re-do the installation from the "proper" directory w/o uninstalling the first installation? (I haven't looked up how to un-install an app from the CLI.)

Thanks.

Gary
 
Old 06-13-2014, 02:43 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,120

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
what are you trying to install ?
99 % of the time you should be installing from the online repository.
 
Old 06-13-2014, 02:51 PM   #3
Gary Patton
LQ Newbie
 
Registered: Jun 2014
Location: Philadelphia, PA
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: Disabled
Scneids

Hi. Thanks for getting back to me so quickly! OpenSIPS 1.10.1.

Regards,

Gary
 
Old 07-20-2014, 01:58 PM   #4
Gary Patton
LQ Newbie
 
Registered: Jun 2014
Location: Philadelphia, PA
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: Disabled
Installing from *.deb repository vs. from source

Hi all!

What Schneidz said - "99% of the time you should be installing from online repository" - makes a lot of sense.

But it seems that when I install from a repository, the installation goes really fast. LOL - can I be sure that the repository is also compiling/installing the many dependencies that the app may require when downloading/building/installing all of the app's dependencies as well as installing the app itself?

A friend (who rarely uses Linux) said that, as far as he knew, installing the app repository only installed the app itself but *not* the dependencies that are needed to make the app work.

I followed Schneidz's advice. But, based on how quickly OpenSIPS 1.10.1 installed when I used the Debian repository, it seems that my friend might be correct.

LOL - or should I get new friends who are regular Linux users?

Thanks.

Regards

Gary
 
Old 07-20-2014, 02:06 PM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
If you used apt-get or aptitude, it installed any required dependencies for you.
 
Old 07-20-2014, 03:45 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836
Quote:
Originally Posted by Gary Patton View Post
But it seems that when I install from a repository, the installation goes really fast. LOL - can I be sure that the repository is also compiling/installing the many dependencies that the app may require when downloading/building/installing all of the app's dependencies as well as installing the app itself?

A friend (who rarely uses Linux) said that, as far as he knew, installing the app repository only installed the app itself but *not* the dependencies that are needed to make the app work.
Almost all Linux distributions have package management systems that do automatic resolving of dependencies by default, so there is no need to compile software yourself unless you have to use a program not present in the repositories or if you have to compile with uncommon options. Even then it is recommended to create proper packages for your distribution instead of installing directly from source, so that the package manager is aware of the installed software.

Quote:
LOL - or should I get new friends who are regular Linux users?
You are here already, aren't you?
 
Old 07-23-2014, 06:29 PM   #7
Gary Patton
LQ Newbie
 
Registered: Jun 2014
Location: Philadelphia, PA
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: Disabled
Alucard and TobiSGD:

Thanks for your clarifications. I'm now sure that installing from my distro's repositories definitely is the way to go!

As for friends, LQ is full of so many helpful people that I'm really glad I registered. I was intimidated by users' vast knowledge and was afraid to post. I thought people would find my questions silly - or worst, stupid. I've learned so much just by browsing the many forums.

Again, thanks to you and to everyone else on LQ!

Regards

Gary
 
  


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
LXer: Bad kitty! “Rookie mistake” in Cryptocat chat app makes cracking a snap LXer Syndicated Linux News 0 07-07-2013 10:40 PM
Suse: confused on many things, why is installing things so hard? blackflare Linux - Newbie 11 10-16-2007 04:35 AM
Upgrades Mess Things Up? ~zoey~ Linux - Newbie 1 10-28-2004 11:41 AM
App for Displaying Useless things on Desktop? flamesrock Linux - Software 6 07-07-2004 02:18 PM
Ut2004 and other 3d things look a mess Grisnak Fedora 0 06-14-2004 04:54 AM


All times are GMT -5. The time now is 07:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration