How To Install libtrash on Fedora 36

In this tutorial we learn how to install libtrash in Fedora 36. libtrash is Libraries to move files to a trash-folder on delete

Introduction

In this tutorial we learn how to install libtrash on Fedora 36.

What is libtrash

Libtrash is the shared library which, when preloaded, implements a trash can under GNU/Linux. Through the interception of function calls which might lead to accidental data loss libtrash effectively ensures that your data remains protected from your own mistakes.

We can use yum or dnf to install libtrash on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libtrash.

Install libtrash on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libtrash using dnf by running the following command:

sudo dnf -y install libtrash

Install libtrash on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libtrash using yum by running the following command:

sudo yum -y install libtrash

How To Uninstall libtrash on Fedora 36

To uninstall only the libtrash package we can use the following command:

sudo dnf remove libtrash

libtrash Package Contents on Fedora 36

/etc/libtrash.conf
/usr/lib/.build-id
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/a0b72bbd3953b41cfaaa551ab50f62dd6d0880
/usr/lib/libtrash.so.3
/usr/lib/libtrash.so.3.5
/usr/share/doc/libtrash
/usr/share/doc/libtrash/CHANGE.LOG
/usr/share/doc/libtrash/COPYING
/usr/share/doc/libtrash/README.md
/usr/share/doc/libtrash/TODO
/usr/share/doc/libtrash/config.txt

References

Summary

In this tutorial we learn how to install libtrash on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install libtrash on Fedora 36” linkTitle: “libtrash” type: “docs” description: “In this tutorial we learn how to install libtrash in Fedora 36. libtrash is Libraries to move files to a trash-folder on delete” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libtrash-featured.png

Introduction

In this tutorial we learn how to install libtrash on Fedora 36.

What is libtrash

Libtrash is the shared library which, when preloaded, implements a trash can under GNU/Linux. Through the interception of function calls which might lead to accidental data loss libtrash effectively ensures that your data remains protected from your own mistakes.

We can use yum or dnf to install libtrash on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libtrash.

Install libtrash on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libtrash using dnf by running the following command:

sudo dnf -y install libtrash

Install libtrash on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libtrash using yum by running the following command:

sudo yum -y install libtrash

How To Uninstall libtrash on Fedora 36

To uninstall only the libtrash package we can use the following command:

sudo dnf remove libtrash

libtrash Package Contents on Fedora 36

/etc/libtrash.conf
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/fa4f573d9cda417d044a02b4003b56f070617e
/usr/lib64/libtrash.so.3
/usr/lib64/libtrash.so.3.5
/usr/share/doc/libtrash
/usr/share/doc/libtrash/CHANGE.LOG
/usr/share/doc/libtrash/COPYING
/usr/share/doc/libtrash/README.md
/usr/share/doc/libtrash/TODO
/usr/share/doc/libtrash/config.txt

References

Summary

In this tutorial we learn how to install libtrash on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).