How To Install shared-mime-info.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install shared-mime-info.x86_64 on Amazon Linux 2.
What is shared-mime-info.x86_64
This is the freedesktop.org shared MIME info database. Many programs and desktops use the MIME system to represent the types of files. Frequently, it is necessary to work out the correct MIME type for a file. This is generally done by examining the file’s name or contents, and looking up the correct MIME type in a database.
We can use yum to install shared-mime-info.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install shared-mime-info.x86_64.
Install shared-mime-info.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install shared-mime-info.x86_64 using yum by running the following command:
sudo yum -y install shared-mime-info.x86_64
How To Uninstall shared-mime-info.x86_64 on Amazon Linux 2
To uninstall only the shared-mime-info.x86_64 package we can use the following command:
sudo yum remove shared-mime-info.x86_64
shared-mime-info.x86_64 Package Contents on Amazon Linux 2
/usr/bin/update-mime-database
/usr/share/applications/gnome-mimeapps.list
/usr/share/applications/mimeapps.list
/usr/share/doc/shared-mime-info-1.8
/usr/share/doc/shared-mime-info-1.8/HACKING
/usr/share/doc/shared-mime-info-1.8/NEWS
/usr/share/doc/shared-mime-info-1.8/README
/usr/share/doc/shared-mime-info-1.8/shared-mime-info-spec.xml
/usr/share/licenses/shared-mime-info-1.8
/usr/share/licenses/shared-mime-info-1.8/COPYING
/usr/share/man/man1/update-mime-database.1.gz
/usr/share/mime
/usr/share/mime/packages
/usr/share/mime/packages/freedesktop.org.xml
/usr/share/pkgconfig
/usr/share/pkgconfig/shared-mime-info.pc
References
Summary
In this tutorial we learn how to install shared-mime-info.x86_64 on Amazon Linux 2 using yum.