cp hello_world.bin ../../ls2
     cd ../..
 
-    pip3 install textx
-
-    # somehow pip3 install of fasm fails, so we manually install
-
-    apt-get install -y wget
-    wget https://files.pythonhosted.org/packages/78/4c/94fb3bdb87bea21406c0e5da375f0b10d7b1e4b5103cea453a2de23b5d61/fasm-0.0.2.post88.tar.gz
-    cd fasm-0.0.2.post88
-    python3 setup.py install
-    cd ..
-
-    cd soc
-
     # pip3 may install newer nmigen from repo which may cause error
     # in next step. If so you can run "python3 setup.py develop"
     # in nmigen source directory.
 
+    cd soc
     make microwatt_external_core
     cp external_core_top.v ../ls2
     cd ../ls2