Bash Profile For Mac



If you’ve installed Anaconda, the powerful manager, and now would like to uninstall it, here it is. This post will discuss how to remove Anaconda and free up space for other important files.

To do a clean uninstall of Anaconda, we will use a couple of ways.

.bashprofile file If you’re not familiar with a.bashprofilefile, this is a startup file that is read whenever you open a new Terminal window. It’s a special configuration file, and it needs to be placed in your home directory. For instance, on my MacBook Pro, this file is located as /Users/bowen.li/.bashprofile. Bash Completion Bash completion is a bash function that allows you to auto complete commands or arguments by typing partially commands or arguments, then pressing the Tab key. This will help you when writing the bash command in terminal. The.bashprofile file should be findable there. HD/Users/USERNAME Remember: Files with a point at the beginning '.' Are hidden by default. To show hidden files in Mac OS Finder: Press: Command + Shift +. If it's not existing, you have to create.bashprofile on your own. Open terminal app and switch into user folder with simple command: cd. Profile settings for bash shell on my Macbook Pro. Contribute to pmgower/Mac-Profile-Settings-bash development by creating an account on GitHub.

So, without any further delay, let’s get started.

What is Anaconda?

You probably must’ve heard about Anaconda, the giant snake, right? But trust me, the Anaconda we are talking about here comprises machine learning, data sciences, scientific computing, and artificial intelligence. All these predictive analytics are done by writing in Python, a scripting language.

Anaconda is a free and open-source distribution for Python and R programming languages. The distribution runs on Windows, Linux, macOS, and it includes data-science packages.

Well, this is what Anaconda on Mac means. Now let’s learn how to delete it from Mac.

How to uninstall Anaconda on Mac?

Anaconda can be removed from macOS in a few different ways. The easiest of all is using the best Mac uninstaller applications. But not all like to spend money on an uninstaller. So first, we will discuss how to uninstall Anaconda from Mac via Terminal.

After that, we will discuss a product called CleanMyMac X. This amazing Mac optimization tool will help uninstall Anaconda, clean all the clutter from Mac. It is one of the premium and best Mac optimization tools available in the market. Using it you can remove all leftovers, junk files, remove extensions, delete malware, and a lot more. To get this amazing product click the Download Now button.

How to remove Anaconda from Mac manually?

To uninstall Anaconda from Mac, follow the steps below:

1. Head to the Applications folder > Utilities > Activity Monitor.

2. Search for processes named “Anaconda.”

3. When you find one, select and press the Quit Process.

4. Once all processes are closed, quit Activity Monitor.

5. Now head to the Applications folder and look for Anaconda.

6. Right-click Move to Trash.

Read more: How to force quit an application on Mac

This won’t remove all the files; hence we will need to look for all the related files. Mac’s Library folder is a good place to start. For this launch, Finder > Go > Go to Folder.

Here type ~/Library > Go.

Look for a called “Receipts” and select the files listed below.

io.continuum.pkg.anaconda-client.bom

io.continuum.pkg.anaconda-client.plist

io.continuum.pkg.anaconda-navigator.bom

io.continuum.pkg.anaconda-navigator.plist

io.continuum.pkg.anaconda-project.bom

Bash

io.continuum.pkg.anaconda-project.plist

io.continuum.pkg.anaconda.bom

Bash Profile For Mac Shortcut

Io.continuum.pkg.anaconda.plist

Select them and move them to Trash.

This will help remove Anaconda along with its traces.

How to remove Anaconda via Terminal

If you don’t want to go to the Finder and search for files, there’s an easy way. For this, we will use the Terminal command. It will help uninstall Anaconda and remove its related files.

To delete Anaconda via Terminal on macOS, follow the steps below:

1. Head to Applications > Utilities > Terminal.

2. Type: conda install anaconda-clean

3. Hit Return.

Bash Profile For Mac Windows 10

4. Now, type: anaconda-clean –yes.

5. This will clean Anaconda.

6. Now type rm -rf ~/anaconda2 or rm -rf ~/anaconda3and press Return

Note: This will remove the Anaconda directory, saved in the Home folder

7. Finally, type rm -rf ~/.anaconda_backup. This will remove the backup folder created by the “Clean” command.

Reset Bash_profile

The last step to completely remove Anaconda is to remove the line in your Bash_profile. Anaconda added this.

For, this follows the steps below:

  • Head to the User folder.
  • Press Command + Shift and look for “.bash_profile.”
  • Locate the line: users/[your username]/anaconda3
  • Delete it.
  • Save the file and exit.

Using these simple and easy to use steps, you can easily remove Anaconda from macOS.

By now, you must be thinking where is the information about CleanMyMac X, right? Well, we do remember, and here is all the information you need.

To learn more about this tool, read the complete review.

Now, let’s see how it helps to optimize Mac.

How to clean and optimize Mac using CleanMyMac X

1. Download and install CleanMyMac X

2. Follow on-screen instructions to install it.

3. Now click the Uninstaller module present in the left pane.

4. Run the scan and wait for it to finish.

5. Once you have the scan result, select Anaconda to remove it.

This will remove Anaconda along with its related files from Mac.

How To Edit Bash Profile

Isn’t this simple? I know it is, and therefore we recommend this fantastic tool. CleanMyMac X is a one-click solution for Mac performance and slow speed issues. Hence, without wasting any time, give this tool a try and see how much it helps.

Share your thoughts about the tool and let us know if the fixes worked for you in uninstalling Anaconda from Mac.

Bash Profile For Mac Os

I am new to Mac and trying to figure out why my .bash_profile is not working. As I read suggestions, I try them. Here is my latest issue:
E325: ATTENTION
Found a swap file by the name '.bash_profile.swp'
owned by: Brian dated: Fri Apr 10 22:09:01 2009
file name: ~Brian/.bash_profile
modified: YES
user name: Brian host name: brian-principes-macbook.local
process ID: 655
While opening file '.bash_profile'
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ':recover' or 'vim -r .bash_profile'
to recover the changes (see ':help recovery').
If you did this already, delete the swap file '.bash_profile.swp'
to avoid this message.
Swap file '.bash_profile.swp' already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:
Any suggestions?

Bash Profile Macos

MacBook, Mac OS X (10.5.6)

Posted on