How to uninstall unused software (Imapsync & WP-CLI)?

Pieter

Verified User
Joined
Mar 27, 2016
Messages
31
On a new VPS:
AlmaLinux 10
DirectAdmin: v1.686

Running a './build versions' command I see that the following is installed by default:

Installed version of WP-CLI: 2.12.0
Installed version of Imapsync: 2.290

Not using Wordpress / IMAP, so I would like to remove it from my VPS.

The following is not working
./build set imapsync no
./build set wp no

Where can I disable / delete both?

All the best,
Pieter
 
The following is not working
Those are commands you can only use in the custombuild directory for custombuild, try like this:
Code:
da build set imapsync no
da build set wp no
then restart directadmin.

If still not gone, try this afterwards
Code:
da build update
da build list_removals
da build remove_items

That should do the trick.
 
Thanks Richard!

The commands mentioned in my first post were used in the custombuild directory, e.g.:
Code:
root@server:~# cd /usr/local/directadmin/custombuild/
root@server:/usr/local/directadmin/custombuild# ./build set imapsync no
imapsync is not a valid option.

Tried your suggested commands and it returns the same message:
Code:
root@server:~# da build set imapsync no
imapsync is not a valid option.
root@server:~# da build set wp no
wp is not a valid option.

The options.conf shows no lines containing wp or imapsync
Code:
cat /usr/local/directadmin/custombuild/options.conf

The da build command mentions them both
Code:
root@server:~# da build
Install/update server components
--------------------------------
da build awstats                                   # disabled by options.conf
da build clamav                                    # disabled by options.conf
...
da build imapsync
da build wp
 
Back
Top