By Seppy Yppes
I want to completely remove ProFTPd and all it’s files from my droplet, how do I do so from the Ubuntu console?
I have tried sudo apt-get remove and purge, but didn’t seem to do anything.
I just need a 100% fresh installation from that package
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
If running as root, this will work. If not, add sudo before the commands.
apt-get remove --purge --auto-remove proftpd
Then you can search your droplet for the left over directories and files with these commands.
find -type d -name proftp
find -type f -name proftp
This will remove the directory and everything inside.
rm -rf /path/to/directory
Remove a single file.
rm /path/to/file
I hope this helps.
PS: Please take a snapshot first. Removing things from your droplet can be risky in some situations. If you delete the wrong directory or file, the world could come crashing down for you.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.