My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Download  
Download and Install instructions
Updated Feb 7, 2010 by andrea.f...@gmail.com

Generic

The recommended way works nearly on all distributions.

Requirements:

  • python >= 2.5
  • python-setuptools >= 2.5
Steps:

   sudo easy_install trash-cli

Ubuntu and Debian

Don't use apt-get, this would install a very old version of trash-cli that contain a serious bug that could destroy your data.

I asked Debian to update theirs package but without luck.

Please, if you are interested, ask to Debian/Ubuntu to upgrade their version of trash-cli.

Use this instead:

sudo apt-get install python-setuptools
sudo easy_install trash-cli

Slackware (12.1)

Packaged by Massimo Cavalleri "submax82"/"submax".

Go to http://repository.slacky.eu/slackware-12.1/system/trash-cli/

For install/upgrade do the followings:

wget http://repository.slacky.eu/slackware-12.1/system/trash-cli/0.1.10.r55/trash-cli-0.1.10.r55-noarch-1sm.tgz
upgradepkg --install-new trash-cli-0.1.10.r55-noarch-1sm.tgz

Classic way

  • Download the tarball(.tar.gz) from the Python Index download page or from the google code download page
  • To install do the followings:
  • tar xvfz trash-cli-0.1.10.r55.tar.gz 
    cd trash-cli-0.1.10.r55
    sudo python setup.py install

Foresight Linux

sudo conary update trash-cli

Suggested by kvandine

Comment by marianne...@gmail.com, Dec 2, 2008

In the "Any other" section, the "sudo python setup.py" needs an extra argument (command). These can be found in the file "INSTALL" in the folder created by "tar xvfz". For a generic install, it should be "sudo python setup.py install", but the INSTALL file also contains instructions to install as .rpm or .deb.

Thanks for the very useful tool!

Comment by Rod.Jami...@gmail.com, Feb 2, 2010

I tried installing this using the info in the INSTALL file for Ubuntu 9.04 (creating rpm/converting rpm to deb) but although it seemed to work correctly it was completely non-functional. The good news is I tried again today using the easy_install method above and it went like clockwork and is working perfectly. Thanks so much!

Comment by navidu...@gmail.com, Apr 25, 2011

Hi all, Its my first post here,i am getting some issue while using trash-cli utility. i installed it on ubuntu using apt-get install trash-cli command.

i am facing following bugs in it. 1. restore-trash does not work , it give message that no files in trash 2. empty-trash delete only files, it does not delete directories :(

share your experience here and let me know it is bug or some thing wrong at my end.

Naveed Ahmad


Sign in to add a comment
Powered by Google Project Hosting