I tried to install Microsoft Office on Linux with wine but it kept saying it encountered a program.
1 Answer
slightly at a tangent - what does microsoft office have that is not available in LibreOffice (file compatible) that is part of the base Ubuntu install. I appreciate there are some niche features that need MSO but have you tried LibreOffice - it reads and writes the files well.
Wine may need 32 bit libraries available to run some software - many posts on this on here
Installing from a terminal / command line may give more information on the "problem" which will allow a solution for you.