Friday, April 19, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 45920  / 1 Year ago, tue, april 18, 2023, 9:17:00

I want to know the version of wine I have installed.
I am using Ubuntu 12.04.
I thought in general for uninstallation without knowing version I can use this command



sudo apt-get purge wine*


but this command made my system unstable.
So now what can I do to remove wine from my system


More From » 12.04

 Answers
4

Just use sudo apt-get purge wine and then rm -rf ~/.wine. The second command will remove your configuration in your home directory, do not run that second command if you intend to re-install wine.



With apt-get you have 2 options to remove a package.



remove removes the package, but leaves the configuration files in place. purge removes the package + configuration files.



See the man page for details.




purge is identical to remove except that packages are removed and
purged (any configuration files are deleted too).




apt-get, however, leaves user files in your home directory. Files in your home directory must be manually removed. They are "dot" or .files and thus hidden.



the rm command removes the files, the -r, flag is for recursive and -f is force (do not ask for confirmation). The -r and -f flags should be used with caution as they will delete files and directories without warning.



See the man page for details.


[#28063] Wednesday, April 19, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sator

Total Points: 258
Total Questions: 119
Total Answers: 101

Location: Sweden
Member since Fri, Apr 16, 2021
3 Years ago
;