LinuxQuestions.org
Help answer threads with 0 replies.
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 08-22-2009, 01:25 AM   #1
sonu kumar
LQ Newbie
 
Registered: Aug 2009
Location: India
Distribution: open suse
Posts: 28

Rep: Reputation: 17
Smile how to uninstall a path variable and a software package in linux open suse 11.1


hi dear all.

I want to know--- how to uninstall
1)path variable in linux
2)software package in linux open suse 11.1.

thanks in advance

sonu
 
Old 08-22-2009, 01:43 AM   #2
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Quote:
Originally Posted by sonu kumar View Post
hi dear all.

I want to know--- how to uninstall
1)path variable in linux
2)software package in linux open suse 11.1.

thanks in advance

sonu
Welcome to LQ

1. variables are not uninstalled they are unset or set to null (nothing). I don't suggest you set you path to null or unset it as you will not be able to run any commands or programs as the shell looks for them in $PATH.

Here's some more info on that:
http://www.faqs.org/docs/Linux-mini/Path.html

2. openSuSE is rpm based so you can uninstall rpm packages with rpm. I suggest you use yast2 as it also will allow you to easily add and remove programs.

Last edited by micxz; 08-22-2009 at 01:43 AM. Reason: added welcome
 
Old 08-22-2009, 02:19 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,707

Rep: Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295
... And the command line counterpart of 'Yeast2' :
# zypper re <package>
see 'man zypper'
and http://en.opensuse.org/Zypper/Usage
http://manpages.unixforum.co.uk/man-...-man-page.html

Packages installed with # 'make install' :
'make uninstall' from the source directory, if available.
Keep a record of the install by 'copy / paste' the text
from the 'make install' shell to a text file or use a
tool like checkinstall to create an rpm package, which
can be removed with # 'zypper re'

An extra PATH or an LD_LIBRARY_PATH entry does no harm,
if the directory in question doesn't exist any more.
Unset with care if at all, ref. @micxz, post # 2.
.....

Last edited by knudfl; 08-22-2009 at 07:09 AM.
 
Old 08-22-2009, 02:23 AM   #4
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Quote:
Originally Posted by knudfl View Post
checkinstall to create an rpm package, which
can removed with # 'zypper re'
Cool. I did not know this'
 
  


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
bash script path issue - how to pass a path as a string to a variable PiNPOiNT Programming 5 04-17-2009 05:48 PM
Full non-open source package in open suse 10.0 suse91pro SUSE / openSUSE 10 10-21-2006 06:17 AM
PATH variable on SuSE 9.1 sbk Linux - Distributions 3 08-05-2004 02:13 AM
change PATH variable in Suse 9.0 jesus_edu Linux - Newbie 5 03-29-2004 09:33 AM
uninstall kde software dev package problem ephem Red Hat 1 09-12-2003 12:07 AM

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

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