LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-15-2008, 07:32 AM   #1
neoplasma
LQ Newbie
 
Registered: Jul 2008
Posts: 9

Rep: Reputation: 0
uninstall prog/aplication in linux


anybody know how to uninstall/remove prog in linux, expecialy using command in terminal console not using installer cd.
usualy i removed all directory wich is contain configuration prog.

for example when i want remove htb in my proxy i just kill the htb.init process and deleted all configuration file in /etc/sysconfig/htb and remove htb.init in /sbin directory, after that if i want use it again i recompile htb.init and create new file configuration

is this correct??
 
Old 07-15-2008, 07:42 AM   #2
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
which distro are you using ?
 
Old 07-15-2008, 09:47 PM   #3
neoplasma
LQ Newbie
 
Registered: Jul 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by heema View Post
which distro are you using ?
I'am using RHEL version 4
 
Old 07-16-2008, 08:23 PM   #4
shridhar005
Member
 
Registered: Jul 2008
Posts: 90

Rep: Reputation: 17
DO following thing.
Read the Manuel i.e. man pages of rpm
Quote:
man rpm
with this you will get to know how to install programs or softwares.
 
Old 07-17-2008, 02:06 AM   #5
neoplasma
LQ Newbie
 
Registered: Jul 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by shridhar005 View Post
DO following thing.
Read the Manuel i.e. man pages of rpm

with this you will get to know how to install programs or softwares.
ok its help
but usualy i installed application in format tar.gz or bz2 using ./configure
make
make install

any idea?
 
Old 07-17-2008, 02:20 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You can then cd to the directory from where you issue ./configure make && make install
and from there you can issue
make clean
make uninstall
 
Old 07-17-2008, 03:00 AM   #7
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
and if make uninstall doesnt work, i think there used to be something called checkinstall which had to be there when you installed something - when you later wanted to remove it, it would do it for you, at least thats what i thought it was for. check whether it still exists.
 
Old 07-19-2008, 11:59 AM   #8
neoplasma
LQ Newbie
 
Registered: Jul 2008
Posts: 9

Original Poster
Rep: Reputation: 0
@linuxlover and reset

thx guys, i'll try next monday in my office
btw how about if i just deleted the directory? it is a problem?
because i already thet so many time hehe
 
  


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
optical mouse as a motion sensor - writting an aplication in C++ using Linux alexandre_fs Programming 6 01-27-2008 10:25 PM
I want to start a prog from another prog but not as child grupoapunte Programming 5 05-23-2005 06:37 PM
how can i uninstall gaim prog? alexii86 Linux - Newbie 6 11-08-2003 11:11 AM


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