0

I tried to install an app written in Python using this command in terminal:

sudo make install

at the very last stage of installation, this message pops up:

[ -x /usr/bin/update-desktop-database ] && sudo update-desktop-database -q

I just want to know what it means and how to finish installation process.

kiri
  • 27,676
  • 16
  • 81
  • 117
Mehrdad
  • 3
  • 2

1 Answers1

2

The line

[ -x /usr/bin/update-desktop-database ] && sudo update-desktop-database -q

means "if /usr/bin/update-desktop-database exists and is executable then run sudo update-desktop-database -q.

The command update-desktop-database creates a database of MIME type handlers from the information found in the .desktop files in /usr/share/applications, /usr/local/share/applications and $HOME/.local/share/applications.

Most likely the installation process is finished now and you should be able to use the app.

Florian Diesch
  • 86,013
  • 17
  • 224
  • 214
  • Thanks for your helpful answer. But I still can't find the program's shortcut on my desktop. I entered the command "update-desktop-database" but nothing special happened. What should I do? – Mehrdad Jan 01 '14 at 13:40
  • 1
    Have a look at [How can I edit/create new launcher items in Unity by hand?](http://askubuntu.com/questions/13758/how-can-i-edit-create-new-launcher-items-in-unity-by-hand/) – Florian Diesch Jan 01 '14 at 13:50