I was trying to install Inkscape on my Ubuntu test PC via Terminal, but Ubuntu says that “inkscape is already the newest version”, “0 upgraded, 0 newly installed”. But I couldn’t locate the program in the ‘Applications’ nor was able to launch it from command-line by ‘inkscape’ command. It showed error as “The program ‘inkscape’ is currently not installed. You can install it by typing: sudo apt-get install inkscape”.
With in no time, I understood something is wrong my inkscape installation. It must be corrupted. The only way is to completely uninstall inkscape and reinstall it as fresh installation. I proceeded as follows and it worked!
Completely Uninstall Corrupted Inkscape
STEP 1: Launch ‘Terminal’ and run the command:
cd /etc/apt/sources.list.d/
STEP 2: Remove inkscape PPA sources using ‘rm’ command with * wild character.
sudo rm inkscape*
You have to enter root password when prompted.
STEP 3: Now purge inkscape.
sudo apt-get purge inkscape
STEP 4: Clean inkscape:
sudo apt-get clean
STEP 5: Update PPA repository sources:
sudo apt-get update
STEP 6: Finally install inkscape again.
sudo apt-get install inkscape
Enter root password and ‘y’ when prompted.
After installation is complete, you can launch Inkscape from ‘Applications’ or via Terminal with command:
inkscape
2 comments
After Step 1, I receive “No file or directory as such” error on Ubuntu 18.04. Didn’t work for me.
Thanks. Worked fine for me in Ubuntu 20.10