Uninstalling Object Mount

To remove Object Mount for Linux from a workstation, follow one of these two uninstall procedures depending on how Object Mount was originally installed.

For Scripted Installations (glibc and musl):

  1. Determine the installation root folder
  2. Remove files for either one user or all users
  3. Remove any shell customizations

For Package Manager Installations (Debian, Red Hat, Alpine):

  1. Run the appropriate package manager uninstallation command (see below).

Uninstall for: Scripted Installations

If Object Mount was installed using a Scripted Installer, follow the steps below to uninstall Object Mount.

Step 1: Determine the Installation Root

The scripted installer installs Object Mount into:

  • /opt/cuno for a system-wide installation
  • $HOME/.local/opt/cuno for a user-local installation

Locate your installation by running:

ls /opt/cuno
ls $HOME/.local/opt/cuno
ls /opt/cuno
ls $HOME/.local/opt/cuno

One of those directories should display multiple cuno-related files.

See: Installation Locations for more information on installation locations.

Step 2: Remove the Installation Directory

Delete the installation directory and all files and subfolders within it. This also removes the license (etc/license).

In addition, remove the symlinks the installer created:

For Single User/Local Uninstallation:

Remove the following additional files:

~/.local/lib/x86_64-linux-gnu/cuno.so
~/.local/bin/cuno
~/.local/lib/x86_64-linux-gnu/cuno.so
~/.local/bin/cuno

Also remove the links in ~/.local/share/bash-completion/completions/ that point into ~/.local/opt/cuno.

For System-wide/Global Uninstallation:

Remove the following additional files:

/usr/lib/cuno.so
/usr/bin/cuno
/usr/lib/cuno.so
/usr/bin/cuno

Also remove the links in the system bash-completion directory (usually /usr/share/bash-completion/completions/) and in /usr/share/zsh/vendor-completions/ that point into /opt/cuno.

Step 3: Shell Customization Removal

Remove any customizations made to shell initialization scripts such as

  • ~/.bashrc
  • ~/.profile
  • .zshrc
  • /etc/profile.d
  • etc.

Uninstall for: Package Managers

If Object Mount was installed using a Package Manager, use the commands in the following sections to uninstall Object Mount for specific Linux distributions.

The package manager does not remove the license file (/opt/cuno/etc/license), which is created after installation. To remove it, delete /opt/cuno afterwards with sudo rm -rf /opt/cuno.

Debian derivatives (e.g. Ubuntu)

sudo apt-get remove cuno\*
sudo apt-get remove cuno\*

RedHat derivatives (e.g. CentOS)

sudo yum remove cuno\*
sudo yum remove cuno\*

Alpine Linux derivatives

sudo apk del cuno
sudo apk del cuno
Previous
Technical Limitations