1

My back is so sore and it hurts to sit. However, I need to do my coding assignment.

Will it be possible to install gcc/g++ on my Ubuntu Phone and compile my code on it?

I tried running sudo apt-get install g++ gcc on it, but that doesn't work...

Thanks!

1

Installing packages by apt-get is not possible because Ubuntu touch devices have a readonly filesystem by default.

It can be disabled through USB: Just enable the developer mode on your device,install the fablet-tools on your desktop and run. 'phablet-config writable-image'.

But be aware, OTA-Updates will be disabled and your device might crash, because this is not the usual way of developing applications for Ubuntu touch. You should do this just for experimental usage.

Further information can be found here underthe topic 'enablethe read-write mode: https://developer.ubuntu.com/en/start/ubuntu-for-devices/installing-ubuntu-for-devices/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.