LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-16-2012, 09:17 PM   #1
Novatian
Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 20 KDE and 19 and Android, Windows 10, KDE Neon, Manjaro, Slackware.
Posts: 983

Rep: Reputation: 37
Problem program fixing in linux compared to windows


Good day, in windows if a program does not work, I would remove it and format the free space, but what does one do in Linux, such as Fedora or Ubuntu or Android?
 
Old 09-16-2012, 10:00 PM   #2
cortman
Member
 
Registered: Jan 2012
Location: ZZ9 Plural Z Alpha
Distribution: Crunchbang 11, LFS 7.3, DSL 4.1.10, Lubuntu 12.10, Debian 7
Posts: 219

Rep: Reputation: 43
Quote:
Originally Posted by Novatian View Post
Good day, in windows if a program does not work, I would remove it and format the free space, but what does one do in Linux, such as Fedora or Ubuntu or Android?
4 years on LQ, 400 posts and you don't know how to remove software? With all due respect,

Ubuntu:

Code:
sudo apt-get get remove program
Fedora:

Code:
su -C 'yum remove program'
A google search would have given you all the answers you needed...
 
Old 09-17-2012, 12:30 PM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Xubuntu
Posts: 5,658

Rep: Reputation: 2046Reputation: 2046Reputation: 2046Reputation: 2046Reputation: 2046Reputation: 2046Reputation: 2046Reputation: 2046Reputation: 2046Reputation: 2046Reputation: 2046
Actually, the correct answers are

sudo apt-get remove program
su -c 'yum remove program'
 
Old 09-17-2012, 12:50 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870
This will, at least on the Debian based distributions, leave the system-wide configuration files (usually in /etc) intact. If you have an issue that is caused by wrong configuration it would be better to use
Code:
apt-get purge package-name
Keep in mind that the name of the program and the name of the package package don't have to be the same (prominent example: the package chromium does not contain the Chromium webbrowser).
But I wouldn't consider a re-install to be a solution for fixing programs in the first place, since you don't know what happened to the system (why is the program not working in the first place?) and if that will occur again.

The usual way I would approach a non-working program:
1. Start it from the commandline. This way you may get error-messages that you possibly will not get when you start the program from a menu or icon, like a missing or broken dependency.
2. Make a copy of the configuration and restore it to the factory settings. In many cases you will find a default configuration file in the programs directory in /usr/share or /usr/share/doc.
3. That is rarely the case, but sometimes it is really the program that is suddenly broken, may be due to a (now fixed) file-system error or a (now replaced) bad sector on the disk. So at this point I would try a re-install.
4. If that all does not help it is time for using a websearch, may be you encountered a bug that someone has already reported, may be you find someone on a forum like LQ who has had the same problem and solved it.
5. If you still have no solution now it is the time to open a new thread here.
 
  


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
best linux desktop compared to microsoft windows vaza santosh Linux - Newbie 12 01-23-2012 03:38 AM
what are the uses of linux compared to windows kambagiri Linux - Newbie 6 07-24-2011 11:27 PM
linux slow compared to windows? InsaneLampshade Linux - Newbie 11 09-17-2007 07:48 PM
How secure is Linux compared to windows? bongski55 Linux - Security 18 09-19-2005 07:23 PM
Windows Dial up is Slow... Compared to Linux. trickykid General 5 07-20-2001 07:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:24 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
Open Source Consulting | Domain Registration