As long as Python is installed and the history file is in the standard location, it should work on any Linux distribution.