Linux

Install xdg-utils on Ubuntu: sudo apt-get install xdg-utils

Learn how to install xdg-utils with the command sudo apt-get install xdg-utils on Ubuntus.

Quick installation of xdg-utils:

Step 1: Update system:

sudo apt-get update

Step 2: Install: xdg-utils

Ater updaing the OS run following command to install the packae:

sudo apt-get install xdg-utils

Package Details

Package:xdg-utils
Version:1.1.0~rc1-2ubuntu6
Maintainer:Ubuntu Developers
Home page:http://portland.freedesktop.org/
Description:desktop integration utilities from freedesktop.org xdg-utils contains utilities for integrating applications with the desktop environment, regardless of which desktop environment is used. They are part of freedesktop.org's Portland project. . The following utilities are included: . * xdg-desktop-menu - Install desktop menu items * xdg-desktop-icon - Install icons on the user's desktop * xdg-icon-resource - Install icon resources * xdg-mime - Gather MIME information about a file * xdg-open - Open a URL in the user's preferred application that handles the respective URL or file type * xdg-email - Open the user's preferred email client, potentially with subject and other info filled in * xdg-screensaver - Enable, disable, or suspend the screensaver * xdg-settings - get various settings (default web browser) from the desktop environment Homepage: http://portland.freedesktop.org/
Distro:Ubuntu 12.04 LTS
Release:
Repo/Section:utils

How to install xdg-utils on Ubuntu 12.04 LTS?

First of all update your system with the command:

sudo apt-get update

Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If xdg-utils is not installed on your compter then the command 'dpkg -L xdg-utils' will give followin error.




	

Installing xdg-utils:

After system update use the following command to install xdg-utils:

sudo apt-get install xdg-utils

Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.

How to uninstall/remove xdg-utils from Ubuntu 12.04 LTS?

Now we will see the commands for uninstalling the xdg-utils from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.

To remove the xdg-utils following command is used:

sudo apt-get remove  xdg-utils

Following command is used to remove the xdg-utils package along with its dependencies:

sudo apt-get remove --auto-remove xdg-utils

This will remove xdg-utils and all its dependent packages which is no longer needed in the system.

Completely removing xdg-utils with all configuration files:

Following command should be used with care as it deletes all the configuration files and data:

sudo apt-get purge xdg-utils

or you can use following command also:

sudo apt-get purge --auto-remove xdg-utils

Above command will remove all the configuration files and data associated with xdg-utils package. You can can't recover the delete data, so, use this command with care.

Get our newsletter

Categories