This script provides an easy way to install, manage, and uninstall the pyTMbot either inside a Docker container or locally on your system. It also includes support for setting up a Python virtual environment for local installations.
sudo
or root access to install necessary system packages.Running the Script
To get the latest version of the script and run it:
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/orenlab/pytmbot/refs/heads/master/tools/install.sh)"
When running the script, you will be prompted to choose one of the following options:
Python 3.12
(if necessary), sets up a virtual environment, and installs all required
dependencies.pyTMbot
from source from the GitHub officially maintained repository.All output is logged to /var/log/pytmbot_install.log
. If any issues arise, check this log for detailed information.
Unsupported OS
: If your OS is unsupported by the script, you’ll need to manually install Python 3.12.Permission Denied
: Ensure you are running the script with sudo or as root.Docker Issues
: Confirm Docker is installed and properly configured on your system, as the script does not handle
Docker installation.To completely remove pyTMbot from a local installation:
sudo ./install.sh
Then, choose option 4
for uninstallation.
To remove pyTMbot from a Docker container:
sudo docker stop pytmbot
sudo docker rm pytmbot
sudo docker rmi orenlab/pytmbot
This script is open-source and licensed under the MIT License.