LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 11-23-2003, 04:24 PM   #1
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 401

Rep: Reputation: 31
upgrading and uninstalling software


I have a few simple questions I hope that someone can answer.

1. How would I go about upgrading a program like perl. I kind of messed up by trying to upgrade Perl 5.8.0 to 5.8.2. I thought doing the 'configure,make,make install' would upgrade my older version, but instead, it installed a second version.

2. Is there a way to uninstall software from the commandline? I'd like something that I could reverse the 'make install' process. Is that what 'make clean' is for?

I'm sorry, I know these are newbie questions...

Mike

Last edited by mijohnst; 11-23-2003 at 04:25 PM.
 
Old 11-23-2003, 04:26 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Most of the time you will need a package manager to upgrade software. When compiling you usually just install a new version to a different directory.

To uninstall a source package usually:
make uninstall
 
Old 11-23-2003, 04:27 PM   #3
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
You might want to check out CheckInstall to manage source code installations/uninstallation
 
Old 11-23-2003, 07:22 PM   #4
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 401

Original Poster
Rep: Reputation: 31
Hum...Maybe I should ask how I can get rid of the old version? My problem is that I'm trying to use Net::SNMP but everytime I run that script that needs it says that it's not installed. I get this output:

[root@LINUX1 libexec]# ./check_netapp.pl -H filer
> Can't locate Net/SNMP.pm in @INC (@INC contains:
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0) at
> ./check_netapp.pl line 43.
> BEGIN failed--compilation aborted at ./check_netapp.pl line 43.



I know that it is installed though because when i do this:

> cpan> install Net::SNMP
> Net::SNMP is up to date.

How to I uninstall the orginal version, upgrade it or point cpan to the newly installed version? Thanks again!

Mike

Last edited by mijohnst; 11-23-2003 at 07:24 PM.
 
Old 11-24-2003, 12:50 AM   #5
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 401

Original Poster
Rep: Reputation: 31
bump
 
  


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
Uninstalling/Upgrading MySQL jabird Red Hat 4 10-08-2004 02:27 PM
Uninstalling Software Dummy-in-Linux Linux - Newbie 1 07-05-2004 11:55 AM
Uninstalling Software Bobmeister Linux - Software 3 06-06-2003 09:16 AM
Php uninstalling and upgrading problem jolly Linux - Software 1 04-27-2003 10:16 AM
uninstalling software gonus Linux - Software 6 11-21-2002 08:11 PM


All times are GMT -5. The time now is 11:32 AM.

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