LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-30-2015, 05:26 AM   #1
prasad1990
LQ Newbie
 
Registered: Feb 2015
Posts: 11

Rep: Reputation: Disabled
Check dependency and install application from internet in red-hat,ubuntu,cent-os .


Hello friends,

I want to write script, In which i have to check dependency of application and download it from internet at the time of installation or by another way to check the dependency online.
for eg. mysql,mariadb,nano,netbeans etc.
Please suggest me how can I do that.
 
Old 04-30-2015, 05:32 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
For those distros you mention, the package manager automatically installs dependencies.
 
Old 04-30-2015, 05:40 AM   #3
prasad1990
LQ Newbie
 
Registered: Feb 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
yeah,you are ri8 my friend.
But I m doing minimal installation of red-hat. so sometimes I faced "xyz" library is not found , And I want to setup development environment. so its required different dependencies for different application or libraries.
 
Old 04-30-2015, 05:46 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
You can usually find out on the application's website what dependencies are needed.
 
Old 04-30-2015, 06:06 AM   #5
prasad1990
LQ Newbie
 
Registered: Feb 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
I got error while installing remmina, some dependencies were not found. and i want to install that application with auto dependencies.
 
Old 04-30-2015, 09:44 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
for redhat it is very easy to check for dependencies
RHEL 7.1 is the current

a long time ago in a ... far away....

in RHEL5 there was introduced YUM!!!

CentOS is a rebuild of RHEL


so to check
Code:
su -
yum update 
---- or ------
yum install ProgramName
---- or ----
yum groupinstall "Development Tools"
 
Old 05-01-2015, 08:20 AM   #7
prasad1990
LQ Newbie
 
Registered: Feb 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks for reply guys...
 
  


Reply

Tags
perlscript, shell script



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 can i install a application in red hat linux awnishkumar Linux - Desktop 3 11-06-2009 12:31 PM
install an application in red hat 9 waleedazzez Red Hat 2 09-22-2006 06:02 AM
red hat install freezez on partition check zacyamak Linux - Newbie 1 11-15-2003 11:05 PM
Install of movie application - Red Hat v9 davidjchurchill Linux - Software 1 10-18-2003 03:59 AM

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

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