I had downloaded the source code of GNU octave and had installed it using make install
. However, the installation had some error, due to which it could not open the GUI on launching octave.
For this reason I wanted to un-install the package.
For un-installing, I opened the software center. There in installed packages list, I could see GNU octave enlisted. On clicking on remove button, nothing happens.
Hence I tried to uninstall the package from command prompt using
sudo apt-get remove octave
sudo apt-get autoremove octave
Still octave did not disappear from /usr/local/bin
folder. So, I manually deleted it using:
sudo rm -rf /usr/local/bin/octave
sudo rm -rf /usr/local/lib/octave
Now when I again go back to software center, GNU octave is still enlisted as installed software.
I want to install it again, properly. For which I want to completely remove the previous installation.
My questions are:
- What else is required to completely remove octave
- How to correctly install it so that I can use its GUI efficiently
Note: the octave version is 4.0.1 Ubuntu version - 16.04 LTS