CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] Uninstalling Openfoam on Windows 10

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 18, 2019, 05:14
Default Uninstalling Openfoam on Windows 10
  #1
New Member
 
Join Date: Sep 2019
Posts: 1
Rep Power: 0
Spacecocoa is on a distinguished road
Hi. I recently installed OpenFoam using this installation guide: https://www.openfoam.com/download/in...windows-10.php

However, it seems that quite a few things that are different using this version than the virtualbox route, which is what my professor uses. I would like to follow the coursework as closely as possible, so I want to get rid of my current installation and redownload using virtualbox.

After searching the web on how to properly uninstall, it seems it is dependant on what method I used to install.

Is there anyone who knows what steps I should take to uninstall properly? Any help would be greatly appreciated.
Spacecocoa is offline   Reply With Quote

Old   October 9, 2019, 18:42
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer:
  1. Open the Ubuntu command line interface, that is provided via WSL (not via Virtualbox).
  2. Then run this command:
    Code:
    sudo rm -r /opt/OpenFOAM
  3. Then edit the file "~/.bashrc" and remove the last line that refers to "OpenFOAM-v1906", or simply run:
    Code:
    sed -i -e 's=.*OpenFOAM-v1906.*==' ~/.bashrc
  4. Finally, if you do not want Ubuntu via WSL installed in Windows, then right-click on its icon on the Start menu (from where you usually launch it) and choose the option to uninstall it.
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 05:40
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 06:15
Caelus: fork of OpenFOAM cnsidero OpenFOAM Announcements from Other Sources 7 November 11, 2014 22:55
Parallel run of OpenFOAM in linux and windows side by side m2montazari OpenFOAM Running, Solving & CFD 5 June 24, 2011 03:26
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56


All times are GMT -4. The time now is 08:09.